bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WinXP and Linux Multiboot


From: Jan Drugowitsch
Subject: WinXP and Linux Multiboot
Date: Sun, 20 Oct 2002 11:59:45 +0000
User-agent: KMail/1.4.5

Hi!

I'm using a setup as follows:

New Linux hd (scsi)
/dev/sda1  /boot  ext3 8.23mb
/dev/sda2  swap  swap 526.42mb
/dev/sda3  /        ext3 10487.24mb
/dev/sda4  /home ext3 62380.53mb

Windows XP hd (ide0)
/dev/hda1 WindowsXP for VMWare fat32 3002.23mb
/dev/hda2 WindowsXP standalone fat32 3002.23mb
/dev/hda3 Program Files & My Documents for both WinXP 9360.37

Old Linux hd (ide1)
/dev/hdc1  /boot  ext3 8.23mb
/dev/hdc2  swap  swap 509.97mb
/dev/hdc3  /        ext3 19888.73mb

hda1 is used for a raw disk in VMWare using Linux as a host and Windows XP Pro 
as the guest os. hda2 is used for Windows XP Pro standalone which was 
installed with IDE before SCSI (hda = 0x80, hdc = 0x81, sda = 0x82), in 
contrast to my usual SCSI before IDE setting (sda = 0x80, hda = 0x81, hdc = 
0x82).

The plan is to use GRUB to boot both Linux partitions (works already) and the 
standalone WindowsXP (doesn't work) by mapping the IDE's first. I can boot 
into Windows XP by changing my BIOS settings to IDE before SCSI (hda MBR is 
used by the Windows bootmenu) but shouldn't it also be possible with GRUB?

Right now I've already tried the following configurations:
(device.map is set correctly to (hd0) -> /dev/sda, ..., GRUB is in the sda 
MBR)

[ some general and linux settings ]

# Windows XP
title Windows XP

# Mapping's the same for each of the trials, should reverse IDE <-> SCSI
map (hd0) (hd1)
map (hd1) (hd2)
map (hd2) (hd0)

# WindowsXP using MBR of hda
root (hd1)
makeactive
chainloader +1
-> Gives a 'Missing operating system' and then ... nothing

# WindowsXP booting directly hda2
root (hd1,1)
makeactive
chainloader +1
-> Does nothing at all, just hangs the PC

# WindowsXP using an image-file of the MBR
root (hd1,0)
makeactive
chainloader /bootsek.win
-> Gives the same error as with 'root (hd0)': 'Missing operating system'

Any ideas how I could make this work? Although I can always change the 
IDE<->SCSI BIOS settings, there should be (hopefully) a better alternative. I 
would appreciate any help.

Cheers, Jan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]