Page 1 of 1

GRUB4DOS for Multiboot of Puppy in USB Drive

Posted: Wed 21 Nov 2012, 05:20
by umair
Update: 19-August-2014: I have updated new screenshots from KUST OS 15.1 based on X-Precise 2.1 as old screenshots were deleted due to the huge size

I was interested to use my 2 GB usb drive as multi boot of different puppy linux flavors. I searched on the forum and found Multipup.pet for this purpose. But it was very hard to me to configure (I think it will take time to learn the technique of Multi pup or may be I was not able to find a proper documentation of). So I decided to do this with GRUB4DOS program and believe me It was very easy for me to configure. I want to share this information for a users like me :-)

STEP1: Use Any of puppy linux version which already have GRUB4DOS. I used KUST OS 15.1 based on X-Precise 2.1. If ur puppy linux doesn't have GRUB4DOS, you may find the .pet here: http://www.murga-linux.com/puppy/viewtopic.php?t=51697.

Run GRUB4DOS from the Menue->system option than select your desired USB Flash Drive as U can see in Screenshots:

STEP2: Click on OK, it will search the desired puppy installations (if any) in your usb thn creats a menu.lst. Just go for default settings and in the last click exit.

STEP3: After above step you successfully installed the GRUB4DOS in ur USB drive. Its time to edit your menu.lst file, which you can find in your USB drive. I m posting the screen shot. heres my menu list entry:
(NOTE: Make a directory/folder in your drive according to your settings. uncompressed the ISO of any puppy linux which you want in your Flash Drive, I used file roller for this. Extract to the folder which you created. I created lupu for lucid puppy 525, polar for Polar pup and so on........)
Menu Entry is below:
# menu.lst produced by grub4dosconfig-v1.7.1
color blue/cyan yellow/blue white/black cyan/black
timeout 10
default 0

# Frugal installed Puppy

title Lucid pup
root=(hd0,0)
kernel /lupu/vmlinuz PMEDIA=usbflash PDEV1=sdb1 psubdir=lupu pfix=fsck
initrd /lupu/initrd.gz

title Polar Pup
root=(hd0,0)
kernel /polar/vmlinuz PMEDIA=usbflash PDEV1=sdb1 psubdir=polar pfix=fsck
initrd /polar/initrd.gz

title FAT Slako
root=(hd0,0)
kernel /fatslako/vmlinuz PMEDIA=usbflash PDEV1=sdb1 psubdir=fatslako pfix=fsck
initrd /fatslako/initrd.gz

title Carolina
root=(hd0,0)
kernel /carolina/vmlinuz PMEDIA=usbflash PDEV1=sdb1 psubdir=carolina pfix=fsck
initrd /carolina/initrd.gz

title Wary Pup
root=(hd0,0)
kernel /wary/vmlinuz PMEDIA=usbflash PDEV1=sdb1 psubdir=wary pfix=fsck
initrd /wary/initrd.gz

title Find Grub menu on HDD
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
errorcheck off
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title Find Grub2\nBoot up grub2 if installed
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img
title Grub4Dos commandline\n(for experts only)
commandline
title Reboot computer
reboot
title Halt computer
halt

STEP4: Delete your menu.lst text and paste above in your menu.lst file. Save the file and Exit.
THATS IT. AT THIS POINT YOU JUST CONVERTED YOUR USB DRIVE TO USE MULTIPLE PUPPY LINUX FLAVOURS IN ONE USB DRIVE.

Hope that it will be useful for puppy linux users.
Best Regards
UMAIR

Posted: Wed 21 Nov 2012, 14:05
by KJ
Thanks for the Info. Did you reformat the flash-drive? Is each Puppy version on a separate partition? Thanks KJ

Posted: Wed 21 Nov 2012, 14:27
by umair
KJ wrote:Thanks for the Info. Did you reformat the flash-drive? Is each Puppy version on a separate partition? Thanks KJ
Hi KJ:
U dont need to format or reformat your usb drive for this. Also no need to create separate partitions for each puppy. You can place all your linux puppies in a single partition but ofcourse in a separate folder/directory. It is also to mention that your previous USB data will not be effected using GRUB4DOS. I did this previously many times without loosing any data.
Hope that you got the point.
UMAIR

Posted: Thu 22 Nov 2012, 14:04
by KJ
umair ..... Thanks for the quick response. Looked interesting, so I gave it a quick try ..... works great and much easier than the partitioned method I was using. Thanks again. KJ

Posted: Thu 22 Nov 2012, 17:59
by umair
KJ wrote:umair ..... Thanks for the quick response. Looked interesting, so I gave it a quick try ..... works great and much easier that the partitioned method I was using. Thanks again. KJ
Glade to know that worked for you :-). I am sure many users will find this very easy to setup as you.
Regards
UMAIR

Posted: Thu 22 Nov 2012, 18:21
by puppyluvr
:D Hello,
@umair,
When I created MultiPup Grub4dos was new to me, and I had not used it.
I am in the process of rebuilding it to include several changes created by other Dev`s,
to make it more compatible with newer Xfce Pups with Thunar..
And a new button, "Install to USB", will be included for those with Grub4dos installed..
I still use Legacy Grub 1, and have for 5 years..
Agreed, I need better documentation in MultiPup, though it was created to be as user friendly
as possible. The "readme" will be replaced with an html page with all the faq`s and tips from the Forum thread, the brilliant suggestions from other Dev`s, and most of this thread, as you have made very clear instructions here, and I never reinvent the wheel.. :wink:
With a few alterations, MultiPup will be able to automate the Grub menu process for Grub4dos, a major relief to many users..
Anyhow, nice post, and thanks for the reminder to get on to fixing MultiPup..
8)

Posted: Fri 23 Nov 2012, 13:51
by umair
puppyluvr wrote::D Hello,
@umair,
When I created MultiPup Grub4dos was new to me, and I had not used it.
I am in the process of rebuilding it to include several changes created by other Dev`s,
to make it more compatible with newer Xfce Pups with Thunar..
And a new button, "Install to USB", will be included for those with Grub4dos installed..
I still use Legacy Grub 1, and have for 5 years..
Agreed, I need better documentation in MultiPup, though it was created to be as user friendly
as possible. The "readme" will be replaced with an html page with all the faq`s and tips from the Forum thread, the brilliant suggestions from other Dev`s, and most of this thread, as you have made very clear instructions here, and I never reinvent the wheel.. :wink:
With a few alterations, MultiPup will be able to automate the Grub menu process for Grub4dos, a major relief to many users..
Anyhow, nice post, and thanks for the reminder to get on to fixing MultiPup..
8)
Hi Puppyluvr:
Thanks for appreciation and sharing your ideas. Will wait for your polished multipup ;).
Regards
UMAIR