Page 1 of 1

Remaster a Puppy Linux ISO File Manually

Posted: Fri Apr 05, 2024 12:53 am
by rockedge

How to Remaster a Puppy Linux ISO File Manually
Assuming that one has made an installation of the ISO file that one wants to modify, proceed with the following procedure.
Copy the existing file system to a working directory, e.g. for a frugal installation:

Code: Select all

mkdir -p /mnt/home/workingdirectory
cp -a  /initrd/pup_ro2/* /mnt/home/workingdirectory

Modify the contents of the working directory to one's requirements, e.g. by inspecting the contents of the personal storage save folder or file (either/initrd/pup_rw for pupmode 12 or /initrd/pup_ro1 for pupmode 13) and then copying from there the directories /etc, /root, /usr and /var

WARNING: if the ISO file is for wide distribution one must be selective as to what is copied from those directories

Create the SFS file of the modified file system, e.g.:

Code: Select all

mkdir -p /mnt/home/remasterdirectory
cd /mnt/home
mksquashfs workingdirectory remasterdirectory/puppyremaster.sfs -noappend

Copy any necessary files to /mnt/home/remasterdirectory from the original ISO file (or optical disc) so as to create a complete and new ISO file:

Code: Select all

cd /mnt/home
mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -V "Puppy Linux remaster" -no-emul-boot -boot-load-size 4 -boot-info-table -o "newpuppy.iso" remasterdirectory
    

If using a /boot directory in /remasterdirectory/boot the mkisofs command would look like this example:

Code: Select all

mkisofs -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -D -l -R -v -V "Puppy Linux remaster" -no-emul-boot -boot-load-size 4 -boot-info-table -o "newpuppy.iso" remasterdirectory
isohybrid newpuppy.iso

Re: Remaster a Puppy Linux ISO File Manually

Posted: Sat Apr 06, 2024 7:05 am
by Jasper

@rockedge

Thanks for sharing this :thumbup2:

Please, can you pin this to the top of the forum, so that it is not lost amongst all the threads in this section?

Just to clarify, this should be carried out in a Linux partition and not a NTFS nor FAT32?

Thanks!


Re: Remaster a Puppy Linux ISO File Manually

Posted: Sat Apr 06, 2024 1:49 pm
by rockedge
Jasper wrote:

Just to clarify, this should be carried out in a Linux partition and not a NTFS nor FAT32?

Yes, correct. This operation should be done on Linux ext2/ext3/ext4 formatted partitions.

I actually have not tried it on a FAT32 or NTFS formatted partitions. 8-)


Re: Remaster a Puppy Linux ISO File Manually

Posted: Sat Apr 06, 2024 2:42 pm
by Jasper

@rockedge

This is just me "throwing it out there"

The new Linux kernel 6.9 includes a newer/better exFAT driver.

I think most modern USB flash drives and MicroSD cards (I think my Samsung/Sandisk do).

General info from Microsoft ..... it's an old article:
https://cloudblogs.microsoft.com/openso ... ux-kernel/

Also, GParted v1.60 includes better support for exFAT:
https://9to5linux.com/gparted-1-6-open- ... fixes-bugs

and there has been discussion of this used in Bookworm:
viewtopic.php?t=2341

It would be useful to know if this could also be an option too.

.............. could this be implemented in StickPup ??
viewtopic.php?t=5313

Also, this would mean that 'Save Files' could be larger than 4GB which is the limit on a FAT32 USB flash drive (?)

I have digressed somewhat .......... :lol:


Re: Remaster a Puppy Linux ISO File Manually

Posted: Mon Apr 08, 2024 12:03 pm
by Amol

Hello rockedge !
Thank you for this topic.It should be great to have the same thing for changing the kernel only in a puppy iso file.Can you give us the how to ?
Thanks in advance.
Amol


Re: Remaster a Puppy Linux ISO File Manually

Posted: Mon Jul 01, 2024 9:14 pm
by jesudia

It would be very important to make an iso of your Puppy Linux with your browser configured and your preferred applications installed,
I have tried this Puppy Linux and it works great, it is incredible, upup-20.04-jrb-e1.iso the ideal puppy runs on ryzen 5, lenovo t440, with scrcpy, yt-dlp, etc.

https://easyos.org/user/ultra-secure-web-browsing.html