This document called "How to install Puppy Linux 3.01 on VMware" has been written by Dipl.-Inf. (FH) Johann N. Loefflmann (http://www.jonelo.de, mailto:jonelo@jonelo.de) Nov 4, 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 3.01 on a VMware image by your own, just follow the instructions. Tested Puppy Release: Puppy Linux 3.01 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-3.01-seamonkey.iso 1.5 Rename the .iso file to livecd.iso Make sure you put the livecd.iso file in the same directory as the rest of the VMware files. 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 At the boot welcome screen, boot with the following options puppy acpi=off 2.3 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.4 Select 800x600x24. Click on the OKAY button. 2.5 Prepare the disk with cfdisk, mkfs and parted 2.5.1 Open the console and create a partition with the cfdisk 2.12r: cfdisk /dev/hda Commands: New, Primary, Size (in MB): 2147.48, Bootable, Write, Are you sure: yes, Quit The cfdisk parameters should look like this: Name Flags Part Type FS Type [Label] Size (MB) hda1 Boot Primary Linux 2147,48 2.5.2 Format the partition with mkfs /dev/hda1 2.5.3 Check with the program called parted whether everything is ok, enter 'print' followed by 'quit'. Output should be Number Start End Size Type File system Flags 1 32.3kB 2147MB 2147MB primary ext2 boot 2.6 Select Menu/Setup/Puppy universal installer See also http://www.puppylinux.com/hard-puppy.htm 2.6.1 Select "IDE (ATA) internal hard drive" 2.6.2 Select "hda VMware Virtual IDE Hard Drive, size 2 GiB" 2.6.3 Select Install Puppy to hda1 2.6.4 Click OK 2.6.5 At the question "Where are the Puppy files? ..." Click on the "CD" button. 2.6.6 Click OK 2.6.7 Select FULL Install 2.6.8 Wait 2.6.9 Wait until the Grub install dialog appears, select "Install GRUB" 2.6.10 Click OK 2.6.11 Accept the defaults (simple, standard, /dev/hda1), except at the Grub Destination Question. Select "MBR, Install to Master Boot Record (possibly unsave)" 2.6.12 Click OK 2.6.13 Click No (installation finished) 2.7 Edit /boot/grub/menu.lst and append line 15 with acpi=off (just after vga=normal) 2.8 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.4 At the GNU GRUB menu, select the first entry called Linux (on /dev/hda1) and hit enter. 3.5 Select the Xserver (Xvesa), keyboard layout and the resolution/color depth (800x600x24) again as you did it already at the steps above. 3.6 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 (e. g. under / 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 Rum vmshrink ./vmshrink