You are not logged in.

#1 2007-04-05 08:52:03

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Grub Error 21: Selected disk does not exist - with Jmicron on ASUS P5W

I have an ASUS P5W DH Deluxe motherboard from ASUS with the famous Jmicron controller, and I have some problems booting into Windows in Grub.

This is my connector setup

SATA1 Western Digital Raptor 36GB
SATA2 -
SATA3 - 
SATA4 -

PRI_EIDE (Jmicron) Seagate 200GB
PRI_IDE Lite-On DVD-RW

Western Digital Raptor 36GB = Linux
Seagate 200GB = Windows XP

My bios is set to configure IDE to SATA and NOT AHCI (I do not have a floppy to install AHCI drivers when installing Windows)
.. So in Windows Seagate 200GB is seen as a SCSI disk.


NOTE: I have preserved the NTLDR bootloader on the Seagate 200GB and I need to switch the harddrives priority in the BIOS so the Western Digital Raptor 36GB is the first drive to boot to load Grub.


The problem is that when I try to boot Windows XP in Grub I get an error that the selected disk does not exist.
On Linux the disks are detected as:

sda = linux (sata) (hd0,0)
hdf = windows xp (ide) A partially logical mapping for the ide-disk, hdf, might be (hd5,0) but I only think Grub goes up to hdd.

I get this error with Grub, so it might be some reconfiguring of BIOS, connector-setup, or something else.

Booting Windows XP

rootnoverify (hd5,0)
makeactive
chainloader +1

Error: 21: Selected disk does not exist

Press any key to continue ...

The question is.. How?

The easiest solution would be to throw my ASUS P5W to hell! This was a good buy, half of new price with warranty, but still I've heard of people doing just fine with Jmicron and many good reputated mainboard come with that controller, although it's not that kind to Linux.

Offline

#2 2007-04-05 12:05:51

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Grub Error 21: Selected disk does not exist - with Jmicron on ASUS P5W

I'm not sure, but i think that grub counts disks, not controlers.

Have you tried

rootnoverify (hd1,0)

?


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-04-05 13:06:07

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: Grub Error 21: Selected disk does not exist - with Jmicron on ASUS P5W

I've found out something now .. With help from my dear friend julemand101 ..

In commandline issuing "boot (" and pressing tab shows that hd0, and hd1 are the available disks, so the only opportunity is:

rootnoverify (hd1,0)
makeactive
chainloader +1

But it hangs/freezes with the paragraph _ sign blinking.

NOTE: NTLDR is still on the Windows XP IDE disk, can this give any problems? I have Grub installed on the same partition as the ArchLinux system that means / .. There are only 2 partitions on the Linux disk, the root and the swap.

Last edited by dezza (2007-04-06 21:09:52)

Offline

#4 2007-04-07 20:51:14

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: Grub Error 21: Selected disk does not exist - with Jmicron on ASUS P5W

The solutions is these two lines above the chainloader command, this will make Windows think that it is the first disk and not the second, cause Windows likes monopol as much as Microsoft does!

map (hd0) (hd1)
map (hd1) (hd0)

This is what your final command-list in grub should look like:

rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

Offline

#5 2007-04-07 21:31:59

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Grub Error 21: Selected disk does not exist - with Jmicron on ASUS P5W

in my box i have a
sata raptor 74gb = dev/sda =arch
40gb ide = /dev/hdc = ms
both have theyre own boot loader
default is arch=sata if i want to boot ide i press boot option button(F8) during post & my bios asks me what to boot from
floppy
cd 1
cd 2
ide drive
zip
sata
usb
network
maybe you have boot option button ?

Offline

Board footer

Powered by FluxBB