Change default OS [Windows Actually] boot-up for GRUB menu
Mas kan udah nginstal linux ubuntunya neh, trus biar pas boot ga masuk ke ubuntu tapi ke windows gimana tuh?
hehehe..yup-yup, After installation of ubuntu system in dual operating system, the default of the operating system use ubuntu for boot. You can change the "default Number" on /boot/grub/menu.lst to the OS your want to boot first.
$ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst~
$ sudo nano /boot/grub/menu.lst
### BEGIN AUTOMAGIC KERNELS LIST
title Ubuntu, kernel 2.6.10-5-386 < — Number 0/default
root (hd0,4)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda5 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot#Died for security reason
#title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
#root (hd0,4)
#kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda5 ro single
#initrd /boot/initrd.img-2.6.10-5-386
#savedefault
#boot#title Ubuntu, kernel memtest86+
#root (hd0,4)
#kernel /boot/memtest86+.bin
#savedefault
#boot### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Yet Another Operating System: < — Number 1
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Window$ 2000 Professional < — Number 2
root (hd0,0)
savedefault
makeactive
So if you want to make Windows 2000 the default OS when booting change the default entry with “2″ not with the quote.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify ’saved’ instead of a number. In this case, the default entry
# is the entry saved with the command ’savedefault’.
# WARNING: If you are using dmraid do not change this entry to ’saved’ or your
# array will desync and will not let you boot your system.
default 0
“Change 0 to 2″
it says permission denied when i tried to save it
this only for root only or group admin (sudo), $ sudo vi /boot/grub/menu.lst
esc+shift+:+x!