This document called "How to install Puppy Linux 3.01 on Virtualbox" has been written by Dipl.-Inf. (FH) Johann N. Loefflmann (http://www.jonelo.de, mailto:jonelo@jonelo.de) February 23, 2008 Acknowledgement: Barry Kauler is the original developer and current maintainer of Puppy Linux (http://www.puppylinux.com). How to install Puppy Linux on a Virtualbox image ================================================ If you want to install Puppy Linux 3.01 on a Virtualbox image by your own, just follow the instructions. Tested Puppy Release: Puppy Linux 3.01 Step 1 - Preparation -------------------- 1.1 Download and install Virtualbox on your computer http://www.virtualbox.org 1.2 Start Vitrualbox, note if you start Virtualbox the first time an optional registration dialog appears, you can simply close the window if you don't want to register. 1.3 Download the Live iso image from http://www.puppylinux.com/cd-puppy.htm I have used puppy-3.01-seamonkey.iso Step 2 - Install Puppy Linux by using the Live CD iso ----------------------------------------------------- 2.1 Start VirtualBox 2.2 Select New, click Next 2.3 Enter a name for the virtual machine, eg. Puppy Linux 3.01 Select Linux 2.6 for the OS Type, click Next 2.4 Select at least 256 MB Base Memory, click Next 2.5 Click on New..., click on Next, select Dynamically expanding image, click Next 2.6 Set the image size to at least 2 GB, click Next, click Finish 2.7 Select the .vdi harddisk as bood hard disk and click next, click Finish 2.8 Click on CD/DVD-ROM in the Details tab, Click on Mount CD/DVD Drive Click on ISO Image File and select the puppy-3.01-seamonkey.iso file 2.9 Click on Start to boot the virtual machine 2.10 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.11 Select 800x600x24. Click on the OKAY button. 2.12 Prepare the disk with cfdisk, mkfs and parted 2.12.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.12.2 Format the partition with mkfs /dev/hda1 2.12.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.13 Select Menu/Setup/Puppy universal installer See also http://www.puppylinux.com/hard-puppy.htm 2.13.1 Select "IDE (ATA) internal hard drive" 2.13.2 Select "hda VBOX HARDDISK, size 2 GiB" 2.13.3 Select Install Puppy to hda1 2.13.4 Click OK 2.13.5 At the question "Where are the Puppy files? ..." Click on the "CD" button. 2.13.6 Click OK 2.13.7 Select FULL Install 2.13.8 Wait 2.13.9 Wait until the Grub install dialog appears, select "Install GRUB" 2.13.10 Click OK 2.13.11 Accept the defaults (simple, standard, /dev/hda1), except at the Grub Destination Question. Select "MBR, Install to Master Boot Record (possibly unsave)" 2.13.12 Click OK 2.13.13 Click No (installation finished) 2.14 Exit the Live CD by selecting Menu -> Shutdown -> Power-off computer Select "DO NOT SAVE" at the last dialog. Wait until the Virtual machine is entirely closed. You should now be back at the Main Window. Step 3 - Configure the installed Puppy Linux -------------------------------------------- 3.1 Click on CD/DVD-ROM Click on "the Mount CD/DVD Drive" again to unmount the puppy-3.01-seamonkey.iso ISO image. Click Ok. 3.2 Click on Start 3.3 At the GNU GRUB menu, select the first entry called Linux (on /dev/hda1) and hit enter. 3.4 Select the Xserver (Xvesa), keyboard layout and the resolution/color depth (800x600x24) again as you did it already at the steps above. 3.5 Do any configuration you like (configure the network for example with Menu/Setup/Network Wizard) 3.6 Modify /boot/grub/menu.lst if you want to avoid the grub selection menu during the startup Step 4 - Optimize the Virtual Machine (optional) ------------------------------------------------ 4.1 Run VBoxManage modifyvdi compact