This document has been written by Dipl.-Inf. (FH) Johann N. Loefflmann (http://www.jonelo.de, mailto:jonelo@jonelo.de) Aug 23, 2007 How to install DSL Linux on a VMware image ========================================== If you want to install the latest DSL Linux on a VMware image, just follow the instructions. Step 1 - Preparation -------------------- 1.1. Download and install VMware Player on your computer http://www.vmware.com/products/player/ 1.2. Download and extract the LiveCD Virtual Appliance http://www.vmware.com/vmtn/appliances/directory/284 1.3. Delete livecd.iso (it's an empty file) 1.4. Download the Live iso image from http://damnsmalllinux.org/download.html I have used dsl-3.4.1.iso 1.5. Rename the file called dsl-3.4.1.iso (or whatever the name is) to livecd.iso Step 2 - Install DSL Linux by using the Live CD iso --------------------------------------------------- 2.1. Boot the Live CD by using the .vmx file and the VMware Player. 2.2. Open the console and become root sudo bash 2.3 Create a partition with cfdisk 2.11z cfdisk /dev/hda (New, Primary, Bootable, Write, yes, Quit) 2.4. Format the partition with mkfs /dev/hda1 2.5. Right-click on the desktop, navigate to Apps -> Tools-Install To Hard Drive target partition: hda1 multi-user logins: n use ext3: n continue: y boot loader: y Grub or Lilo: g reboot: n 2.6. Right-click on the desktop, navigate to Power Down -> Shutdown 2.7 Wait until DSL has halted. Hit Enter. 2.8 Wait until the VMware is closed. Step 3 - Configure the installed DSL ------------------------------------ 3.1. Edit the .vmx file replay ide1:0.present = "TRUE" with ide1:0.present = "FALSE" 3.2. Remove the livecd.iso file 3.3. Start the .vmx file and hit Enter at the Grub menu 3.4 Select a password for root. 3.4. Do any configuration you like (configure the network for example) Step 4 - Optimize the VMware image (optional) --------------------------------------------- 4.1 Boot DSL Linux again and copy vmshrink from Ken Kato to the VMware image http://chitchat.at.infoseek.co.jp/vmware/vmtools.html#vmw 4.2 Change the permission of the file to make it executable chmod 755 vmshrink 4.3 Run vmshrink ./vmshrink