Debian 12 Bookworm Install Guide Using VirtualBox (+Guest Additions)
#Debian #Bookworm #VirtualBox
Full steps can be found at https://i12bretro.github.io/tutorials/0375.html
01. Download Debian 12 https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/
02. Launch VirtualBox
03. Create a New VM by selecting Machine ≫ New
Name: Debian 12
Machine Folder: C:\VMs
Type: Linux
Version: Debian (64-bit)
Memory Size: 4096 MB
Hard disk: Create a virtual hard disk now
04. Click Create
05. On the Create Virtual Hard Disk dialog
Name the virtual disk image Debian 12.vdi
File size: 30 GB (or more)
Hard disk file type: VDI
Storage on physical hard disk: Dynamically Allocated
06. Click Create
07. Select the VM and Click Settings
08. Select System ≫ Processor
09. Give the VM at least 2 processors
10. Select Display
11. Slide the Video Memory to 128 MB
12. Select Network
13. Set the attached to dropdown to Bridged Adapter
14. Select Storage
15. Click on the CD-ROM drive
16. Select the disc dropdown to the right ≫ Choose a virtual optical disc file...
17. Browse to and select the downloaded Debian 12 .iso file
18. Click OK
19. Make sure the Debian 12 VM is selected and click Start ≫ Normal
20. When the install dialog displays press Enter to select Graphical Install
21. Select a language ≫ Click Continue
22. Select a Location ≫ Click Continue
23. Select a keyboard layout ≫ Click Continue
24. Enter a hostname for the VM ≫ Click Continue
25. Enter a Domain name or leave it empty ≫ Click Continue
26. Leave the root password empty ≫ Click Continue
27. Enter the full name for the new user ≫ Click Continue
28. Enter the username for the new user ≫ Click Continue
29. Enter and confirm a password for the new user ≫ Click Continue
30. Select a timezone ≫ Click Continue
31. Select Guided - user entire disk ≫ Click Continue
32. Select the VBOX HARDDISK ≫ Click Continue
33. Select All files in one partition ≫ Click Continue
34. Select Finish partitioning and write changes to disk ≫ Click Continue
35. Select Yes to confirm writing the changes ≫ Click Continue
36. Wait for Debian to copy and install files
37. When prompted, select Yes to enable a network apt mirror ≫ Click Continue
38. Select a country to use for the apt mirror ≫ Click Continue
39. Select a mirror from the list ≫ Click Continue
40. Setup a HTTP proxy if necessary ≫ Click Continue
41. Choose if you want to participate in package usage survey ≫ Click Continue
42. Select the optional software to install ≫ Click Continue
43. Select Yes to install GRUB ≫ Click Continue
44. Select /dev/sda for the boot loader location ≫ Click Continue
45. After the bootloader is installed select reboot to finish the installation
46. Log in using the username and password created during the installation
47. Welcome to Debian 12
--------------------------------------------------------------------
Optional Steps
--------------------------------------------------------------------
01. Click the Applications button ≫ Search "terminal" ≫ Click Terminal
02. Run the following commands to install updates
# edit apt sources.list file
sudo apt /etc/apt/sources.list
03. Comment out the deb cd-rom: repositories by adding a # to the beginning of the line
04. Press CTRL+O, Enter, CTRL+X to write the changes to sources.list
05. Select Devices ≫ Insert Guest Additions CD image...
06. Open the Files application ≫ Select the Guest Additions Disc ≫ Right click in the white space ≫ Open terminal here
07. In the Terminal window run the following commands
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade -y
# clean apt cache
sudo apt clean
# install prerequisites
sudo apt-get install build-essential dkms linux-headers-$(uname -r)
# run the virtualbox guest additions installer
sudo sh ./VBoxLinuxAdditions.run
# restart the VM
sudo reboot
08. The VM will reboot
09. Upon rebooting, you can now full screen the VM and the internal resolution will automatically change to match the window size
10. Log back into Debian
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro