Drive Letter Order

Discussions about using Windows guests in VirtualBox.
Post Reply
bhzendner
Posts: 4
Joined: 22. Apr 2011, 22:17
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Server 2003

Drive Letter Order

Post by bhzendner »

I need to create a new machine and map two vhd's I already have, when they boot the first time I need them to be c: and d:, how do I do that?
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Drive Letter Order

Post by BillG »

VirtualBox does not know about Windows drive letters, just as physical hardware knows nothing about them.

The first drive you add will probably be c: . If you want to be sure that the vm boots from a particular drive, add it and boot the vm. You can add the other drive later (and you can always change the drive letter from within Windows after you boot the vm).
Bill
bhzendner
Posts: 4
Joined: 22. Apr 2011, 22:17
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Server 2003

Re: Drive Letter Order

Post by bhzendner »

That is a bummer, I have a database application and when it boots with the wrong letter for the second drive it corrupts the database so even when I change the drive letter in the drive manager it is to late the database is already corrupt. Anyone know a workaround?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Drive Letter Order

Post by scottgus1 »

Do an experiment. Try it with spare/backup/made-for-the-occasion VDI's and see which one comes up which letter.

In my three-disk SBS2003 VM: IDE Primary Master comes up C:, IDE Primary Slave is D:, IDE Secondary Master (the CD drive) is E: IDE Secondary Slave was F, I changed to X.

Also, you could boot in safe mode to prevent startup of the database, and check which drive got assigned which letter.
bhzendner
Posts: 4
Joined: 22. Apr 2011, 22:17
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Server 2003

Re: Drive Letter Order

Post by bhzendner »

Sounds like a resonable test... so a testing I go...
Raven
Posts: 54
Joined: 2. Oct 2008, 18:27

Re: Drive Letter Order

Post by Raven »

If you're using NTFS, you can mount a volume into an empty directory. So make a new directory on C: and put your D: under it.
squall leonhart
Posts: 312
Joined: 21. Apr 2010, 10:39
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, 8, 10, Android x86

Re: Drive Letter Order

Post by squall leonhart »

once windows is installed, physical order does nothing as the partition letter is mapped to the volume guid.
Post Reply