LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing GRUB menu.lst dosn't work (https://www.linuxquestions.org/questions/linux-newbie-8/changing-grub-menu-lst-dosnt-work-484917/)

raq1025 09-19-2006 06:01 AM

Changing GRUB menu.lst dosn't work
 
I've searched and read numerous posts on modifying your boot sequence, but I still have a problem. I believe I've done this right but I must be missing something.
My current menu.lst looks like this:

[root@localhost raq1025]# cat /boot/grub/menu.lst
timeout 20
color black/cyan yellow/cyan
default 3

title linux
kernel (hd0,4)/boot/vmlinuz root=/dev/hde5 acpi=ht resume=/dev/hde6 splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz root=/dev/hde5 acpi=ht resume=/dev/hde6
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hde5 failsafe acpi=ht resume=/dev/hde6
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
chainloader +1
[root@localhost raq1025]#

I've also moved "windows" to the top and had the default as 0. Linux still defaults. What am I missing?

b0uncer 09-19-2006 06:50 AM

Looks good to me, but I'm using LILO at the moment so I am unable to compare that to my own config. I can say, though, that if the default value is crazy (like if you had 4 choices and set default to 5), it surely defaults to the first one on the list, and if you leve the whole default option off, it defaults to the first (topmost) entry.

You can still boot every option of those, right? If that's the case, try moving Windows to the top of the list and then comment out the "default" entry, see if it helps. I'm pretty sure the first item is "default 0", second is "default 1" etc. but still I'm not 100% sure..

sn68 09-19-2006 10:08 PM

Put default=3 in /etc/grub.conf if you want the default OS as windows which is fourth in the list

syg00 09-19-2006 11:41 PM

What distro ???.

raq1025 09-28-2006 06:40 AM

I'm using Mandrake 10.1 (I belive.) I told you I was a newbie. I found out what was wrong. When I did my install I'm sure I chose to use Grub. It turns out LILO was handling the boot. So I was modifying the wrong config. Since I didn't know what either one looked like, I couldn't tell. Thanks for everyone's help.


All times are GMT -5. The time now is 01:51 PM.