[arch-releng] [RFC] [PATCH] [archiso] README: add: Transfer ISO file to target medium

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Apr 18 20:24:04 EDT 2012


On 04/18/2012 11:38 AM, Thomas Bächler wrote:
> Am 16.04.2012 19:41, schrieb Gerardo Exequiel Pozzi:
>> +* PC-BIOS (MBR):
> My favorite method:
>
>> +
>> +1) Create one partition entry in MBR (of type "b" for FAT32 or "83" for EXTFS)
>> +   and mark it as "active" (booteable).
> "bootable"
Hehe, was an "spanglish" (english + spanish).
>
>> +# fdisk<DEV-TARGET>
>> +
>> +2) Create a FAT32 or EXTFS filesystem on such partition and setup a label.
>> +# mkfs.vfat -F 32 -n<FS-LABEL>  <DEV-TARGET-N>
>> +# mkfs.ext2 -L<FS-LABEL>  <DEV-TARGET-N>
> I would recommend ext4 here (you can build it without journal if
> preferred), as ext2 is very much out of date. Or, recommend all of them
> (2,3,4).
OK.
>
>> +3) Mount target filesystem.
>> +# mount<DEV-TARGET-N>  <MNT-TARGET-N>
>> +
>> +4) Extract ISO image on target filesystem.
>> +# bsdtar -x --exclude=isolinux/ --exclude=EFI/ -f<ISO-SOURCE>  -C<MNT-TARGET-N>
>> +
>> +5) Install syslinux bootloader on target filesystem.
>> +# extlinux -i<MNT-TARGET-N>/arch/boot/syslinux
>> +
>> +6) Unmount target filesystem.
>> +# umount<MNT-TARGET-N>
>> +
>> +7) Install syslinux MBR boot code on target drive.
>> +# dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/mbr.bin of=<DEV-TARGET>

Thanks for the feedback.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list