Zitat
Sorry, hat sich erledigt............ mußte als Netzlaufwerk eingefügt werden!
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »berlinerbaer1974« (17.12.2007, 10:21)
HiAhso in der User Manual unter Advanced Topics hab ichs jetz doch gefunden!!!
1. Ganze Festplatte
VMDK - Datei für den zugriff erstellen.
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
(This creates the image /path/to/file.vmdk (must be absolute), and all data will be read and written from /dev/sda.)
2. Partition(en)
VMDK - Datei für den zugriff erstellen.
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda -partitions 1,5
(As you can see, the command is identical to the one for "full hard disk" access, except for the additional -partitions parameter. This example would create the image /path/to/file.vmdk (which, again, must be absolute), and partitions 1 and 5 of /dev/sda would be made accessible to the guest.)
(VirtualBox uses the same partition numbering as your Linux host. As a result, the numbers given in the above example would refer to the first primary partition and the first logical drive in the extended partition, respectively.)
So, ich hoffe das bringt was!!
Hier die Fehlermeldung wenn ich es ohne Root Rechte ausführe:
Zitat
sudo VBoxManage internalcommands createrawvmdk -filename /home/rick/.VirtualBox/VDI/windows.vmdk -rawdisk /dev/sda -partitions 1
Zitat
rick@rick-desktop:~$ VBoxManage internalcommands createrawvmdk -filename /home/rick/VB/windows.vmdk -rawdisk /dev/sda -partitions 1
VirtualBox Command Line Management Interface Version 1.5.6
(C) 2005-2008 innotek GmbH
All rights reserved.
Error opening the raw disk: VERR_ACCESS_DENIED
die angelegten *.vdmk Dateien gehören dem "root" und der Benutzergruppe "root", dies habe ich mit Rootrechten geändert auf meinen Benutzer (Rick) und die Gruppe (rick)
Zitat
VD: error opening image file '/home/rick/.VirtualBox/VDI/windows.vmdk' (VERR_ACCESS_DENIED).
Fehlercode:
0x80004005
Komponente:
HardDisk
Interface:
IHardDisk {fd443ec1-000f-4f5b-9282-d72760a66916}
Callee:
IVirtualBox {76b25f3c-15d4-4785-a9d3-adc6a462beec}
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »eumel« (19.04.2008, 19:53)
| Sponsorenwerbung: |
|
| Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Linux Brillen
Branchenverzeichnis - Geek und Nerd Shirt Shop - T-Shirts - Netgear WLAN Router
Wasserbetten & Whirlpools - Linux Paintball Markierer