LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2010, 04:53 AM   #1
hassandit
LQ Newbie
 
Registered: Jun 2008
Posts: 23

Rep: Reputation: 0
Question Dual boot problme


Hello, I need some help I m using 1 IDE drive in which I have installed windows and other drive sata (using via sata to usb connector) in which I installed Centos. The main problem is I can’t remember the commands, I wanted to do, when I m not using my usb drive (in which Centos is installed) then my system boot up windows form IDE drive. Current when I unplugged Sata (Usb connector) then OS give me error (GRUB HARD DRIVE ERROR).

I know there will be a command that enable windows partition as a first boot loader. But I need ur help in this issue. Hope fully u may understand my problem.

I am w8ing 4 ur favorable reply


Thanks

M.Hassan Zaidi
 
Old 08-28-2010, 05:54 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, first solution : unplug the SATA drive, boot the windows rescue CD, and run fixmbr (removes GRUB from the IDE drive's mbr). then install GRUB on the SATA drive, and switch your boot device at the BIOS level (boot from USB).
Second, you could leave GRUB on the IDE drive, but then you'd need to have all the necessary files on it, preferrably on an ext2 partition. Personnaly I'd do the first.

Serafean
 
Old 08-28-2010, 03:02 PM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
http://www.linuxquestions.org/questi....php?p=4080801

Please follow the guidelines, OP, provided by this post if you want any help here.
 
Old 08-31-2010, 06:15 AM   #4
hassandit
LQ Newbie
 
Registered: Jun 2008
Posts: 23

Original Poster
Rep: Reputation: 0
Hello, thanks for your reply. I read it carefully and decide not write text like in sms format.But you can't say that i was not trying to find out the solution.After 1 month of trying when i was not still find any solution, I post my problem to you.And this is urget because device (SATA to USB) is my friend he want his device back.If Linux grub boot loader is still in front then I will never give him back.I simply want commands that enable my windows boot partition first.

HDC drive have windows (IDE) and
SDA drive have Centos 5 (SATA drive connected through usb to sata device)


Please help me out in this manner.

thanks.
 
Old 08-31-2010, 08:44 AM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
As stated before you have to restore windows bootloader on the IDE drive .
To do so boot from you're windows install media into the rescue mode and run the commands fixmbr and fixboot .
This two commands will restore the windows bootloader
And if you also wish to make the USB hd boot able you have to install GRUB on the USB HD using you're linux install media
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
silly but bothers me problme endone17 Linux - Newbie 1 06-05-2007 09:22 AM
problme using the make command MrSako Linux - Newbie 2 07-22-2006 11:54 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
wine problme when installing IE6 citrus Linux - Newbie 17 08-01-2004 11:42 AM
rpm problme Robin01 Linux - Newbie 2 05-19-2004 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration