How can I edit Red Hats boot menue.
I have a Dell with winXP and RH linux. Currently it boots into RH by default.
How do I edit the boot menu to make WinXP the default? Rob |
Re: How can I edit Red Hats boot menue.
Quote:
How about a hint?...maybe even a copy of your bootloader configuration. |
i ould have to say red hats default bootloader which i think is linux.config.....
Im in windows XP right now. I'll boot into RH and check. |
lilo.conf....
prompt timeout=50 default=linux boot=/dev/hda map=/boot/map install=/boot/boot.b message=/boot/message lba32 image=/boot/vmlinuz-2.4.20-8 label=linux initrd=/boot/initrd-2.4.20-8.img read-only append="hdd=ide-scsi root=LABEL=/" other=/dev/hda2 optional label=DOS How should the above look to make my default OS? -Rob |
edit file /etc/grub
move the title Windows section to the top and remove the default line or change the default line to point to the number in the list starting at 0 Code:
# grub.conf generated by anaconda |
Not only did it not work, now I cant boot the computer at all.
Is there any where I can get a RH boot disk to boot into RH and replace the grub.conf file with the old one that I saved on the RH desktop? |
What did you change?
Changing the order of the titles should not be a problem, unless you completely replaced your file with one from another machine which would explain it. boot into it with your boot floppy and copy the file back. Or you can boot the first install cd and run linux rescue, your partitions will be mounted so you can replace it. run the mount command to see what's mounted where after boot |
ok, help another one out
ok, I go in and cd /etc and can ls the grub.conf but what do I use to open it?? open, edit, and read wont work..... once I'm in etc directory I type in edit /grub.conf and nothing I type in open grub.conf and nothing and yes I'm leaving a space in beteween the two words.
Also if I use the display /grub.conf it wont pull up. pulls up an Image MAgick but when I go to open the exact file- it crashes back down to the terminal window. |
try this..
vi grub.conf |
Have you tried a GUI text editor? Much easier if you are a newbie like me.
:-) |
All times are GMT -5. The time now is 07:17 PM. |