[rant]First off, my children are spoiled and don't want to use Linux on the computer I put together for them. [/rant]
I need to edit my grub configuration so that Windows 7 is the default boot client. Here is my current list:
According to https://help.ubuntu.com/community/Grub2, I need to issue this to set the default boot option:
So on to my questions. If I use the number and there is a new kernel, setting my default as 9 (winders), and then adding another kernel, would the default be able to handle the shift? New kernel makes menu item 9 move to menu item 11. Or, could I just use grub-set-default "Windows 7 (loader) (on /dev/sda1)" instead locking it into the name?
I don't think that this is that hard. I'm probably just making it hard than it is, which is normal for me.
I need to edit my grub configuration so that Windows 7 is the default boot client. Here is my current list:
Code:
root@dpich-M70:/home/dpich# grep menuentry /boot/grub/grub.cfg menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.35-24-generic' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.35-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os { menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { menuentry "Memory test (memtest86+)" { menuentry "Memory test (memtest86+, serial console 115200)" { menuentry "Windows 7 (loader) (on /dev/sda1)" { root@dpich-M70:/home/dpich#
Code:
sudo grub-set-default 3 or sudo grub-set-default "Ubuntu, Linux 2.6.32-15-generic"
I don't think that this is that hard. I'm probably just making it hard than it is, which is normal for me.
Comment