LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 06-15-2008, 03:45 PM   #1
sandeepreddy.d
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, 04:04 PM   #2
judecn
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!
 
  


Reply

Tags
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 05:45 PM
No boot options; no floppies; trying to boot from USB nobuo3317 Linux - Laptop and Netbook 8 09-12-2006 03:54 PM
Boot Options ubuntuuser Linux - Newbie 11 02-27-2006 06:05 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
boot options catscan Linux - Software 3 09-22-2003 05:07 PM


All times are GMT -5. The time now is 06:07 PM.

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