Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Good afternoon. I am trying to find the best and correct way to change the Windows Vista selection from the bottom of the selection menu at the system boot screen to the top. Also, I am looking to find out if it is possible to remove the rest of the selections other then the Ubuntu 8.10 choice without corrupting the system. Thanks in advance, and have a Merry Christmas and a safe and happy New Years holiday.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
the file you are looking for is /boot/grub/grub.cfg or /boot/grub/menu.cfg(lst?), must be edited as root
though it would probably be easier to change this line
Code:
set default="0"
to the one you want as opposed to moving them, but simply moving the menuentry section eg:
Code:
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d43e0044-5a1d-4f17-abc3-c6fd77b20dd7
echo 'Loading Linux 2.6.32-27-generic ...'
linux /vmlinuz-2.6.32-27-generic root=UUID=44169a1f-a1aa-476a-9837-48ccb9853381 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-27-generic
}
though the one for windows would be smaller
to the top should also work
just be careful to copy everything including the brackets
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390
Rep:
Quote:
Originally Posted by frieza
the file you are looking for is /boot/grub/grub.cfg or /boot/grub/menu.cfg(lst?), must be edited as root
though it would probably be easier to change this line
Code:
set default="0"
to the one you want as opposed to moving them, but simply moving the menuentry section eg:
Code:
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d43e0044-5a1d-4f17-abc3-c6fd77b20dd7
echo 'Loading Linux 2.6.32-27-generic ...'
linux /vmlinuz-2.6.32-27-generic root=UUID=44169a1f-a1aa-476a-9837-48ccb9853381 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-27-generic
}
though the one for windows would be smaller
to the top should also work
just be careful to copy everything including the brackets
you are right for grub 1 it is /boot/grub/menu.lst
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.