User Tools

Site Tools


notes:vbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:vbox [2025/01/21 07:50] – [Disk Image] azmannotes:vbox [2025/01/21 07:55] (current) – [Dumping Ground] azman
Line 1: Line 1:
 ====== VirtualBox Stuff ====== ====== VirtualBox Stuff ======
  
-===== Disk Image =====+===== Disk Image Management =====
  
-**Convert Image to Disk**+**Create Disk Image**
  
-<code>VBoxManage convertfromraw -format VDI <file.img> <file.vdi></code>+<code bash> 
 +VBoxManage createmedium disk --filename <file.vdi> --size <megabytes>
  
-**Compact Disk Image**+$ VBoxManage createmedium disk --filename=/path/to/rawdisk.vmdk \ 
 +  --variant=RawDisk --format=VMDK --property RawDrive=/dev/sda 
 +</code>
  
-<code>VBoxManage modifymedium --compact <file.vdi></code>+**Convert Image to Disk**
  
-**Create Disk Image**+<code bash>$ VBoxManage convertfromraw -format VDI <file.img> <file.vdi></code>
  
-<code> +**Compact Disk Image** 
-$ VBoxManage createmedium disk --filename <file.vdi> --size <megabytes> + 
-$ VBoxManage createmedium disk --filename=/path/to/rawdisk.vmdk --variant=RawDisk --format=VMDK --property RawDrive=/dev/sda +<code bash>$ VBoxManage modifymedium --compact <file.vdi></code>
-</code>+
  
 ===== Dumping Ground ===== ===== Dumping Ground =====
Line 56: Line 58:
  
 That will start a text editor. Write exactly what we typed before to boot. Press <Ctrl+s> and <Enter> to save, and <Ctrl+q> to quit. Now, your bootloader should execute when the system starts. That will start a text editor. Write exactly what we typed before to boot. Press <Ctrl+s> and <Enter> to save, and <Ctrl+q> to quit. Now, your bootloader should execute when the system starts.
 +</file>
 +
 +VirtualBox Serial Port<file text vbox_serial_port.txt>
 +We can actually use minicom to connect... 
 +$ minicom -D unix\#/tmp/xxx
 +where /tmp/xxx is the host pipe 8-)
 </file> </file>
  
 //more coming soon...// //more coming soon...//
  
notes/vbox.1737417036.txt.gz · Last modified: by azman