46 | | == Creating a bootable CD/DVD/usb == |
47 | | |
48 | | During these steps we assume you have unpacked the sali-x86_64-1.5.7.tar.gz in /tmp. So we have all SALI files under /tmp/sali-1.5.7. |
49 | | |
50 | | The following commands must be present on your Linux machine before you can use the ```sali_create_bootdisk``` shell script: |
51 | | - ```genisoimage``` - On most Linux distributions available in the package genisoimage |
52 | | - ```isohybrid``` - On most Linux distributions available in the syslinux package |
53 | | |
54 | | === Generate the iso hybrid file === |
55 | | {{{ |
56 | | cd /tmp/sali-1.5.7 |
57 | | ./bootdisk/sali_create_bootdisk |
58 | | CREATING A SALI ISO IMAGE |
59 | | |
60 | | I: -input-charset not specified, using iso-8859-1 (detected in locale settings) |
61 | | Using ISOLI000.SVN;1 for /tmp/sali-1.5.7/bootdisk/isolinux/.svn/text-base/isolinux.cfg.svn-base (isolinux.bin.svn-base) |
62 | | Size of boot image is 4 sectors -> No emulation |
63 | | 34.11% done, estimate finish Fri Feb 1 16:13:42 2013 |
64 | | 68.09% done, estimate finish Fri Feb 1 16:13:42 2013 |
65 | | Total translation table size: 2048 |
66 | | Total rockridge attributes bytes: 0 |
67 | | Total directory bytes: 22528 |
68 | | Path table size(bytes): 170 |
69 | | Max brk space used 1a000 |
70 | | 14689 extents written (28 MB) |
71 | | |
72 | | |
73 | | CONVERTING IMAGE TO HYBRID IMAGE done |
74 | | |
75 | | ISO IMAGE HAS BEEN STORED TO |
76 | | /tmp/sali-1.5.7/sali-x86_64--hybrid.iso |
77 | | }}} |
78 | | |
79 | | ==== Burning to cd/dvd ==== |
80 | | Just use the iso with your favortie burning program |
81 | | |
82 | | ==== Copy to an USB drive ==== |
83 | | Make sure your USB drive is unmounted, then use the dd command to copy the iso to the USB drive. |
84 | | |
85 | | {{{ |
86 | | dd if=/tmp/sali-1.5.7/sali-x86_64--hybrid.iso of=/tmp/sdb bs=8192k |
87 | | }}} |
88 | | |
89 | | Assuming your USB disk is device /dev/sdb on your Linux distribution |
90 | | |
91 | | === Add custom boot entries to the bootable cd/dvd/usb === |
92 | | Adjust the file isolinux/isolinux.cfg to your needs to start installation via rsync or bittorrent. Some examples herebelow to generate a custom bootable SALI cd/dvd/usb. If you open the isolinux/isolinux.cfg you can add your custom entries between the comment lines 'BEGIN HERE' and 'END HERE' |
93 | | |
94 | | As an example we choose for the image amd64_squeeze_lisa |
95 | | |
96 | | Installation via rsync: |
97 | | {{{ |
98 | | label install_lisa_squeeze |
99 | | menu label Install LISA squeeze via rsync |
100 | | kernel /kernel/kernel |
101 | | append /images/initrd.img PROTOCOL=rsync GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw |
102 | | }}} |
103 | | |
104 | | Installation via bittorrent |
105 | | {{{ |
106 | | label install_lisa_squeeze_torrent |
107 | | menu label Install LISA squeeze via bittorrent |
108 | | kernel /kernel/kernel |
109 | | append /images/initrd.img PROTOCOL=bittorrent GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw |
110 | | }}} |
111 | | |
112 | | NOTE 1:: |
113 | | If you dont have your dhcp configured with sali-imageserver option, you must add IMAGESERVER=<ip of your image server> on the append line. |
114 | | NOTE 2:: |
115 | | If the name of the image is different from the scriptname add variable IMAGENAME=<name of your image> to the append line |
116 | | |
117 | | Finally run the command sali_create_bootdisk from the bootdisk directory. |