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:51] – [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** +
- +
-<code bash>$ VBoxManage convertfromraw -format VDI <file.img> <file.vdi></code> +
- +
-**Compact Disk Image** +
- +
-<code bash>$ VBoxManage modifymedium --compact <file.vdi></code>+
  
 **Create Disk Image** **Create Disk Image**
Line 19: Line 11:
   --variant=RawDisk --format=VMDK --property RawDrive=/dev/sda   --variant=RawDisk --format=VMDK --property RawDrive=/dev/sda
 </code> </code>
 +
 +**Convert Image to Disk**
 +
 +<code bash>$ VBoxManage convertfromraw -format VDI <file.img> <file.vdi></code>
 +
 +**Compact Disk Image**
 +
 +<code bash>$ VBoxManage modifymedium --compact <file.vdi></code>
  
 ===== Dumping Ground ===== ===== Dumping Ground =====
Line 58: 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.1737417119.txt.gz · Last modified: by azman