Hello list I have 40Gb HDD in my laptop, 12Gb for windows, 26Gb for linux and the rest for swap. Currently I have setup a VBOX in my linux host with 6Gb of virtual disk, that means that there is a duplicated windows installation consuming double space.
In the past with a desktop computer, when used VMware (long before VirtualBox existed) I setup access to raw disk to use windows, and windows was setup with two hardware profiles, one for the real machine and another for the virtual machine, so it was possible to start the VM and run windows from its actual installation. Well, I tried to do the same thing because the lack of space in my laptop, but with no success. Everything is setup correctly as described in the manual, set RW for everybody to hda/hda... when starting the machine it shows the LILO as usual, then I choose windows, it shows "Loading windows" and then get "Disk error - press any key to restart". *** My HDD device permissions are these: brwxrwxrwx 1 root disk 3, 0 2009-03-29 08:59 /dev/hda brwxrwxrwx 1 root disk 3, 1 2009-03-29 08:59 /dev/hda1 brw-r----- 1 root disk 3, 2 2009-03-29 08:59 /dev/hda2 brw-r----- 1 root disk 3, 3 2009-03-29 08:59 /dev/hda3 *** The command I used to create the VMDK is this: (I store my virtual disks at $HOME/VirtualDisks) $ VBoxManage internalcommands createrawvmdk -filename /home/miguel/VirtualDisks/Compaq.vmdk -rawdisk /dev/hda -partitions 1,3 VirtualBox Command Line Management Interface Version 2.1.4 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. RAW host disk access VMDK file /home/alphaomega/VirtualDisks/Compaq.vmdk created successfully. After successful creation of VMDK file these two files are created: -rw------- 1 miguel miguel 32256 2009-03-29 09:29 Compaq-pt.vmdk -rw------- 1 miguel miguel 626 2009-03-29 09:29 Compaq.vmdk Then I proceed to create the VM, select add existing virtual disk (Compaq.vmdk), configure its memory (512Mb) and devices (cdrw, sound and usb) and start the box. It appears the LILO, then choose windows, it begins loading and gets stuck with disk error. Any comment on this? I have the theory that windows detects the disk in a different way than when running in the real machine, but that I can install windows from the virtual machine and it will run, the question is, when starting from the real machine will I get the same error? My intention is to boot the same windows from the real and virtual machine as I used to do with vmware. Why? because sometimes I will require to use the full memory/processor and use some hardware directly. Is it possible? if so, what can I do? Regards, Miguel _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
