Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-15-2008, 04:45 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Lightbulb boot options

hi friends

iam useing dual os xp and redhat5. First winxp then redhat5 iam installed. but ihave some problems in `C`drive so i format onely `C`drive and agin install winxp then I loss my boot options . how i will goto redhat5? plz slove this problem
Old 06-15-2008, 05:04 PM   #2
LQ Newbie
Registered: Jul 2007
Distribution: Debian, Angstrom, Familiar, OpenZaurus
Posts: 24

Rep: Reputation: 15
Windows XP likely overwrote the Master Boot Record on your hard drive, so you're currently stuck with the Windows bootloader (which does not recognize Linux). You will need to get a LiveCD and re-install RedHat's bootloader (GRUB).

Once your system has booted off of the LiveCD, open a root shell, mount the RedHat partition somewhere, copy the RedHat partition's /boot directory to the LiveCD's /boot directory (e.g. to ensure that the /boot/grub/menu.lst file is in the correct place), and then use grub-install to overwrite the Windows XP bootloader on your hard drive. Be careful to specify the GRUB configuration on the RedHat partition, and be sure to specify the correct disk on which to install the bootloader (the corresponding /dev file will NOT have a number after it).

For example: grub-install --root-directory=/path/to/RedHat/root/directory /dev/sda

Best of luck!


grub, multiboot

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
No boot options; no floppies; trying to boot from USB nobuo3317 Linux - Laptop and Netbook 8 09-12-2006 04:54 PM
Boot Options ubuntuuser Linux - Newbie 11 02-27-2006 07:05 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-13-2004 12:40 AM
boot options catscan Linux - Software 3 09-22-2003 06:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration