Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


To Shrink and Clean the Virtual File System

Copy/Paste “Fill Zero” (root)

$HOME/.doZERO.sh


VirtualBox On Linux Host

$ ls -al LFS-08-18-disk00*
-rw------- 1 rms46 rms46  3231711232 May 14 21:06 LFS-08-18-disk001.vdi
-rw------- 1 rms46 rms46 12700352512 May 14 21:06 LFS-08-18-disk002.vdi

$ vboxmanage modifymedium --compact LFS-08-18-disk001.vdi 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

$ vboxmanage modifymedium --compact LFS-08-18-disk002.vdi 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

$ ls -al LFS-08-18-disk00*
-rw------- 1 rms46 rms46 3101687808 May 10 08:40 LFS-08-26-disk001.vdi
-rw------- 1 rms46 rms46 5203034112 May 10 08:42 LFS-08-26-disk002.vdi


VirtualBox On Windows Host

Directory: C:\...\VirtualBox VMs\LFS-08-26-DEMO
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         5/14/2021   8:12 PM     3165650944 LFS-08-26-DEMO-disk001.vdi
-a----         5/14/2021   8:12 PM    12700352512 LFS-08-26-DEMO-disk002.vdi

PS C:\...\LFS-08-26-DEMO> & 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' modifymedium --compact .\LFS-08-26-DEMO-disk001.vdi
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
PS C:\...\LFS-08-26-DEMO> & 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' modifymedium --compact .\LFS-08-26-DEMO-disk002.vdi
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Directory: C:\...\LFS-08-26-DEMO
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         5/14/2021   8:16 PM     3096444928 LFS-08-26-DEMO-disk001.vdi
-a----         5/14/2021   8:17 PM     5032116224 LFS-08-26-DEMO-disk002.vdi



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT