[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem creating iso for a USB stick



Hi,

i am the developer of xorriso and always interested
in learning about problems.

> However, after writing it to a USB stick, it doesn't boot,
> and I don't know why.

What kind of machine do you use ?
What kind of firmware does it have: PC-BIOS , UEFI, ... ?

How far does it get with booting ?
Does the USB stick make any difference when plugged in
or is it just ignored ?

How did you put the result onto USB stick ?


> I've checked the resulting iso with vmware fusion on my mac and it works,

Did you submit it as emulated hard disk (rather than as CD-ROM) ?
BIOS treats both device classes very different. (MBR vs. El Torito.)
An USB stick would be treated by real BIOS as hard disk.


> xorriso -as mkisofs -D -r -J -joliet-long -L -A "Custom Install CD"
> -b isolinux/isolinux.bin -c isolinux/boot.cat -iso-level 3 -no-emul-boot
> -partition_offset 16 -boot-load-size 4 -boot-info-table -o ../test.iso
> -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin ../cd

This looks ok as far as PC-BIOS booting from USB stick is
concerned. It should work on i386 and amd64 processors.

You may leave out -partition_offset 16 and check whether this
changes anything with bootability. Some machines demand it, some
hate it. Most work with both variants.

(If you want to see "Custom Install CD" as name of the filesystem
 then you should use -V rather than -A.)


Have a nice day :)

Thomas


Reply to: