Page 1 of 1

HOWTO: Integrate Puppy Linux with UBCD V4

Posted: Sun Apr 01, 2007 4:11 am
by Victor Chew
Here's how you can integrate Puppy Linux into UBCD V4. The instructions are based on Puppy Linux V2.13, but should work with other versions as well.

First extract the content of both Puppy Linux and UBCD to your harddisk. I am assuming the content of Puppy Linux is in c:\puppy, while the content of UBCD is in c:\ubcd.

c:\puppy should have the following files/folders:

Code: Select all

boot.cat
boot.msg
initrd.gz
isolinux.bin
isolinux.cfg
pop_213.sfs
vmlinuz
zdrv_213.sfs
Copy

- c:\puppy\pop_213.sfs to c:\ubcd
- c:\puppy\zdrv_213.sfs to c:\ubcd
- c:\puppy\vmlinuz to c:\ubcd\custom\puppy
- c:\puppy\initrd.gz to c:\ubcd\custom\puppy.gz

c:\ubcd should now look like this:

Code: Select all

boot\
custom\
  custom.cfg
  puppy
  puppy.gz
dosapps\
images\
isolinux\
menus\
syslinux\
tools\
website\
puppy_213.sfs
zdrv_213.sfs
ubcd.ico
autorun.inf
Edit "c:\ubcd\custom\custom.cfg" with a text editor:

Code: Select all

MENU INCLUDE /menus/defaults.cfg
LABEL back
  MENU LABEL ..
  KERNEL menu.c32
  APPEND /menus/main.cfg
LABEL puppy
  MENU LABEL Puppy Linux V2.13
  KERNEL /custom/puppy
  APPEND root=/dev/ram0 initrd=/custom/puppy.gz loglevel=3 PMEDIA=idecd
NOTE: The boot command is actually copied from c:\puppy\isolinux.cfg.

That's it! Create a customized UBCD image using "c:\ubcd\tools\ubcd2iso\ubcd2iso.bat" and you are ready to run Puppy Linux under "User-Defined Tools".

Posted: Sun Jul 22, 2007 8:10 pm
by The Piney
I've been able to get up to version 2.15CE to work, but 2.16 and the new 2.17 keep getting an error " unable to find cd". I've tried the pmedia=cd and idecd and they don't work. Has anyone been able to get the last couple versions of Puppy to work with UBCD?

TIA,

The Piney

Posted: Tue Jul 24, 2007 7:06 am
by Victor Chew
I tried various methods, but couldn't get it to work either.

if anyone could provide insight, it will be much appreciated!

Posted: Wed Jul 25, 2007 11:59 am
by The Piney
Thanks to TOM/pcuser over at the UBCD4Win forum I have a working puppy 2.17 in UBCD (DOS)...

I have vmlinuz, initrd.gz, isolinux.bin and zdrv_217.sfs in UBCD/puppy and pup_217.sfs in the root directory.

The entry I have in the menu cfg is:

LABEL puppy
MENU LABEL Puppy Linux V2.17
KERNEL /puppy/vmlinuz
APPEND root=/dev/ram0 initrd=/puppy/initrd.gz pmedia=cd psubdir=puppy

It doesn't boot in VirtualBox (freezes about halfway through) but boots perfectly from CD.

Not sure if the isolinux.bin file is needed but it's only 11kb so it's not a problem leaving it in.

Thanks Tom!!!!!

Posted: Wed Jan 21, 2009 1:44 pm
by Icecube
Extract the UBCD iso to C:\UBCD-extract.

Extract the Puppy Linux iso to C:\UBCD-extract\puppy\ (version 4.1.1 used):
It should contain the following files:
boot.cat ==> delete this file
boot.msg
initrd.gz
isolinux.bin ==> delete this file
isolinux.cfg
pup_411.sfs
vmlinuz
Change C:\ubcd-extract\puppy\isolinux.cfg (for running Puppy linux from a CD) to:
default puppy
display /puppy/boot.msg
prompt 1
label puppy
kernel /puppy/vmlinuz
append initrd=/puppy/initrd.gz pmedia=cd psubdir=puppy
timeout 50
Make a file C:\ubcd-extract\puppy\syslinux.cfg (for running Puppy linux from an usb drive) with the following content:
default puppy
display /puppy/boot.msg
prompt 1
label puppy
kernel /puppy/vmlinuz
append initrd=/puppy/initrd.gz pmedia=usbflash psubdir=puppy
timeout 50
The CONFIG command loads the isolinux config file for Puppy Linux, with all options as the normal Puppy Linux cd, but this requires a new version of isolinux.
Download syslinux from http://www.kernel.org/pub/linux/utils/boot/syslinux/.
Extract the syslinux archive to "c:\syslinux\".

To update isolinux for the CD version
- Copy "c:\syslinux\core\isolinux.bin" to "C:\UBCD-extract\isolinux\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "C:\UBCD-extract\isolinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "C:\UBCD-extract\isolinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "C:\UBCD-extract\isolinux\"

To update syslinux for the bootable USB key
- Copy "c:\syslinux\core\ldlinux.sys" to "C:\UBCD-extract\syslinux\".
- Copy "c:\syslinux\mbr\mbr.bin" and "c:\syslinux\ldloader.bss" to "C:\UBCD-extract\tools\ubcd2usb\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "C:\UBCD-extract\syslinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "C:\UBCD-extract\syslinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "C:\UBCD-extract\syslinux\"

Change /custom/custom.cfg to:
MENU INCLUDE /menus/defaults.cfg
LABEL back
MENU LABEL ..
KERNEL menu.c32
APPEND /menus/main.cfg
LABEL puppycd
MENU LABEL Puppy Linux V4.1.1 (CD)
CONFIG /puppy/isolinux.cfg
LABEL puppyusb
MENU LABEL Puppy Linux V4.1.1 (USB)
CONFIG /puppy/syslinux.cfg

error PUP_412.SFS not found

Posted: Sun Feb 22, 2009 12:39 am
by asim987345
Thanks For Reading My Reply

Here is My isolinux.cfg

DEFAULT /boot/isolinux/vesamenu.c32
PROMPT 0
TIMEOUT 300
TOTALTIMEOUT 450
####
#### The 1st byte of the fgnd color is brightness.
#### blue
MENU COLOR title 1;36;44 #ff0000ff #00000000 std
#### blue
MENU COLOR unsel 37;44 #ff0000ff #00000000 std
#### white
MENU COLOR sel 7;37;40 #c0ffffff #ff000000 std
#### red
MENU COLOR hotkey 1;37;44 #ffff0000 #00000000 std
#### green
MENU COLOR hotsel 1;7;37;40 #ff00ff00 #ff000000 all
####

MENU DEFAULT

# hd
label boot from hard disk
localboot 0x80

LABEL XP ESSENTIAL
MENU LABEL WINDOWS XP ESSENTIAL EDITION
KERNEL /PRO3.bin

LABEL XP ESSENTIAL + DRIVERS
MENU LABEL WINDOWS XP ESSENTIAL + DRIVERS EDITION
KERNEL /PRO2.bin

LABEL XP DEFAULT
MENU LABEL WINDOWS XP DEFAULT EDITION
KERNEL /PRO1.bin

label puppy
kernel /puppy/vmlinuz
append initrd=/puppy/initrd.gz pmedia=cd psubdir=puppy

LABEL tools
MENU LABEL TOOLS
KERNEL /loader.bin

Puppy v4.3 - not working

Posted: Thu Oct 15, 2009 10:03 am
by EllisDeeInMe
Following Icecubes directions this isn't working with the latest version of puppy but only tried it in virtual box with a installation of windows 7

Posted: Thu Oct 15, 2009 10:23 am
by The Piney
I've had quite a few Linux Live CDs not work as an addon when running in VirtualBox and other VMs that have run fine when run from the booted CD. If your using CD-RW media, try burning and testing while booting from the CD.