HOWTO: Integrate Puppy Linux with UBCD V4

If you have a tutorial or tip related to the UBCD, why not share it with other users here?

Moderators: Icecube, StopSpazzing

Locked
Message
Author
Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

HOWTO: Integrate Puppy Linux with UBCD V4

#1 Post by Victor Chew » Sun Apr 01, 2007 4:11 am

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".

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#2 Post by The Piney » Sun Jul 22, 2007 8:10 pm

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

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#3 Post by Victor Chew » Tue Jul 24, 2007 7:06 am

I tried various methods, but couldn't get it to work either.

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

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#4 Post by The Piney » Wed Jul 25, 2007 11:59 am

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!!!!!

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#5 Post by Icecube » Wed Jan 21, 2009 1:44 pm

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

asim987345
Posts: 2
Joined: Sun Feb 22, 2009 12:32 am

error PUP_412.SFS not found

#6 Post by asim987345 » Sun Feb 22, 2009 12:39 am

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

EllisDeeInMe
Posts: 2
Joined: Wed Oct 07, 2009 4:11 pm

Puppy v4.3 - not working

#7 Post by EllisDeeInMe » Thu Oct 15, 2009 10:03 am

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

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#8 Post by The Piney » Thu Oct 15, 2009 10:23 am

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.

Locked