dual boot 2HDs

Asked by richsheil32

Ihave to press f8 on boot up and alter HD

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
nhasian (nhasian) said :
#1

sorry can you report your question with more detail please?

Revision history for this message
richsheil32 (richsheil32) said :
#2

Ihave 2HDs XP on one Ubuntu on the other When I boot up XP loads by default. If on boot up I press F8 boot up menu appears. I select second HD black screen appears with white text which has four lines of text for ubuntu and one for XP if I just leave it it boots to ubuntu

Revision history for this message
richsheil32 (richsheil32) said :
#3

Ihave 2HDs XP on one Ubuntu on the other When I boot up XP loads by default. If on boot up I press F8 boot up menu appears. I select second HD black screen appears with white text which has four lines of text for ubuntu and one for XP if I just leave it it boots to ubuntu

Revision history for this message
Wim (launchpad-xs4all) said :
#4

Richsheil,

I assume you installed Ubuntu on the second HDisk;
the PC starts always from the MasterBootRecord of HDisk-0 (the first one), obviously that disk contains XP AND the startup-utility of XP.

If you want to change it to the "normal way", ie.
PC-on, Grub loads and lets you choose (these 4 lines) between Ubuntu, XP, etc...
then we must get the grub-loader to hd(0) in stead of on hd(1) [=the second]

First my question to you is:
? Is this what you want?
YES , then we will help you with a few commands, that will do that.

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#5

It appears that each hard drive contains the OS specific boot-loader installed to the MBR. This is actually good. I prefer this type of configuration, this allow each OS to be as independent as possible.

To get the grub menu to load by default, you will to change your boot order. Please go into you BIOS setting and select your second hdd as your primary boot device. This will give you the grub menu each time you boot.

From this menu try selecting your Windows OS. If it loads fine, you are all set.

If not, you will need to edit you Windows entry in the /boot/grub/menu.lst file. To do this, open a terminal and type

gksu gedit /boot/grub/menu.lst

Then scroll down the bottom and find you window entry. You will have to add the following ¨map¨ commands

### END DEBIAN AUTOMAGIC KERNELS LIST

title *************** Other Operating Systems ***************
root

title Window XP Professional
  rootnoverify (hd1)
  map (hd0) (hd1)
  map (hd1) (hd0)
  chainloader +1

These map commands swap the drives so that windows thinks that it is installed and the primary boot drive.

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask richsheil32 for more information if necessary.

To post a message you must log in.