Installing Damn Small Linux as VirtualBox guest
November 22, 2007
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
sudo dsl-hdinstall. - 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.
Entry Filed under: Virtualbox, Virtualization, linux. .
6 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Idetrorce | December 15, 2007 at 6:42 am
very interesting, but I don’t agree with you
Idetrorce
2.
paulsiu | December 16, 2007 at 10:57 am
You don’t agree with what
?
3.
DSL baby | January 14, 2008 at 2:19 am
FATAL ERROR
Cannot open disk drive
This is the response to
sudo cfdisk /dev/hda
DSL 4.0 guest on XP Home sp2
4.
bluecell | February 24, 2008 at 3:31 am
Here is my experience.
1> I create a vm machine with default setting.
2> Startup from cdrom into X windows
3> run cfdisk, everythings fine
4> install, also fine
5> restart, not fine, not work, cannot find the operation system
After that, I found out in console mode, which mean I didn’t startup into Xwindows, DSLinux cannot find out /dev/sda.
So,
1> I create a vm machine with customize
2> Change the default setting of harddrive into IDE, instead of SCSI
3> Install, and everything is find now.
5.
bluecell | February 24, 2008 at 9:18 pm
Can you install vmware tool in DSL Linux?
I have installed gcc 4.2.3, but whenever I run:
./vmware-install.pl
and choose /usr/bin as the installed binary files, it display:
…there is insufficient disk space avaialbe in /usr/bin. Please make at least an additional 492k available or choose another directory…
I’m sure that this partition has just been used upto 50%, which mean there is more than 500MB still available.
6.
Boris | May 4, 2008 at 8:59 pm
When I try and start DSL in Virtualbox it asks for username and paasword, but it will not accept the credentials I give it?
I’m using root and uClinux
Boris