using files from the syslinux package and 2 from
kernel.org/.../syslinux-6.04-pre1.tar
target=/media/sdc
sudo apt install syslinux
wget -N
https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.04/syslinux-6.04-pre1.tar.gz
tar xf syslinux-6.04-pre1.tar.gz
mkdir -p $target/EFI/sy
This works for the one box I am testing on (the same OP's turbot).
There may be more files than needed, we were guessing and stopped when
it booted.
This suggests the existing boot.img can be fixed without breaking
backwards compatibility.
Get the syslinux package
dd boot.img /dev/sdX, mount /d
this isn't a fix, but a workaround that is fairly easy:
dd boot.img /dev/sdX, mount it, cd it.
mkdir -p efi/boot
grub-mkimage -o bootx64.efi -p /efi/boot -O x86_64-efi \
fat iso9660 part_gpt part_msdos \
normal boot linux configfile loopback chain \
efifwsetup efi_gop efi_uga \
ls search search_
hd-media/boot.img does not contain a partition table, it is just an fs:
$ file boot.img
boot.img: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "SYSLINUX",
sectors/cluster 8, Media descriptor 0xf8, sectors/track 63, heads 255,
sectors 1953120 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1904,
s
Looks like the same problem.
I am running a preseeded instal of stretch.
If someone can provide a preseed file for me to test with I can give
it a go, or try to collect my setup and post.
--
Carl K
5 matches
Mail list logo