How to add files to the Puppy 4.2 ISO?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

How to add files to the Puppy 4.2 ISO?

#1 Post by ecomoney »

Im trying to create a bootable with Puppy Linux 4.2 and some .sfs files and pets that will be a useful toolkit on my travels. Before (using 2.15ce) I have simply added the files using iso-master and burnt. Now when I prepare the ISO in 4.2 I get an error at boot with the created cd:-

Code: Select all

ISOLINUX 3.63 2008-04-10 isolinux: Image checksum error, sorry....

Boot failed: press any key to retry
When I try to use isomaster to create the 4.2 cd ISO in 2.15ce (which works with the 2.15ce ISO previously) I get an error when saving the ISO with a new name

Code: Select all

Failed to write image to '/mnt/home/distros/puppy42-Goodies.iso': 'Size of no emulation boot record visible on image must be divisible by 4 so i can do a checksum (invalid boot file?)'
Can anyone translate into English? :roll:
Attachments
DSC00121.JPG
(47.93 KiB) Downloaded 1764 times
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Bruce B

#2 Post by Bruce B »

215CD isolinux.bin is divisible by 4
4.12 isolinux.bin is not divisible by 4

I just compiled the syslinux kit version syslinux-3.74 and the compiled isolinux.bin is divisible by 4

-rwxr-xr-x 1 root root 14336 2009-04-12 14:14 isolinux.bin

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#3 Post by ecomoney »

Thanks for the reply. Erm...so are you saying I need to swap that file out from the cd with another one?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Bruce B

#4 Post by Bruce B »

The last four bytes are 00 - all you need do is lose the last byte with a
hexeditor to make it divisible by 4 - That's one thing to thing [sic]
about

Also, making it with the command line is another way and probably how
it was made.

I'll upload my new version isolinux.bin if you want it, but maybe there is
a reason for the existing isolinux.bin, a forked version, I don't know about ?!?

I guess if we experiment - CD-RW are the better media to use.
Last edited by Bruce B on Mon 13 Apr 2009, 00:39, edited 1 time in total.

Bruce B

#5 Post by Bruce B »

Did I mention I also compiled the newest isomaster after reading your post?

I did and it was a very easy make - also looks like a 'stand-alone' application.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#6 Post by ecomoney »

I'll upload my new version isolinux.bin if you want it, but maybe there is
a reason for the existing isolinux.bin, a forked version, I don't know about ?!?
Hmmm....the thought of a hex editor fills me with dread! I will be happy test to try out your isolinux.bin.

Does the new isomaster include checking for this?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

Latest Isomaster is available here.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

you can copy the files from the CD or iso to a folder, like to /mnt/sda2/iso.
Then copy there everything you want to add.
Then run:

cd /mnt/sda2

mkisofs -o mynew.iso -l -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table iso


Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Bruce B

#9 Post by Bruce B »

If it were me, I'd do it on the CLI, like Mark showed

But I attached the isolinux.bin anyway.
Attachments
isolinux.bin.gz
(10.34 KiB) Downloaded 383 times

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#10 Post by ecomoney »

Sorry for the late reply. I can confirm that Marks command line method works as a workaround. I havnt tested your patched isolinux.bin BruceB yet. I believe it needs including in the next edition of Puppy Linux, as it essentially breaks ISOMasters functionality. I personally have found that its great to include .sfs files and .pets (even mp3's I heard of someone doing).

Would someone point me in the right direction?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Post Reply