changing order in grub2
i have ubuntu 10.04(lucid)
I tried
(1)
(2)
Still the default entry that boots is not windows xp !!!

Finally I copied 30_os-prober to 07_custom in same folder (/etc/grub.d) & made 30_os-prober non executable followed by 'sudo update-grub' to have xp as default boot.
Code:
grub-install -v grub-install (GNU GRUB 1.98-1ubuntu5)
(1)
Code:
cat /etc/default/grub # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. GRUB_DEFAULT=4#Did not help ? #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" sudo update-grub
Code:
[color=red]grep menuentry /boot/grub/grub.cfg[color] menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { menuentry "Memory test (memtest86+)" { menuentry "Memory test (memtest86+, serial console 115200)" { menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" { sudo grub-set-default 4;sudo update-grub

Finally I copied 30_os-prober to 07_custom in same folder (/etc/grub.d) & made 30_os-prober non executable followed by 'sudo update-grub' to have xp as default boot.
Total Comments 1
Comments
-
Now I have debian 6.0.2 in which I played with file "30_otheros"
Posted 11-26-2011 at 08:16 AM by sumeet inani