Page 1 of 1

How to remaster Precise-lite for non-UEFI boot ? [SOLVED]

Posted: Wed Apr 21, 2021 2:30 am
by 8Geee

So I have a nice distro Precise-Lite5.7.2mk2.4
I tried to remaster this but the Remaster script failed. It didn't generate the iso file.
The puppylivecdbuild folder and files are all there pristine.

How can I use these files to make an iso?
What app/program is there?
Target is non-UEFI boot (legacy) 32-bit with intent to burn to a CD (BurnIso2CD)

TIA
8Geee


Re: non-UEFI boot ?

Posted: Wed Apr 21, 2021 3:43 am
by perdido

Woofy from scottman looks interesting

https://oldforum.puppylinux.com/viewtop ... =57037&i=1


Re: How to remaster Precise-lite for non-UEFI boot ?

Posted: Wed Apr 21, 2021 4:04 am
by perdido

Hi 8Geee,

Something interesting, there is a command line for it.

Edit: Tried this and it worked :shock: :thumbup2:

https://unix.stackexchange.com/question ... stered-iso

Code: Select all

mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -no-emul-boot -boot-load-size 4 -boot-info-table -o "puppy_remaster.iso" myRelease

mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -no-emul-boot -boot-load-size 4 -boot-info-table -o "puppy_remaster.iso" myRelease

In the above command line, red indicates the name of the finished .iso and blue indicates the name of the directory containing the files to build into the .iso

First I ran through the motions of the precise-light-5.7.2-mk2.4 "Remaster Puppy live-CD" program and got a directory with files and no .iso file (like you did), that created the updated files for the remaster in /puppylivecdbuild directory
By running "Remaster Puppy live-CD" also gives you the opportunity to do changes to /root and /etc if you need to.
Then I renamed the /puppylivecdbuild directory to myRelease to match the above command as it was written.
Extracted all the files from my original precise-light .iso and copied what was missing (help directory, Windows_installer directory, and boot.catalog file) into the renamed myRelease directory (don't know if needed but did it anyway)
The myRelease directory now mirrored the same file names as the files extracted from the original precise-light-5.7.2-mk2.4.iso
Opened a terminal in Rox and ran the command as written and it created a bootable .iso - very quickly. (the /myRelease directory was on the root of the sda2, I started Rox on sda2 and opened terminal there)
The newly built .iso is named puppy_remaster.iso, you can change the name in the command line to something other if you wish.

Burned it to a CD and it boots just like the original, even has the "unknown keyword in configuration file: ui", then sits on Boot: for a couple seconds then boots
Exactly like the original precise-light-5.7.2-mk2.4.iso

Much easier than I thought it would go, I was expecting to waste a CD
Pretty neat.

P.S. If you want to get rid of that "unknown keyword in configuration file: ui" message during boot of the CD, I believe it comes from isolinux.cfg having the line "ui vesamenu.c32" on line #10
Throws the message when it can't find the vesamenu.c32 because that file is not there, the original Precise 5.7.1 does not have that file either. Probably snuck in there building with the late model WoofCE, I do see that file in Bionic

<>


Re: How to remaster Precise-lite for non-UEFI boot ?

Posted: Fri Apr 23, 2021 5:25 am
by 8Geee

Thanks for the code splice. perdido.

Copied the Windows Installer, and boot.catalog into the "puppylivecdbuild" directory, and renamed the iso. Using the native source puppylivecdbuild as modified. Also commented out # line 10 in the cfg file.

8Geee


Re: How to remaster Precise-lite for non-UEFI boot ?

Posted: Fri Apr 23, 2021 10:33 am
by mikewalsh

@8Geee :-

jrb's old PupBuildTools suite still works well for me.....from here:-

https://oldforum.puppylinux.com/viewtop ... 64#p453164

Just FYI.

Mike. ;)


Re: How to remaster Precise-lite for non-UEFI boot ?

Posted: Sat Apr 24, 2021 2:30 am
by 8Geee

Just an update...
The full file path needs to be typed for the source (regarding puppylivecdbuild or perdido's example used).
Did the trick... will mark this one solved.

Regards and thanks
8Geee