Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
I'm running Mandrake 9 on an Omnibook 6000 with Grub as the boot manager. I've used RedHat 8 before and was able to edit my boot options in the grub.conf file in the /etc directory. There is no grub.conf file to edit on my Mandrake system. How do you edit the grub boot options that show up at boot time ? preferable non-gui but anyway will do....
I found the file menu.lst. It resembles the grub.conf file in RedHat. I made the changes to the file that I wanted, timeout and default, saved the changes and rebooted, but the changes don't show up at boot time. There must be more to it than just editing this file.....
Before modifying the menu.lst file, my grub screen at boot up shows the following choices:
linux
failsafe
NT
floppy
linux is the default and the timeout is counting down from 10 seconds:
After modifying the menu.lst file as shown below, the grub screen at boot up shows the same thing:
linux
failsafe
NT
floppy
linux is the default and the timeout is counting down from 10 seconds again.
The only things I modified was the linux and NT titles, and the number of seconds till timeout.....
-----------------------------------------
Output of /boot/grub/menu.lst before modification:
*************************
timeout 10
color black/cyan yellow/cyan
i18n (hd0,4)/boot/grub/messages
keytable (hd0,4)/boot/us.klt
altconfigfile (hd0,4)/boot/grub/menu.once
default 0
title linux
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount
initrd (hd0,4)/boot/initrd.img
title failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 failsafe devfs=nomount
initrd (hd0,4)/boot/initrd.img
title NT
root (hd0,1)
makeactive
chainloader +1
title floppy
root (fd0)
chainloader +1
----------------------------------------
Output of /boot/grub/menu.lst after modification:
*********
timeout 20
color black/cyan yellow/cyan
i18n (hd0,4)/boot/grub/messages
keytable (hd0,4)/boot/us.klt
altconfigfile (hd0,4)/boot/grub/menu.once
default 0
title Mandrake
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount
initrd (hd0,4)/boot/initrd.img
title failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 failsafe devfs=nomount
initrd (hd0,4)/boot/initrd.img
title Windows2000
root (hd0,1)
makeactive
chainloader +1
title floppy
root (fd0)
chainloader +1
--------------------------------------------
Output of fdisk -l /dev/hda:
*********
Disk /dev/hda: 240 heads, 63 sectors, 2584 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2 15088+ 12 Compaq diagnostics
/dev/hda2 3 1390 10493280 7 HPFS/NTFS
/dev/hda3 1391 2584 9026640 5 Extended
/dev/hda5 1391 2104 5397808+ 83 Linux
/dev/hda6 2105 2137 249448+ 82 Linux swap
/dev/hda7 2138 2584 3379288+ 83 Linux
My apologies Q Bert - i just THOUGHT I was using Grub, actually it's Lilo. I edited my lilo.conf, ran lilo then robooted and my changes had been made. Thanks for the information regarding the menu.lst file for grub though. I hate making these kind of mistakes but I guess I'm not the first one.......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.