Displaying 1 result from an estimated 1 matches for "10485759b".
Did you mean:
10485759
2012 Mar 21
1
altmbr.bin always boots the first partition
Hi,
altmbr.bin and its variants apparently always boot the first partition
(in Syslinux 4.05, but this issue seems older than that). The
following example uses parted 3.0:
----------
rm -f flat
mkdir mnt
truncate -s 20M flat
parted -s flat mklabel msdos mkpart primary fat32 1MiB 10485759B
mkpart primary ext2 11MiB 100% unit KiB print
losetup -o 1048576 -s 9437184 /dev/loop7 flat
mkdosfs /dev/loop7
syslinux -i /dev/loop7
mount -t vfat /dev/loop7 mnt
echo LINUX PARTITION-1 > mnt/syslinux.cfg
umount -d mnt
losetup -o 11534336 -s 9437184 /dev/loop7 flat
mkfs.ext2 -q /dev/loop7
mo...