how to add files to puppy.iso? (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
andrei
Posts: 80
Joined: Wed 31 May 2006, 23:56

how to add files to puppy.iso? (Solved)

#1 Post by andrei »

Is it possible to add arbitrary files to puppy.iso?

By default, it has files: boot.cat boot.msg initrd.gz isolinux.bin isolinux.cfg pup_201.sfs vmlinuz.
But this leaves 80% of the CD unused. Can I add some of my data
files, without making the CD live?

Then, when I run Puppy, I would mount the CD and be able to use those data files.

Perhaps I could, before burning the iso file on the CD, just open
it with some program and write additional files into it? And then burn
it? Is it possible, without using the "live CD" option?

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

#2 Post by MU »

yes, this should work:
copy the files from your CD and all new ones to /tmp/iso

then run this command:

mkisofs -o /root/puppy.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /tmp/iso

This creates a new iso /root/puppy.iso, that you can burn to CD.

If you don't have enough space in your pup001, burn it directly:

mkisofs -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /tmp/iso | cdrecord -tao -v dev=ATAPI:/dev/hdc speed=2 -data -overburn fs=16m driveropts=burnfree -eject -

This "pipes" the iso directly to cdrecord without storing it on the harddisk.
You might have to alter the values for your CD-writer.

Did not try myself, this is based on forum-messages I found searching for "mkisofs".
Mark
Last edited by MU on Tue 20 Jun 2006, 02:40, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Why not burn the CD as a multisession Puppy live CD, then simply save the files you want to the CD? That way you have the Puppy OS and the files on the same CD, and the files will still be accessible from another Puppy by mounting the multisession CD.

If you really want the files on a separate CD, you can use one of the burning programs in Puppy to burn your files on a CD. You can even make it a multisession CD and leave it open for more sessions to be added later.

You can use burniso2cd to burn the initial multisession Puppy live CD. Some commercial burning programs have been reported capable of doing it too. I believe Nero is one.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

Mark, I used your instructions to make an iso after I swapped the vmlinuz in puppy2.01 iso:
sh-3.00#
sh-3.00# mkisofs -o /tmp/puppy-201-highmem.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /tmp/Puppy-201-highmem
Size of boot image is 4 sectors -> No emulation
13.82% done, estimate finish Sun Jul 2 21:02:33 2006
27.58% done, estimate finish Sun Jul 2 21:02:33 2006
41.39% done, estimate finish Sun Jul 2 21:02:33 2006
55.16% done, estimate finish Sun Jul 2 21:02:33 2006
68.96% done, estimate finish Sun Jul 2 21:02:33 2006
82.73% done, estimate finish Sun Jul 2 21:02:33 2006
96.54% done, estimate finish Sun Jul 2 21:02:33 2006
Total translation table size: 2048
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
36268 extents written (70 MB)
sh-3.00#
Then I used burniso2cd to burn a new DVD, then clicked the "save" icon to save the old settings to the new multisession DVD, shut down, restarted....

...And it works!

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

#5 Post by MU »

yeah, good news :D
Thanks for reporting the success :)
Mark

Post Reply