Page 1 of 1

Changing boot order: AHCI and IDE

Posted: 31. May 2010, 10:31
by glavepp
Hello,

I'm using VirtualBox 3.2.0 under Windows XP, to run a Linux Ubuntu 9.10 guest system.

I have installed Ubuntu on a new virtual hard disk, but at the same time I want to access a physical ext3 partition on my PC.
So, after Ubuntu installation, I have created a .vmdk file in VirtualBox, pointing to my partition.
I can access it from the guest system, but, when booting, I always have to press F12 change the temporary boot order.
In fact, the .vmdk file is installed as an IDE disk, while the virtual disk for Ubuntu is seen as AHCI; and, in the VirtualBox boot order, IDE comes before AHCI, and so my grub would try to boot from the physical partition, if I don't change the boot order.

Is there a way to change it permanently, so that there is no need to switch with F12 at every boot?

Thanks for your support.
Regards,
Pier Paolo Glave

Re: Changing boot order: AHCI and IDE

Posted: 31. May 2010, 13:04
by baf
Mount the vmdk as a sata with higher number.

Re: Changing boot order: AHCI and IDE

Posted: 31. May 2010, 16:57
by glavepp
baf wrote:Mount the vmdk as a sata with higher number.
Hi,

I have tried, but I get some errors, when opening the .vmdk file in this way.
The errors are:
VERR_NOT_SUPPORTED
and:
VERR_INVALID_FUNCTION

Pier