Dotfiles/setup/archiso
Amir Alexander Abdelbaki 3b0bf17210 fix(archiso): document/automate block-level USB write to fix ldlinux.c32 error
"failed to load ldlinux.c32" when booting from USB is caused by writing the
isohybrid ISO at file level (drag-and-drop, Rufus "ISO" mode, UNetbootin), which
destroys the MBR/isolinux layout. The ISO build itself is correct — archiso's
bios.syslinux mode installs isolinux.bin + isohdpfx.bin + the c32 modules and
applies the isohybrid MBR, and the profile's bootmodes match upstream releng.

Add archiso/write-usb.sh: a safe block-level (dd) writer that lists removable
disks, refuses partitions and the system/root disk, requires an all-caps YES,
unmounts the target, then writes with conv=fsync. build.sh's completion output
now points at it and warns that file-level copies cause exactly this error.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 19:08:33 +02:00
..
overlay feat(archiso+branding): rebrand to m-archy, ship fastfetch logo and os-release 2026-06-26 09:50:39 +02:00
build.sh fix(archiso): document/automate block-level USB write to fix ldlinux.c32 error 2026-06-26 19:08:33 +02:00
wds-deploy.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
write-usb.sh fix(archiso): document/automate block-level USB write to fix ldlinux.c32 error 2026-06-26 19:08:33 +02:00