How to install Puppy without burning a CD
Posted: Fri 09 May 2008, 17:26
I Hate burning CDs. Its a slow tedious procedure and the CD is useless once the install is completed. So, faced with having no CDRs available to burn my newly downloaded Puppy Linux 4.00 iso. I searched around for a way to install puppy with out burning any CD.
I have a Sony Vaio FS630W laptop running Ubuntu. The general idea is to mount the iso so it can be read like a mounted CD. Copy the files on the iso to a directory and tell grub how to boot from that directory. Follow along:
1. Download Puppy Linux to your home or any directory.
2. Create a mount point for the Puppy iso.
sudo mkdir /media/iso
(In ubuntu use sudo; in other distros use su to become superuser)
3. Mount the iso
sudo mount /home/mydir/puppy-4.00-k2.6.21.7-seamonkey.iso /media/iso -o loop
4. Copy the files on the iso image to a permanent directory. This is the directory GRUB will boot Puppy from.
sudo mkdir /puppy
sudo cp /media/iso/* /puppy
5. Now that all the Puppy files are copied to your /puppy directory, you no longer need the iso so go ahead and unmount it.
sudo umount /media/iso
6. Now we change the menu.lst file of grub to enable booting our new pet.
sudo nano /boot/grub/menu.lst
7. Copy the configuration below to the bottom of the menu.lst file. Keep in mind the "root (hd0,2) means the 3rd partition on my machine. You must use the same number as the one where your /puppy directory is located.
#Puppy Linux
title PuppyLinux
root (hd0,2)
kernel /puppy/vmlinuz root=/dev/ram0
initrd /puppy/initrd.gz
8. Save the menu.lst file and reboot your system. When the Grub menu comes up, use the down arrow to highlight the puppylinux selection and puppy will boot just as if you had booted the computer with a CD.
You can now install Puppy to HD or usb or just keep using it.
I have a Sony Vaio FS630W laptop running Ubuntu. The general idea is to mount the iso so it can be read like a mounted CD. Copy the files on the iso to a directory and tell grub how to boot from that directory. Follow along:
1. Download Puppy Linux to your home or any directory.
2. Create a mount point for the Puppy iso.
sudo mkdir /media/iso
(In ubuntu use sudo; in other distros use su to become superuser)
3. Mount the iso
sudo mount /home/mydir/puppy-4.00-k2.6.21.7-seamonkey.iso /media/iso -o loop
4. Copy the files on the iso image to a permanent directory. This is the directory GRUB will boot Puppy from.
sudo mkdir /puppy
sudo cp /media/iso/* /puppy
5. Now that all the Puppy files are copied to your /puppy directory, you no longer need the iso so go ahead and unmount it.
sudo umount /media/iso
6. Now we change the menu.lst file of grub to enable booting our new pet.
sudo nano /boot/grub/menu.lst
7. Copy the configuration below to the bottom of the menu.lst file. Keep in mind the "root (hd0,2) means the 3rd partition on my machine. You must use the same number as the one where your /puppy directory is located.
#Puppy Linux
title PuppyLinux
root (hd0,2)
kernel /puppy/vmlinuz root=/dev/ram0
initrd /puppy/initrd.gz
8. Save the menu.lst file and reboot your system. When the Grub menu comes up, use the down arrow to highlight the puppylinux selection and puppy will boot just as if you had booted the computer with a CD.
You can now install Puppy to HD or usb or just keep using it.