Red HatThis forum is for the discussion of Red Hat Linux.
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.
Originally posted by Mal495 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?
And, you are using which bootloader?
How about a hint?...maybe even a copy of your bootloader configuration.
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
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
# boot=/dev/hda
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title WinXP
rootnoverify (hd0,0)
chainloader +1
makeactive
boot
title Red Hat Linux (2.6.0-test11)
root (hd0,2)
kernel /vmlinuz-2.6.0-test11 ro root=/dev/hda6 idebus=66 resume=/dev/hda5
initrd /initrd-2.6.0-test11.img
title Red Hat Linux (2.4.20-27.9)
root (hd0,2)
kernel /vmlinuz-2.4.20-27.9 ro root=/dev/hda6 idebus=66
initrd /initrd-2.4.20-27.9.img
Last edited by DavidPhillips; 12-25-2003 at 02:06 AM.
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
Last edited by DavidPhillips; 12-25-2003 at 11:27 PM.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.