Edit Grub
This is a discussion about Edit Grub in the Everything Linux category; 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.
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
Thankyou
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Sep 18
Sep 22
0
1 minute
Responses to this topic
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.
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.