This document called "How to install Puppy Linux 2.17.1 on VMware" has been written by Dipl.-Inf. (FH) Johann N. Loefflmann (http://www.jonelo.de, mailto:jonelo@jonelo.de) Aug 21, 2007 Acknowledgement: Barry Kauler is the original developer and current maintainer of Puppy Linux (http://www.puppylinux.com). How to install Puppy Linux on a VMware image ============================================ If you want to install Puppy Linux 2.17.1 on a VMware image by your own, just follow the instructions. Tested Puppy Release: Puppy Linux 2.17.1. 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://www.puppylinux.com/cd-puppy.htm I have used puppy-2.17.1-nolzma-seamonkey-fulldrivers.iso 1.5. Rename the .iso file to livecd.iso Step 2 - Install Puppy Linux by using the Live CD iso ----------------------------------------------------- 2.1. Boot the Live CD by using the .vmx file and the VMware Player. 2.2. During the first boot of the Live CD select your keyboard layout and select the X server I have selected german keyboard layout (because I have a german keyboard) and the Xvesa, because Xorg didn't work. 2.3. Select 800x600x16 (x24 didn't work). x16 means 16-bit color which is 65,546 colors. 2.4. Prepare the disk with cfdisk, mkfs and parted 2.4.1 Open the console and create a partition with the GNU cfdisk 1.0: cfdisk /dev/hda Commands: New, Primary, Beginning, Size: 2147MB, ext2 Flags, [x] boot (hit Enter and Esc) Make FS, (use it?) Yes, (continue?) Yes Commit, (continue?) Yes Quit The cfdisk parameters should look like this: Number Flags Part Type Filesystem Label Size 1 Bootable Primary ext2 2147MB 2.4.2 Format the partition with mkfs /dev/hda1 2.4.3 Check with the program called parted whether everything is ok, enter 'print' followed by 'quit'. Parameters should be Type: primary, File system: ext2, Flags: boot 2.5. Select Menu/Setup/Puppy universal installer See also http://www.puppylinux.com/hard-puppy.htm 2.5.1 Select "IDE (ATA) internal hard drive" 2.5.2 Select "hda VMware Virtual IDE Hard Drive, size 2 GiB" 2.5.3 Select Install Puppy to hda1 2.5.4 Click OK 2.5.5 Select Normal Install 2.5.6 Wait 2.5.7 Wait until the Grub install dialog appears, select "Install Grub" 2.5.8 Click OK 2.5.9 Accept the defaults (simple, standard, /dev/hda1), except at the Grub Destination Question. Select "MBR, Install to Master Boot Record (probably unsave)" 2.5.10 Click OK 2.5.11 Click No (installation finished) 2.6. Exit the Live CD by selecting Menu -> Shutdown -> Power-off computer Select "Do not Save" at the last dialog. Wait until the VMware Player is entirely closed. Step 3 - Configure the installed Puppy Linux -------------------------------------------- 3.1. Edit the .vmx file replace ide1:0.present = "TRUE" with ide1:0.present = "FALSE" 3.2. Remove the livecd.iso file 3.3. Start the .vmx file 3.3.1 At the GNU GRUB menu, select the first entry called Linux (on /dev/hda1) and hit enter. 3.3.2 Select the Xserver (Xvesa), keyboard layout and the resolution/color depth (800x600x16) again as you did it already at the steps above. 3.4. Do any configuration you like (configure the network for example with Menu/Setup/Network Wizard) Step 4 - Optimize the VMware image (optional) --------------------------------------------- 4.1 Boot Puppy 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 Fill the disk with zeros, remove them again and run vmshrink cat /dev/zero > /fill; sync; sleep 1; sync; rm /fill; sync; vmshrink