Page 1 of 1

(Dualboot Vista+Linux)+Virtualbox (on linux)

Posted: 12. May 2008, 11:54
by stasheck
Hello everyone,
I have VirtualBox on Ubuntu 8.04, parallel to Windows Vista Home Basic. Now, for couple of reasons I want to keep dual boot, but to save space and effort I want to be able to run Vista in VirtualBox.

I learned that I should use "VBoxManage internalcommands createrawvmdk" command, but for some reason there is no such command in my VirtualBox installation. I installed OSE from virtualbox.org repos, but on the "Editions" page there are no differences between OSE and CSE regarding this option.

My question is: how can I make this all work?

Posted: 12. May 2008, 13:12
by stefan.becker
Install full version, delete OSE.

Posted: 12. May 2008, 14:16
by stasheck
OK, but for licensing reasons I'm not allowed to use full version, because that's company computer - unless I'll be able to do just createwvmdk with full version and then use this container with OSE?

Posted: 12. May 2008, 15:14
by Sasquatch
Read the Licencing FAQ, it states that even if you are at a company, if you are the only user, it's allowed to use VBox binaries. I stated here somewhere before.

Posted: 12. May 2008, 16:24
by stasheck
That's cool :-) Thank you.

Posted: 13. May 2008, 11:49
by stasheck
OK, I've run into another problem:

Code: Select all

fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *       14267       14594     2620416    c  W95 FAT32 (LBA)
/dev/sda3   *          16        3932    31463302    7  HPFS/NTFS
/dev/sda4            3933       14594    85635507    5  Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5            3933        4194     2104483+  82  Linux swap / Solaris
/dev/sda6            4195       14266    80903308+  83  Linux
/dev/sda7           14267       14594     2620416   dd  Unknown

Partition table entries are not in disk order

Code: Select all

VBoxManage internalcommands createrawvmdk -filename /home/stka/.VirtualBox/VDI/vista.vmdk -rawdisk  /dev/sda -partitions 3 -relative
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Two partitions start at the same place. Aborting
Error reading the partition information from '/dev/sda'

Code: Select all

VBoxManage internalcommands listpartitions -rawdisk /dev/sda
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Two partitions start at the same place. Aborting
It seems that it happens because extended partition starts in the same place as Linux Swap does, but that's the purpose of extended partition, isn't it?

What should I do?

Posted: 15. May 2008, 14:28
by stasheck
Nobody has any idea what went wrong?

EDIT: OK, I've found it: http://forums.virtualbox.org/viewtopic. ... c&start=15