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

Thomas Bächler thomas at archlinux.org
Wed Apr 18 10:38:18 EDT 2012


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"

> +# 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).

> +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>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20120418/849fa9be/attachment-0001.asc>


More information about the arch-releng mailing list