How to repack iso so it is detected by finicky laptop?

Help with issues regarding installation of Debian

How to repack iso so it is detected by finicky laptop?

Postby kerryhall » 2017-12-07 00:25

Hello,

I am trying to install debian on a macbook for a friend.

Using USB drive.

I have two versions of the Debian iso, the first is the live cd with firmware, which I boot up first to confirm wifi is working.

The second version is a repack of of netinst + firmware that has a preseed file I have generated that does the full install without any user input.

The macbook detects the live cd + firmware iso and boots from it fine.

My netinst repack iso is detected and bootable from half a dozen assorted laptops, but not from the macbook for some reason.

My guess is that I need to pass some specific param to xorriso, but not sure what param I need. How are the official Debian isos generated? What is the command that is used?

I'm currently doing:

xorriso -as mkisofs \
-r -J -V "Stretch Repack" \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-no-emul-boot \
-partition_offset 16 \
-boot-load-size 4 \
-boot-info-table \
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin" \
-o "$DEST_ISO" \
.

As per a tutorial I followed years ago.

I tried generating the ISO without -r and -J, no luck, and also tried with just -J, still no luck.

Again, EVERY laptop I have tried EXCEPT the macbook can detect it. And the macbook can detect official ISOs fine.

Thanks!!

Thanks!
kerryhall
 
Posts: 115
Joined: 2008-08-19 11:06

Re: How to repack iso so it is detected by finicky laptop?

Postby Head_on_a_Stick » 2017-12-07 06:39

This works for me with BunsenLabs images (which are based on Debian):

https://forums.bunsenlabs.org/viewtopic ... 229#p64229

EDIT: the first argument of the mkiso function is the name applied to the image label and the second is the name of the output image itself.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6790
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to repack iso so it is detected by finicky laptop?

Postby michapma » 2017-12-08 13:19

Hmm, but the macbook is not detecting the ISO, but the file system that results from "unpacking" the ISO. Is the macbook using BIOS or UEFI? Could there be differences between the partition table from the two images, and that is what the BIOS/UEFI is choking on?

For instance:
https://wiki.archlinux.org/index.php/Un ... Apple_Macs

P.S. I assume if your friend's macbook is a 2007+ model that you are using the amd64 flavor for both images?
P.P.S. If nothing works, I would humbly suggest using a normal install disc or the live cd that works and use a separate stick with the firmware in it. The installer supports this.
User avatar
michapma
 
Posts: 539
Joined: 2008-05-04 20:49
Location: Prague


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable