1mkbiarch(8)                      User Manuals                      mkbiarch(8)
2
3
4

NAME

6       mkbiarch.py  -  make  a  multiple architecture Live boot disk image for
7       USB, CF SSD or any disk from 2 architecturally different LiveCD ISO9660
8       image files.
9
10

SYNOPSIS

12       mkbiarch <LiveCDx86ISO>  <LiveCDx64ISO>  <MultipleArch Disk IMG File>
13
14

DESCRIPTION

16       mkbiarch(8)  create  a  multiple architecture, bootable Live Disk image
17       file (IMG) for use on USB or any disk (CF, SSD) from 2  LiveCD  ISO9660
18       files of different architecture (ISO).
19
20

USAGE

22       mkbiarch.py      Fedora-13-i686-Live.iso      Fedora-13-x86_64-Live.iso
23       Fedora-13-MultiArch.img
24
25       Then to write it /bin/dd if=Fedora-13-MultiArch.img of=/dev/sdb bs=4M
26
27       In the above example, mkbiarch.py  creates  Fedora-Multi-arch.img  from
28       the two existing ISO9660 LiveCD image files.  The resulting image file,
29       is written to a raw disk device using dd(1)
30
31
32

UNDER THE HOOD

34       mkbiarch.py(8) first checks that the two ISO9660 image files exist.  It
35       will  create  a blank file using dd(1) writing data from /dev/zero, the
36       size of the two ISO9660 images files combined.  The blank file is  then
37       bound via loopback using losetup(8) partitioned, and bound at an offset
38       via loopback of 512 bytes, this second  loopback  device  is  formatted
39       type  ext3 using mke2fs(8) This filesystem is mounted using mount(8) on
40       a temporary directory. The two ISO9660 files are then mounted via loop‐
41       back,  files are copied using shutil module in Python, from them to the
42       newly formatted filesystem in the image file. Data is gathered from the
43       ISO9660  image files from it's isolinux.cfg, after the files are copied
44       the loopbacked  ISO9660  image  files  are  released.   extlinux(1)  is
45       installed  to  the loopback mounted filesystem on the target image file
46       and  an  extlinux.conf  is  written.  The  temporary  directories   are
47       unmounted  using  umount(8)  and the looback devices are released.  The
48       temporary directories are then  removed,  and  the  resulting  Multiple
49       Architecture  Disk  Image  File  is moved using shutil to the specified
50       location on the command line,  which  is  provided  as  argument  3  to
51       mkbiarch.py
52
53

BUGS

55       Please  report  any  bugs to http://bugzilla.redhat.com under component
56       livecd-tools
57
58

AVAILABILITY

60       To check out the git version of this program
61        git clone https://github.com/rhinstaller/livecd-tools
62
63

AUTHOR

65       Jasper Hartline <autopsy@liveprojects.info>
66
67

CONTRIBUTORS

69       Richard Shaw <email@address.com> pyparted suggestions and feedback
70
71       Jan Kratochvil <email@address.com> for the original bash  script  which
72       the python version was derived
73
74

SEE ALSO

76       livecd-creator(8), livecd-iso-to-disk(8), mke2fs(8), losetup(8), dd(1),
77       exlinux(1)
78
79
80
81LiveCD Tools                       2010-8-24                       mkbiarch(8)
Impressum