How to DIY multi Puppy bootable disc?

Puppy related raves and general interest that doesn't fit anywhere else
Post Reply
Message
Author
hairy
Posts: 11
Joined: Tue 21 Jul 2009, 09:16
Location: Central Victoria, Australia

How to DIY multi Puppy bootable disc?

#1 Post by hairy »

Is there a link or could someone please help. I want to design multi boot Puppy disc for others to try and keep for later installation.

Cheers
hairy

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#2 Post by Caneri »

There are some puplets already made.
Wolf Pup has one here
http://puppylinux.ca/tpp/bugs/ISO/Puppy_Fancy/

I think there are some more but I can't put my finger on them at the moment.
Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

Yes, but we all want a tutorial on how to make one... so far I haven't seen any instructions although people ask about it every now and then.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

ArnaudN
Posts: 71
Joined: Sun 29 Apr 2007, 07:10
Location: France

#4 Post by ArnaudN »

Ultilex is a multi-distro live CD.
You can find a tutorial on how to build yours on their site:
http://ultilex.linux-bg.org/the_dao_of_ultilex.html

linus1972
Posts: 91
Joined: Thu 18 Jun 2009, 00:12
Contact:

#5 Post by linus1972 »

actually it' pretty easy
I made one for myself

I can't remember which puplets I used,as some would not work right

example
lets say i wanna make a cd of theses puplets

browserlinux0909

pupflux-4.2

lighthousepup

puppy-4.21

step 1)
extract all the iso images or mount/copy them to seperate folders
for lighthousepup, name the folder "LPup" or whatever

step 2) everything in the iso is in the foldr LPup
create a isolinux.cfg that will have a graphical boot menu
download syslinux here(not to install, just need menu.c32)
http://www.kernel.org/pub/linux/utils/boot/syslinux/

now, open that and go into folders com32/menu
and you want both menu.c32 and vesamenu.c32

here is sample Master isolinux.cfg for LPup

Code: Select all

default /boot/menu.c32
timeout 15
prompt 0

label lpup-menu
menu label LighthousePup
kernel /boot/menu.c32
append /LPup/lpup.cfg

label bpup-menu
menu label BrowserLinux
kernel /boot/menu.c32
append /BPup/bpup.cfg

label fpup-menu
menu label PupFlux
kernel /boot/menu.c32
append /FPup/fpup.cfg

label 421pup-menu
menu label Puppy 4.21
kernel /boot/menu.c32
append /421pup/421pup.cfg
now, make each one a sub-menu
just replace the names and stuff as all else is the same

example lighthousepup sub-menu

Code: Select all

default /boot/menu.c32
timeout 15
prompt 0

label lpup-copy
menu label LighthousePup toram restore save
kernel /LPup/vmlinuz
append initrd=/LPup/initrd.gz pmedia=cd psubdir=LPup pfix=copy root=/dev/ram0

label lpup-ram
menu label LighthousePup toram norestore
kernel /LPup/vmlinuz
append initrd=/LPup/initrd.gz pmedia=cd psubdir=LPup pfix=ram root=/dev/ram0

label lpup-nox
menu label LighthousePup toram restore save nox
kernel /LPup/vmlinuz
append initrd=/LPup/initrd.gz pmedia=cd psubdir=LPup pfix=copy,nox root=/dev/ram0

label lpup-norx
menu label LighthousePup toram norestore nox
kernel /LPup/vmlinuz
append initrd=/LPup/initrd.gz pmedia=cd psubdir=LPup pfix=ram,nox root=/dev/ram0
the cheatcodes there are "psubdir=name-of-folder-puppy-is-in"

pfix=ram "copy to ram, ignore saves"
pfix=copy "copy to ram and restore saves"
pfix=nox "no desktop, command line"

basically, put each puppy in a folder named " " whatever and then
edit isolinux.cfg to suit

did I miss anything?
OH, put each sub-menu .cfg file in appropriate pup folder
put lpup.cfg in the LPup folder, etc

also, make a folder named "isolinux" in in the boot folder
put isolinux.cfg in /boot/isolinux

to make it into an iso image, use this script
make_iso.sh
name it that too

Code: Select all

#!/bin/bash
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh [ /tmp/slax.iso ]
# author: Tomas M. <http://www.linux-live.org>
# ---------------------------------------------------

if [ "$1" = "--help" -o "$1" = "-h" ]; then
  echo "This script will create bootable ISO from files in curent directory."
  echo "Current directory must be writable."
  echo "example: $0 /mnt/hda5/slax.iso"
  exit
fi

CDLABEL="PUPPY"
ISONAME=$(readlink -f "$1")

cd $(dirname $0)

if [ "$ISONAME" = "" ]; then
   SUGGEST=$(readlink -f ../../$(basename $(pwd)).iso)
   echo -ne "Target ISO file name [ Hit enter for $SUGGEST ]: "
   read ISONAME
   if [ "$ISONAME" = "" ]; then ISONAME="$SUGGEST"; fi
fi

mkisofs -o "$ISONAME" -v -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/isolinux/isolinux.bin -c boot/isolinux/isolinux.boot ../.
copy/paste that into a new text file
name is make_iso.sh
make it execautable

"chmod +x make_iso.sh" without qoutes
in terminal

to execute and make iso, out make_iso.sh in the boot folder
then invoke with ./make_iso.sh
so, if folder containg all puppy folders is on Desktop
"cd Desktop/folder-name"
then
./make_iso.sh

or simply click it in ubuntu or puppy and choose run in terminal or run

so, just put all sepereate opup folders in a folder named bigpup
then put make_iso.sh in bigpup/boot folder
and each pup folder in bigpup folder
put isolinux folder in boot folder and isolinux.xfg in boot/isolinux

put each pup .cfg in pup folder

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#6 Post by James C »


User avatar
d4p
Posts: 439
Joined: Tue 13 Mar 2007, 02:30

#7 Post by d4p »


User avatar
d4p
Posts: 439
Joined: Tue 13 Mar 2007, 02:30

#8 Post by d4p »


User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

Achtung...

#9 Post by Max Headroom »

AnyBody kNow how to Boot iso images Dynamically On the Fly? from an eXternal USB Hard Dr or Flash Dr... WithOut Actually having the iso images eXtracted into Folders Previously. I'm Suggesting having a Collection of Dingo's, K9s, & Puplets etc Perhaps 25 or So Naked iso images w/ Grub installed ( a menu.lst File that would Need 2 be manually updated / edited by the user according 2 the Contents, Maybe a Script 2 Mnt the iso? But i'm Out of My Depth / Comfort Zone Here ) This way any one of these Puppies can First be Demo'd, Then Burnt from the Same iso image on that Storage medium. Please can is this Proposal Feasible / possible? if so instructions Please!

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#10 Post by cthisbear »


disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#11 Post by disciple »

Sorry Kevin, I keep forgetting to send you this. in theory something like this should work, but it didn't last time I tried it:

Code: Select all

title Boot from iso on a harddisk (Dangerous - testing)
map (hd1,0)/ISOS/puppy109CE.iso (hd2)
map --rehook
chainloader (hd2)+1
rootnoverify (hd2)
boot
Where hd2 is a pretend hard drive. I can't remember if the warning was that the iso has to be at the top of the (real) drive, or just in a top-level folder.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

Oh yeah, for the benefit of others I should have mentioned that when I tried this with Puppy (a year or so back) I couldn't get it to work.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply