LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   BionicPup ISO for BIOS only boot (https://www.linuxquestions.org/questions/puppy-71/bionicpup-iso-for-bios-only-boot-4175657379/)

savage72 07-14-2019 08:32 AM

BionicPup ISO for BIOS only boot
 
Does anyone know how the bionicpuppy i386 32bit ISO was packed? (ie. what parameters were used)
I need to repack the iso but WITHOUT the support for EFI/Hybrid boot.
I have tried a couple attempts but no success yet.
For comparison, The puppy tahr iso is built for BIOS only.

I have been studying the following references to wrap my head around packing a bootable ISO.
https://wiki.osdev.org/El-Torito#Exa...n_Run_for_BIOS
https://wiki.debian.org/RepackBootab...uction_command

Any help is greatly appreciated!

linus72 07-14-2019 09:33 AM

Just to be sure which iso are you looking to edit from here? Bionicpup64?
http://puppylinux.com/download.html

linus72 07-14-2019 09:35 AM

sorry i meant 32bit Im downloading now and will convert it to non-uefi

savage72 07-14-2019 09:36 AM

Quote:

Originally Posted by linus72 (Post 6014944)
Just to be sure which iso are you looking to edit from here? Bionicpup64?
http://puppylinux.com/download.html

Actually, BionicPup32 is what i'm after!

savage72 07-14-2019 09:46 AM

Quote:

Originally Posted by linus72 (Post 6014944)
Just to be sure which iso are you looking to edit from here? Bionicpup64?
http://puppylinux.com/download.html

Quote:

Originally Posted by linus72 (Post 6014946)
sorry i meant 32bit Im downloading now and will convert it to non-uefi

That'd be awesome! HUGE thanks if do it!
And If you care to share how you accomplish it, that would be helpful. ie. what parameters/files are necessary to pack it as BIOS only without EFI/Hybrid support.

linus72 07-14-2019 10:12 AM

ok I got it,
assuming your iso is in /home/user_name/Downloads, and youre going to extract it to /home/user_name/Documents to recreate iso
and gotta make a temporary mountpoint to mount iso

Code:

cd /home/user_name/Downloads
mkdir -p /home/user_name/mnt
mount -o loop bionicpup32-8.0-uefi.iso /home/user_name/mnt
cp -r /home/user_name/mnt/* /home/user_name/Documents

now the iso is extracted to Documents folder
now make this script and put it in Documents folder with extracted iso, just copy/paste this command into a new text file named gen_pup_iso.sh

Code:

/usr/bin/mkisofs -o /home/user_name/Bionicpup32.iso -v -J -R -D -A Bionicpup -V Bionicpup -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux.bin -c isolinux.boot .
you gotta make the script executable with
Code:

chmod +x gen_pup_iso.sh
then do in terminal in Documents folder
Code:

cd /home/user_name/Documents
./gen_pup_iso.sh

Note you may have to edit script for whether your system has mkisofs, genisoimage, or xorriso
so if genisoimage start script with /usr/bin/genisoimage

it'll make iso in /home/user_name/
edit script for your user name
I made one and dd'd it to my 2gb usb works great

linus72 07-14-2019 10:40 AM

hey are you burning to cd or running off usb?
did the original iso present a grub screen or isolinux boot screen at boot?

savage72 07-14-2019 10:53 AM

Quote:

Originally Posted by linus72 (Post 6014967)
hey are you burning to cd or running off usb?
did the original iso present a grub screen or isolinux boot screen at boot?

Thanks! Very similar to my previous attempts.
I'm burning the ISO to CD now. I am limited to booting from a CD with this machine.
I am fairly certain I get the isolinux menu

Will reply back with results soon..

savage72 07-14-2019 11:07 AM

Quote:

Originally Posted by savage72 (Post 6014970)
Will reply back with results soon..

It Works!!
Thanks for your quick reply and demonstrating the necessary mkisofs parameters :)
Well done linus72, well done!

linus72 07-14-2019 11:08 AM

awesome have fun :)

savage72 07-14-2019 11:20 AM

Quote:

Originally Posted by linus72 (Post 6014974)
awesome have fun :)

Booted and installed in less than 10m. Breathing new life into an old 2006 macmini 1,1 :)
Thanks again!

linus72 07-14-2019 11:25 AM

You're welcome bro :)


All times are GMT -5. The time now is 05:22 AM.