It is currently Sun Nov 23, 2014 10:48 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: HOWTO: Integrate Puppy Linux with UBCD V4
PostPosted: Sun Apr 01, 2007 4:11 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1302
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:
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:
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:
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".


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 22, 2007 8:10 pm 
Offline

Joined: Mon Apr 30, 2007 11:06 am
Posts: 298
Location: FL
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 24, 2007 7:06 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1302
I tried various methods, but couldn't get it to work either.

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 25, 2007 11:59 am 
Offline

Joined: Mon Apr 30, 2007 11:06 am
Posts: 298
Location: FL
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!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 1:44 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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:
Quote:
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:
Quote:
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:
Quote:
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:
Quote:
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


Top
 Profile  
 
 Post subject: error PUP_412.SFS not found
PostPosted: Sun Feb 22, 2009 12:39 am 
Offline

Joined: Sun Feb 22, 2009 12:32 am
Posts: 2
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


Top
 Profile  
 
 Post subject: Puppy v4.3 - not working
PostPosted: Thu Oct 15, 2009 10:03 am 
Offline

Joined: Wed Oct 07, 2009 4:11 pm
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 15, 2009 10:23 am 
Offline

Joined: Mon Apr 30, 2007 11:06 am
Posts: 298
Location: FL
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group