How to edit grub.conf
I'm currently running WinXP and RH9 (kernel 2.4.20-8). Since i'm using linux more often than XP, how do I modify grub.conf (if I'm not mistaken of course) to make linux the default OS to load?
here is my grub.conf file : # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,6) # kernel /boot/vmlinuz-version ro root=/dev/hda7 # initrd /boot/initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,6)/boot/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8) root (hd0,6) kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi initrd /boot/initrd-2.4.20-8.img title XP rootnoverify (hd0,0) chainloader +1 Cheers!! |
Change the default=1 line to say default=0.
|
just go in there and start editing. if this does not work try a fresh install..........problem solved!
|
Heh... well see, the beauty of grub is even if you screw up the configuration file (though I am 100% possitive changed default=1 to default=0 is what you want... for the record) you can still boot your system by passing in commands manually through grubs command line on boot. So you should never need to reinstall if grub is on your mbr and there is a semi-working linux system on a partition somewhere.
|
I did change default=0 and it's working fine, thanx jtshaw.
|
All times are GMT -5. The time now is 10:45 AM. |