LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-05-2009, 05:39 AM   #1
dgladst
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
booting up windows which is on a separate hard disk


My machine has two Hard Disc Drives identified by Ubuntu (v9.04) as SDA & SDB and Windows is on SDA. I installed Ububtu on the SDB drive in order to try it out. All my software however is still under the Windows environment.

The bios is set to attempt firstly to boot from SDA which has Windows. However the machine boots up in Ubuntu. If I interrupt the machine boot although it displays me a choice of operating system I am unable to select any of the options.

If the SDB drive (the one with Ubuntu) is removed the machine stops thru' the boot sequence showing the message:
Grub loading please wait
error 21

(My www searches suggest that this is because the Master Boot Record on the SDA drive points to Ubuntu).

How please can I "adjust" my system so that I can use Windows?

Thank you,
Dave

Apologies as this is my first post. I have searched current posts and though there are many similar (where "grub" was mentioned but NOT understood!) I was unable to find one which appeared to address my exact problem)

Last edited by dgladst; 09-05-2009 at 06:06 AM.
 
Old 09-05-2009, 08:03 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Quote:
Originally Posted by dgladst View Post
If I interrupt the machine boot although it displays me a choice of operating system I am unable to select any of the options.
Can you explain (in detail) what you mean by this - exactly ?. How do you interrupt, what choices do you get, what do you choose ... ?.

Also, from a Ubuntu terminal, run these commands and post (all) the output
Code:
sudo fdisk -l   you'll need to enter your password
grep -vE "(^#|^\s*$)" /boot/grub/menu.lst
 
Old 09-05-2009, 08:22 AM   #3
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Turn on the computer with Windows XP cd in, after loading windows setup it lets you choose fresh install or repair, select 'repair with recovery console'(something like that). A console will come select your os and in the command prompt type: 'fixmbr'(ofcourse without quotes).

This will repair your MBR and you'll be able to boot windows.

Do this without your sdb connected

Last edited by j_jerry; 09-05-2009 at 08:25 AM.
 
Old 09-05-2009, 09:52 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,
Quote:
Originally Posted by j_jerry View Post
Turn on the computer with Windows XP cd in, after loading windows setup it lets you choose fresh install or repair, select 'repair with recovery console'(something like that). A console will come select your os and in the command prompt type: 'fixmbr'(ofcourse without quotes).

This will repair your MBR and you'll be able to boot windows.

Do this without your sdb connected
This would restore the M$ bootloader. The Op should either correct the current bootloader or re-install the bootloader to the proper boot device with a good menu.lst if 'Grub' is being used.
 
  


Reply


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
Problems dual booting with Ubuntu and windows xp using two separate hard drives Iceman99one Linux - General 3 08-19-2008 08:52 PM
An OS on a separate hard-disk. anjanesh Fedora 1 10-21-2007 07:01 AM
How to install Windows in a separate Hard Disk? arindom Linux - Hardware 14 03-29-2007 10:02 AM
Dual Booting, 2 separate hard drives Jotun Linux - Newbie 6 04-30-2004 01:18 PM
Booting from a Separate Hard Drive sneakers Linux - Laptop and Netbook 7 10-29-2003 01:13 PM


All times are GMT -5. The time now is 12:18 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration