June 26, 2007

Editing a Red Hat Fedora Boot Manager?

How can I edit the boot manager for Red Hat Linux so that "DOS" is the default boot instead of Linux? I have Windows XP installed, and is working well. I would rather use Linux, but until I get the bugs worked out of my system I would like to change the boot default at the manager to "DOS" (which loads Windows).

  1. Can I get some help?
  2. experience
  3. open the file /etc/grub.conf . This is the file where the boot records are stored for grub.
    if say "dos" is the label for windows then the file will lokk like this , when the linux is your default OS to boot

    ##/etc/grub.conf
    # 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,2)
    # kernel /boot/vmlinuz-version ro root=/dev/hda3
    # initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=10
    splashimage=(hd0,2)/boot/grub/…
    title Red Hat Linux (2.4.20-8)
    root (hd0,2)
    kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
    initrd /boot/initrd-2.4.20-8.img
    title dos
    rootnoverify (hd0,0)
    chainloader +1

    ##
    study the file . Look at the line default = 0.
    now in the editor , change the line as
    default = 1
    now the file will look like

    ##/etc/grub.conf
    # 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,2)
    # kernel /boot/vmlinuz-version ro root=/dev/hda3
    # initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=1
    timeout=10
    splashimage=(hd0,2)/boot/grub/…
    title Red Hat Linux (2.4.20-8)
    root (hd0,2)
    kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
    initrd /boot/initrd-2.4.20-8.img
    title dos
    rootnoverify (hd0,0)
    chainloader +1
    ###

    now you reboot your system , your windows will be your default OS to start

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,