VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2095 - 2097 of 16363)

Ticket Resolution Summary Owner Reporter
#1777 fixed createrawvmdk returns 'ERROR: VMDK: cannot go backwards for partitioning information' Joe Bertoli Pimentel
Description

Trying to create a raw disk from my Windows XP partition to work on a Linux Guest OS and following the instructions posted on the forum from people that succeed doing the same thing I am trying (http://forums.virtualbox.org/viewtopic.php?p=25200), after solving some pre-req issues, I end up with this error that people told me to open a new ticket here:

First, some info about the environment: Ubuntu Hardy Heron 8.04

user@machine:~$ uname -a
Linux machine 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

user@machine:~$ VBoxManage --version
1.6.2r31466

user@machine:~$ fdisk -l /dev/sda

Disco /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcccdcccd

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1               1        3040    24418768+   7  HPFS ou NTFS
/dev/sda2            3041        4864    14651280   83  Linux
/dev/sda3   *        4865        6823    15735667+  bf  Solaris
/dev/sda4            6824        9730    23350477+   5  Estendida
/dev/sda5            6824        9208    19157449+  83  Linux
/dev/sda6            9209        9730     4192965   82  Linux swap / Solaris

user@machine:~$ VBoxManage internalcommands listpartitions -rawdisk /dev/sda
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)
1       0x07  0   /1  /1   1023/254/63         23846           63
2       0x83  1023/0  /1   1023/254/63         14307     48837600
3       0xbf  1023/0  /1   1023/254/63         15366     78140160
5       0x83  1023/254/63  1023/254/63         18708    109611621
6       0x82  1023/254/63  1023/254/63          4094    147926520

And now the createrawvmdk try:

user@machine:~$ sudo VBoxManage internalcommands createrawvmdk -filename /home/user/WinXPFromPart1.vmdk  -rawdisk /dev/sda -partitions 1 -mbr /home/user/fakeMBR.mbr
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

ERROR: VMDK: cannot go backwards for partitioning information in '/home/user/WinXPFromPart1.vmdk'
Error code VERR_INVALID_PARAMETER at /home/vbox/vbox-1.6.2/src/VBox/Devices/Storage/VmdkHDDCore.cpp(2518) in function int vmdkCreateRawImage(VMDKIMAGE*, VBOXHDDRAW*, uint64_t)
Error while creating the raw disk VMDK: VERR_INVALID_PARAMETER

It is really a bug or there is some other configuration to workaround the problem? Thanks in advance...

#17236 fixed createrawvmdk core dump => Fixed in SVN Phi
Description

Hi Guru's,

I get createrawvmdk core dump.

This is Ubuntu 16.04 LTS, virtualbox 5.2.0

The recipe is

RT$ dd if=/dev/zero of=yo.raw bs=1 seek=1073741824 count=1     
1+0 records in
1+0 records out
1 byte copied, 0.000121448 s, 8.2 kB/s

RT$ vboxmanage internalcommands createrawvmdk -filename yo.vmdk -rawdisk yo.raw
Memory fault(coredump)

It took me a little while to discover I kinda goofed on the sparse file creation, my intent was to create a 1 Gb file, while I created here a 1Gb +1 byte sparse file.

A nice error message would be cool.

The workaround is to create the the sparse file correctly

RT$ dd if=/dev/zero of=yo.raw bs=1 seek=1073741823 count=1                     
1+0 records in
1+0 records out
1 byte copied, 0.000102826 s, 9.7 kB/s

RT$ vboxmanage internalcommands createrawvmdk -filename yo.vmdk -rawdisk yo.raw
RAW host disk access VMDK file yo.vmdk created successfully. 

I flag this as 'low prio' as there is a work around.

Cheers, Phi

#9959 invalid createrawvmdk -partitions still grants full disk access Fernando Miguuel
Description

created a raw access volume to access only one partition of the disk. booting Windows8 devel (with host ubuntu 12.04 64bits) still grants W8 full access to the disk

$ VBoxManage internalcommands listpartitions -rawdisk /dev/sda Number Type StartCHS EndCHS Size (MiB) Start (Sect) 1 0x83 0 /32 /33 261 /53 /48 2048 2048 5 0x83 529 /45 /29 1023/254/63 28454 8501248 8 0x07 1023/254/63 1023/254/63 26247 66777088 7 0x83 1023/254/63 1023/254/63 1099 120532992 6 0x83 1023/254/63 1023/254/63 1100 122785792

$ sudo VBoxManage internalcommands createrawvmdk -filename /home/fernando/VirtualBox\ VMs/part8.vmdk -rawdisk /dev/disk/by-id/ -partitions 8

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy