LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2006, 06:01 AM   #1
raq1025
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
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?
 
Old 09-19-2006, 06:50 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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..
 
Old 09-19-2006, 10:08 PM   #3
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

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

Last edited by sn68; 09-19-2006 at 10:10 PM.
 
Old 09-19-2006, 11:41 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,540

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
What distro ???.
 
Old 09-28-2006, 06:40 AM   #5
raq1025
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
need grub menu.lst example pk108 Mandriva 4 12-11-2004 06:45 PM
Grub, can someone posts their Menu.lst please webwolf70 cAos 6 10-21-2004 12:37 AM
grub.conf vs menu.lst linmix Linux - Software 2 08-26-2004 03:17 PM
grub.conf is menu.lst??? zombyLINUX Linux - General 4 03-31-2004 08:12 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration