Software company albania
Header

Dual Boot Puppy Linux With Ubuntu

December 16th, 2011 | Posted by dashohoxha in Puppy Linux | Ubuntu Linux

Lately I tried to install Puppy Linux alongside with my Ubuntu. It is not difficult at all, however it was not immediately obvious how to do it. I am noting down the steps, in case they may be useful for somebody else.

  1. First of all, download lupu-528.003.iso from: http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.2.8/
  2. Then mount it and copy its files to the directory /puppy/ on the root (/):
    mkdir puppy_iso
    sudo mount -o loop lupu_528.003.iso puppy_iso/
    ls puppy_iso/
    
    sudo mkdir /puppy
    sudo cp puppy_iso/vmlinuz /puppy/
    sudo cp puppy_iso/initrd.gz /puppy/
    sudo cp puppy_iso/lupu_528.sfs /puppy/
    
    sudo umount puppy_iso/
    rmdir puppy_iso/

 

The installation of puppy is already finished, but we need a way to boot it. We can do this by adding a new menu entry on grub. It can be done like this:

  1. Create a new file on /etc/grub.d/:
    cd /etc/grub.d/
    sudo cp 40_custom 07_puppy
    sudo vim 07_puppy
  2. Append these lines to 07_puppy:
    menuentry 'Puppy Linux' --class puppy --class gnu-linux --class os {
      set root=(hd0,msdos8)
      linux /puppy/vmlinuz
      initrd /puppy/initrd.gz
    }
  3. Update the grub config: sudo update-grub
  4. Verify that the grub menuentry is correct: vim /boot/grub/grub.cfg
    Make sure that the root of Puppy Linux is the same as that of Ubuntu, for example: set root=(hd0,msdos8) If not, then correct /etc/grub.d/07_puppy and run again update-grub .

 

Note: Ubuntu uses GRUB2, but some other systems may still have the old GRUB. In this case, you have to edit manually /boot/grub/grub.cfg and add some lines like this:

title Puppy Linux
  rootnoverify (hd0,7)
  kernel /puppy/vmlinuz root=/dev/ram0
  initrd /puppy/initrd.gz

 

Now reboot the PC and enjoy Puppy.

 

References:

 

 

You can follow any responses to this entry through the RSS 2.0 You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *