Installing Damn Small Linux as VirtualBox guest
Damn small linux is a tiny Linux. Because it uses very little resource, it is ideal for a virtual machine.
Creating the Virtual Machne
- Create a virtual machine with 256 Mb of memory and 4 Gb of Disk space.
- Boot from the Damn Small Linux CD or Image.
- Open Apps and then Tools folder.
- Double-click on the Aterm window.
- Enter the command
sudo cfdisk /dev/hda.
- Press Y when prompt if you want to start with a zero table. This loads the cfdisk.
- Press “N” to create a new partition.
- Press “P” to select Primary.
- Press Enter to use the default size.
- Press “T” to select the type.
- Enter “83″ as the file system type.
- Press “B” to set the partition as bootable.
- Use the arrow key to move to write and press OK.
- When asked if you want to destroy data, press “yes” and then OK.
- Press Quit to exit the application.
- Enter the command
- When prompted to enter target partition, enter “hda1″ and press OK.
- When asked if you want to install with multi-user login. Type “y” and press OK.
- When prompted if you want to journal file system. Type “y” and press OK.
- When prompted for last chance. Type “y” and press OK.
- When prompted to install a boot loader, type “y” and press OK.
- When prompted for Grub or Lilo, type “g” and press OK.
- When prompted to reboot, type “y” and press OK.
- Unmount the DSL CD.
- After reboot, you will be asked to enter a password for root and dsl.
- select the XVesa video option.
- Select No for USB mouse.
- Select Yes for IMP/s mouse.
- Select your screen resolution and depth.
- Select No for dpi option.
- Select your keyboard options.
Installing the Guest Additions
Damn Small Linux uses a repository call MyDSL. I tried installing gcc1-with-libs.dsl and the kernelsource.dsl from mydsl. Unfortunately, the kernel source from the mydsl is a bit old.
To install, I would have to download the kernel for 4.0, then patch it with Knoppix patch. While this is not difficult, it’s rather too much work for getting guest additions to work.