Puppy multiboot usb/hd/cd using grub4dos

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
jlst

Puppy multiboot usb/hd/cd using grub4dos

#1 Post by jlst »

Puppy multiboot usb/hd/cd using grub4dos

This is probably an easy method..

If you'd like to learn more about grub4dos, visit these sites:
http://diddy.boot-land.net/grub4dos/Grub4dos.htm
http://www.rmprepusb.com/tutorials/grub ... nds-primer

grub4dos files
--------------
grldr (grub4dos bootloader)
menu.lst (grub4dos menu)
other menu files
splash.bmp.gz [eye candy]

This file contains all grub4dos files and a directory layout ready to be used:
zzgrub4dos.tar.gz
zzgrub4dos.tar.gz (mirror)

There are 3 directories:
- atahd: for hard disks
- cd: for cds/dvds
- usbhd: for flash drives

This was generated by a script so I hope everything is ok..

############################################################

HARD DISK
----------
We must use bootlace.com or weesetup [mine] to 'install it' into the MBR

We'll use the weesetup binary from zzgrub4dos.tar.gz

Identify the correct dive by using:

Code: Select all

fdisk -l
For example, we're going to install wee in sdb (second drive)

Code: Select all

weesetup -f -u -d /dev/sdb
Now copy all the contents from atahd/* to to the root of any partition on sdb

In the PUPPYBOOT folder there are subdirectories like

Code: Select all

precise
tahrpup
slacko
Mount/extract your puppy ISOs and copy the contents to the appropriate directory

Analyze the sample menu/directory layout, you can add more items if you wish.

Done

############################################################

USB DRIVE [I haven't tested weesetup in a usb yet hehe..]
---------
We must use bootlace.com or weesetup [mine] to 'install it' into the MBR

We'll use the weesetup binary from zzgrub4dos.tar.gz

Identify the correct drive by using:

Code: Select all

fdisk -l
Make sure it's the correct drive!

Suppose we chose the sdd drive, which is the correct usb drive of course.

Now with gparted, select device: /dev/sdd:
- Menu Device -> Create partition table [choose msdos]
- Menu Partition -> New

(check zgparted-screenshots from zzgrub4dos.tar.gz [taken some time ago])

Now it's time to install wee to the drive

Code: Select all

weesetup -f -u -d /dev/sdd
I don't recommend installing more than once in a usb drive,
the usb might stop booting and you must do everything again.

Now copy all the contents from usbhd/* to the root of any partition on sdd

In the PUPPYBOOT folder there are subdirectories like

Code: Select all

precise
tahrpup
slacko
Mount/extract your puppy ISOs and copy the contents to the appropriate directory

Analize the sample menu/directory layout, you can add more items if you wish.

Done

############################################################

CD/DVD
---------
In the cd/PUPPYBOOT folder there are subdirectories like

Code: Select all

precise
tahrpup
slacko
Mount/extract your puppy ISOs and copy the contents to the appropriate directory

Analyze the sample menu/directory layout, you can add more items if you wish.

Now everything is ready in the 'cd' directory so we must go to that directory and open a terminal a window.

Then type this to create the ISO file:

Code: Select all

cd ..
mkisofs -J -D -R -V PUPPYMB -o puppy_multiboot.iso -b grldr -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table cd
Burn the ISO, and boot with the CD/DVD

Done

User avatar
eric52
Posts: 252
Joined: Mon 16 Nov 2015, 23:02
Location: Southbury, CT

#2 Post by eric52 »

Thanks a lot, jlst, I've been trying to figure G4D out for a while. This should help a great deal.
Today only. Anger not. Worry not. Be grateful working karma. Be kind.

Post Reply