Page 2 of 2
Re: 2nd Hard drive on XP guest
Posted: 22. Aug 2013, 18:34
by thecensor
ok, thanks
Re: 2nd Hard drive on XP guest
Posted: 23. Aug 2013, 00:02
by Perryg
Just to add to this and see if there really is an issue. I tried to reproduce this issue and I can't. I have sata drivers installed and it works when adding a second drive (WinXPproSp2). I then removed the drives and built them against IDE and it still worked. Don, do you think this might just be a Windows host issue?
Re: 2nd Hard drive on XP guest
Posted: 23. Aug 2013, 05:10
by thecensor
Re: 2nd Hard drive on XP guest
Posted: 23. Aug 2013, 09:28
by mpack
Perryg wrote:Don, do you think this might just be a Windows host issue?
I don't see how. I don't see how the host would influence the IDE emulation. So far I've been unable to repeat test 1, though I'm certain I did it right, and the same as tests 2 and 3. I'd say park it until more evidence comes along.
Re: 2nd Hard drive on XP guest
Posted: 13. Sep 2015, 18:20
by alpianon
To solve the problem, one has to manually create partition table on the host system.
On a ubuntu host system I did it in this way:
(shut down the guest system and open a terminal in the host system)
Code: Select all
sudo rmmod nbd
sudo modprobe nbd max_part=16
sudo qemu-nbd -c /dev/nbd0 "/complete/path/to/disk/image/xxxxxxx.vdi"
sudo gparted /dev/nbd0
with gparted you can create an msdos partition table and, if you wish, the partitions you need.
Then close gparted, and
Done. Now start your winXP guest system and you will see the new drive.
Cheers!
Re: 2nd Hard drive on XP guest
Posted: 13. Sep 2015, 23:29
by mpack
Dubious. What role do you think the partition table of drive 1 plays in the recognition of drive 2, given an XP guest? Or are you referring to drive 2 and saying that you have to partition and format a disk before Windows will recognize that it's there? either one is is not the case. My physical PCs always have a second drive, so I've gone through the 2nd drive install procedure several times... and I assure you that I've never needed to mount the drive first in a Linux host in order to run GParted on it.
Re: 2nd Hard drive on XP guest
Posted: 14. Sep 2015, 01:27
by loukingjr
I take it this issue only applied to XP SP2. I had no problem adding a second drive on the IDE controller with XP SP3.
Re: 2nd Hard drive on XP guest
Posted: 14. Sep 2015, 11:15
by mpack
A minor blip from two years ago - never repeated. I didn't even remember it. Normally, all you have to do to recognize a new (uninitialized) drive in XP is to open the disk management applet in My Computer | Manage. As it opens XP detects the new drive and asks if you want to format it it. You do. Done.
I suppose if one didn't know about the disk management tool and only knew that the drive wasn't appearing in explorer, then partitioning and formatting the drive externally would seem like it fixed something. I don't think that partitioning alone would do that.
Re: 2nd Hard drive on XP guest
Posted: 14. Sep 2015, 12:20
by loukingjr
The disk management tool was all I used.
Re: 2nd Hard drive on XP guest
Posted: 8. Nov 2015, 18:23
by qwertyfish01
For me it detected the drive, but when I go to My Computer , under "Disk drives" it only says my C: drive, which is 5GB. The second hard drive is 10GB.
I then went into Device Manager, and it was listed in Disk Drives. I selected "Properties", and Device Usage was greyed out. Usually it would say "Use this device (Enable)", or "Do not use this device (Disable)", but just nothing was there, it was blank. I clicked on it and nothing happens.
What's wrong?
Re: 2nd Hard drive on XP guest
Posted: 8. Nov 2015, 22:32
by mpack
Disk Manager. Not Device Manager.
Start|Run|DiskMgmt.msc