@related: vmware dark emu vm vbox ubuntu virtual box SatA WiN OS StoragE

GUEST : GNU/LINUX / virtualbox

deb http://www.virtualbox.org/debian etch non-free
apt-get install virtualbox
# vboxdrv: Unknown symbol compat_up_read
  which virtualbox || sudo aptitude install virtualbox virtualbox-ose-source
  sudo modprobe -rv kvm_intel kvm kqemu  # check
  sudo modprobe -v vboxdrv || sudo m-a a-i --text virtualbox-ose-source

RAWDISK

  disk=sda
  filename="${HOME}/.VirtualBox/HardDisks/${disk}.vmdk"
  mkdir -p $(dirname -- "$filename")
  mv  "$filename"  "$filename.$(date +%s).bak"
  # pwd
  sudo VBoxManage internalcommands createrawvmdk -filename "$filename"  -rawdisk "/dev/${disk}" # -register
  more "$filename"
  VBoxManage internalcommands createrawvmdk -filename "$disk.vbox"  -rawdisk "${disk}" -register
set VBoxManage="c:/Program Files/Oracle/VirtualBox/VBoxManage.exe"
SET disk=PhysicalDrive0
%VBoxManage% internalcommands listpartitions -rawdisk "\\.\%disk%"
%VBoxManage% internalcommands createrawvmdk  -rawdisk "%disk%" 

#| VBoxManage.exe: error: Cannot open the raw disk: VERR_ACCESS_DENIED
 #| VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive1': VERR_ACCESS_DENIED
#| VBoxManage.exe: error: The raw disk vmdk file was not created

http://forum.virtualbox.org/viewtopic.php?f=6&t=6002

http://www.virtualbox.org/manual/ch09.html#rawdisk

https://forums.virtualbox.org/viewtopic.php?f=6&t=38914#p175089

diskpart
ATTRIBUTES DISK CLEAR READONLY
version=1
CID=d49ca55a
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 4087808 FLAT "disk.raw" 0

# The disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="4055"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="3e06f3d3-ba3f-4b18-9769-bfdaabe7c49b"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"

NET

Networking (NaT) :

 guest:10.0.2.15  
 host: 10.0.2.2

MisC :

http://www.virtualbox.org/manual/ch06.html

 t="10.0.2."
 for i in $(seq 1 255) ; do ip=$t$i && echo "$ip" &&  ping -c 1 $ip 2>&1 > /dev/null && echo "found: $ip " ; done
 #| | grep "found: " | cut -d: -f 2 | while read h; do ssh root@$h ; done

MaC add : 00:50:56:3F:FF:FF 0050563FFFFF

@tag: virtualbox vbox x86 palm webos

GUEST : Windows

  VBoxManage setextradata global GUI/MaxGuestResolution any
  xdpyinfo | grep imen
  #| dimensions:    1366x768 pixels (361x203 millimeters)
  display="1366x768x16"
  name="WindowsDeveloperPreview-64bit-English-Developer"
  VBoxManage setextradata $name "CustomVideoMode1" "$display"

@tag: win

GUEST : MeeGo

GEOMETRIES

count=15296
dd if=/dev/zero bs=1M count=$count of=hardisk.raw

LsUsb=1b1c:1ab1

20003880960bytes

# Disk DescriptorFile
version=1
CID=92f1f9a2
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 31326208 FLAT "harddisk.raw" 0

# The disk Data Base 
#DDB

ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16383"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="620d5514-7ae3-4fc9-9fa2-aa916d05a850"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"


# Disk /dev/sdb: 16.0 GB, 16039018496 bytes
# 63 heads, 32 sectors/track, 15538 cylinders
# Units = cylinders of 2016 * 512 = 1032192 bytes
# Sector size (logical/physical): 512 bytes / 512 bytes
# I/O size (minimum/optimal): 512 bytes / 512 bytes
# truncate --size 16039018496  harddisk.vmdk

> cat 7760510464.vmdk
# Disk DescriptorFile
version=1
CID=331a9724
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 15157247 FLAT "/dev/sdc" 0

# The disk Data Base 
#DDB

ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="15036"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"


8GB

Corsair w/ code :)

# time dd if=/dev/zero of=8292139008.raw bs=1M count=7908

# Disk DescriptorFile
version=1
CID=013db513
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 16195584 FLAT "/dev/sdc" 0

# The disk Data Base 
#DDB

ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16067"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="7f1094e7-df8d-4677-a0a4-72c1861ce345"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"

MISC?

# Disk DescriptorFile                                                                                                                                                                           
version=1                                                                                                                                                                                       
CID=cdef1434                                                                                                                                                                                    
parentCID=ffffffff                                                                                                                                                                              
createType="fullDevice"                                                                                                                                                                         
                                                                                                                                                                                                
# Extent description                                                                                                                                                                            
RW 15663104 FLAT "/dev/sdb" 0                                                                                                                                                                   
                                                                                                                                                                                                
# The disk Data Base                                                                                                                                                                            
#DDB                                                                                                                                                                                            
                                                                                                                                                                                                
ddb.virtualHWVersion = "4"                                                                                                                                                                      
ddb.adapterType="ide"                                                                                                                                                                           
ddb.geometry.cylinders="15538"                                                                                                                                                                  
ddb.geometry.heads="16"                                                                                                                                                                         
ddb.geometry.sectors="63"                                                                                                                                                                       
ddb.uuid.image="e147a94f-2b1c-4f30-b7a8-8d89cb537b4b"                                                                                                                                           
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"                                                                                                                                          
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"                                                                                                                                    
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"

MISC

MORE

virtualbox.txt · Last modified: 2015/11/30 17:46 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki