0375.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Debian 12 Bookworm Install Guide Using VirtualBox (+Guest Additions)</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Home Lab,Home Lab Ideas,Hypervisor,Install Guide,Self-Hosted,Debian,VM,Virtual Machine,Virtualization,Linux,VirtualBox,Oracle VirtualBox,VirtualBox Step By Step,VirtualBox Tutorial,How To Install Debian On VirtualBox,How To Run Debian On VirtualBox,Debian Virtual Machine,Debian VirtualBox,Debian 12,Debian Linux,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Debian 12 Bookworm Install Guide Using VirtualBox (+Guest Additions)">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="07/25/2023 06:35:35 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Debian 12 Bookworm Install Guide Using VirtualBox (+Guest Additions)</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Download Debian 12 <a href="https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/" target="_blank">Download</a></li>
  27. <li>Launch VirtualBox</li>
  28. <li>Create a New VM by selecting Machine &gt; New
  29. <p>Name: Debian 12<br />
  30. Machine Folder: C:\VMs<br />
  31. Type: Linux<br />
  32. Version: Debian (64-bit)<br />
  33. Memory Size: 4096 MB<br />
  34. Hard disk: Create a virtual hard disk now</p>
  35. </li>
  36. <li>Click Create</li>
  37. <li>On the Create Virtual Hard Disk dialog
  38. <p>Name the virtual disk image Debian 12.vdi<br />
  39. File size: 30 GB (or more)<br />
  40. Hard disk file type: VDI<br />
  41. Storage on physical hard disk: Dynamically Allocated</p>
  42. </li>
  43. <li>Click Create</li>
  44. <li>Select the VM and Click Settings</li>
  45. <li>Select System &gt; Processor</li>
  46. <li>Give the VM at least 2 processors</li>
  47. <li>Select Display</li>
  48. <li>Slide the Video Memory to 128 MB</li>
  49. <li>Select Network</li>
  50. <li>Set the attached to dropdown to Bridged Adapter</li>
  51. <li>Select Storage</li>
  52. <li>Click on the CD-ROM drive</li>
  53. <li>Select the disc dropdown to the right &gt; Choose a virtual optical disc file...</li>
  54. <li>Browse to and select the downloaded Debian 12 .iso file</li>
  55. <li>Click OK</li>
  56. <li>Make sure the Debian 12 VM is selected and click Start &gt; Normal</li>
  57. <li>When the install dialog displays press Enter to select Graphical Install</li>
  58. <li>Select a language &gt; Click Continue</li>
  59. <li>Select a Location &gt; Click Continue</li>
  60. <li>Select a keyboard layout &gt; Click Continue</li>
  61. <li>Enter a hostname for the VM &gt; Click Continue</li>
  62. <li>Enter a Domain name or leave it empty &gt; Click Continue</li>
  63. <li>Leave the root password empty &gt; Click Continue</li>
  64. <li>Enter the full name for the new user &gt; Click Continue</li>
  65. <li>Enter the username for the new user &gt; Click Continue</li>
  66. <li>Enter and confirm a password for the new user &gt; Click Continue</li>
  67. <li>Select a timezone &gt; Click Continue</li>
  68. <li>Select Guided - user entire disk &gt; Click Continue</li>
  69. <li>Select the VBOX HARDDISK &gt; Click Continue</li>
  70. <li>Select All files in one partition &gt; Click Continue</li>
  71. <li>Select Finish partitioning and write changes to disk &gt; Click Continue</li>
  72. <li>Select Yes to confirm writing the changes &gt; Click Continue</li>
  73. <li>Wait for Debian to copy and install files</li>
  74. <li>When prompted, select Yes to enable a network apt mirror &gt; Click Continue</li>
  75. <li>Select a country to use for the apt mirror &gt; Click Continue</li>
  76. <li>Select a mirror from the list &gt; Click Continue</li>
  77. <li>Setup a HTTP proxy if necessary &gt; Click Continue</li>
  78. <li>Choose if you want to participate in package usage survey &gt; Click Continue</li>
  79. <li>Select the optional software to install &gt; Click Continue</li>
  80. <li>Select Yes to install GRUB &gt; Click Continue</li>
  81. <li>Select /dev/sda for the boot loader location &gt; Click Continue</li>
  82. <li>After the bootloader is installed select reboot to finish the installation</li>
  83. <li>Log in using the username and password created during the installation</li>
  84. <li>Welcome to Debian 12</li>
  85. </ol>
  86. <h2>Optional Steps</h2>
  87. <ol>
  88. <li>Click the Applications button &gt; Search &quot;terminal&quot; &gt; Click Terminal</li>
  89. <li>Run the following commands to install updates
  90. <div class="codeBlock"># edit apt sources.list file<br />
  91. sudo apt /etc/apt/sources.list</div>
  92. </li>
  93. <li>Comment out the deb cd-rom: repositories by adding a # to the beginning of the line</li>
  94. <li>Press CTRL+O, Enter, CTRL+X to write the changes to sources.list</li>
  95. <li>Select Devices &gt; Insert Guest Additions CD image...</li>
  96. <li>Open the Files application &gt; Select the Guest Additions Disc &gt; Right click in the white space &gt; Open terminal here</li>
  97. <li>In the Terminal window run the following commands
  98. <div class="codeBlock"># update software repositories<br />
  99. sudo apt update<br />
  100. # install available software updates<br />
  101. sudo apt upgrade -y<br />
  102. # clean apt cache<br />
  103. sudo apt clean<br />
  104. # install prerequisites<br />
  105. sudo apt-get install build-essential dkms linux-headers-$(uname -r)<br />
  106. # run the virtualbox guest additions installer<br />
  107. sudo sh ./VBoxLinuxAdditions.run<br />
  108. # restart the VM<br />
  109. sudo reboot</div>
  110. </li>
  111. <li>The VM will reboot</li>
  112. <li>Upon rebooting, you can now full screen the VM and the internal resolution will automatically change to match the window size</li>
  113. <li>Log back into Debian</li>
  114. </ol> </div>
  115. </div>
  116. </body>
  117. </html>