I am new to LINUX, I have installed linux RedHat 9 with windowsME, now want to edit GRUB, and change the booting sequence to 1st to DOS and 2nd to LINUX.
Thankyou
Page 1 of 1
Edit Grub
#2
Posted 18 September 2004 - 05:16 PM
If you are brand new to Linux, I would leave it alone for now, until you get comfortable with using the editors and command line stuff. But, if you must, you can edit the /boot/grub/menu.lst file and change the default option from 0 to 1.
So, you probably see something like;
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-0.12)
root (hd0,0)
kernel /vmlinuz-2.4.18-0.12 ro root=/dev/hda3
initrd /initrd-2.4.18-0.12.img
Change the default= option to 1. The numbers start with 0 (or should), which means boot the first title entry.
You should have another entry, the second, assuming that you are just booting Windows and RedHat, like;
title DOS....this is the second entry.
Save the file and exit your editor.
So, you probably see something like;
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-0.12)
root (hd0,0)
kernel /vmlinuz-2.4.18-0.12 ro root=/dev/hda3
initrd /initrd-2.4.18-0.12.img
Change the default= option to 1. The numbers start with 0 (or should), which means boot the first title entry.
You should have another entry, the second, assuming that you are just booting Windows and RedHat, like;
title DOS....this is the second entry.
Save the file and exit your editor.
#3
Posted 22 September 2004 - 04:26 AM
From Gentoo handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10
This is a really nice intro to grub.
If you want to edit your grub file, make sure to check out /etc/fstab and make sure that when your boot partition is loaded that it does not have "noauto" as an option or you will not be able to view that partition.
This is a really nice intro to grub.
If you want to edit your grub file, make sure to check out /etc/fstab and make sure that when your boot partition is loaded that it does not have "noauto" as an option or you will not be able to view that partition.
Share this topic:
Page 1 of 1

Help










