| 45 | |
| 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 | === Generate the iso hybrid file === |
| 51 | {{{ |
| 52 | cd /tmp/sali-1.5.7 |
| 53 | ./bootdisk/sali_create_bootdisk |
| 54 | CREATING A SALI ISO IMAGE |
| 55 | |
| 56 | I: -input-charset not specified, using iso-8859-1 (detected in locale settings) |
| 57 | Using ISOLI000.SVN;1 for /tmp/sali-1.5.7/bootdisk/isolinux/.svn/text-base/isolinux.cfg.svn-base (isolinux.bin.svn-base) |
| 58 | Size of boot image is 4 sectors -> No emulation |
| 59 | 34.11% done, estimate finish Fri Feb 1 16:13:42 2013 |
| 60 | 68.09% done, estimate finish Fri Feb 1 16:13:42 2013 |
| 61 | Total translation table size: 2048 |
| 62 | Total rockridge attributes bytes: 0 |
| 63 | Total directory bytes: 22528 |
| 64 | Path table size(bytes): 170 |
| 65 | Max brk space used 1a000 |
| 66 | 14689 extents written (28 MB) |
| 67 | |
| 68 | |
| 69 | CONVERTING IMAGE TO HYBRID IMAGE done |
| 70 | |
| 71 | ISO IMAGE HAS BEEN STORED TO |
| 72 | /tmp/sali-1.5.7/sali-x86_64--hybrid.iso |
| 73 | }}} |
| 74 | |
| 75 | The created iso can be burned by your favorite software to a cd. Or you can use the dd utility to make a bootable USB disk |
| 76 | {{{ |
| 77 | dd if=/tmp/sali-1.5.7/sali-x86_64--hybrid.iso of=/tmp/sdb bs=8192k |
| 78 | }}} |
| 79 | |
| 80 | Assuming your USB disk is not mounted and is available at /dev/sdb |
| 81 | |
| 82 | === Add custom boot entries to the cd === |
| 83 | 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. |
| 84 | |
| 85 | If you open the isolinux/isolinux.cfg you can add your custom entries between the comment lines 'BEGIN HERE' and 'END HERE' |
| 86 | |
| 87 | As an example we choose for the image amd64_squeeze_lisa |
| 88 | |
| 89 | Installation via rsync: |
| 90 | {{{ |
| 91 | label install_lisa_squeeze |
| 92 | menu label Install LISA squeeze via rsync |
| 93 | kernel /kernel/kernel |
| 94 | append /images/initrd.img PROTOCOL=rsync GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw |
| 95 | }}} |
| 96 | |
| 97 | Installation via bittorrent |
| 98 | {{{ |
| 99 | label install_lisa_squeeze_torrent |
| 100 | menu label Install LISA squeeze via bittorrent |
| 101 | kernel /kernel/kernel |
| 102 | append /images/initrd.img PROTOCOL=bittorrent GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw |
| 103 | }}} |
| 104 | |
| 105 | NOTE 1:: |
| 106 | If you dont have your dhcp configured with sali-imageserver option, you |
| 107 | must add IMAGESERVER=<ip of your image server> on the append line. |
| 108 | NOTE 2:: |
| 109 | If the name of the image is different from the scriptname add variable |
| 110 | IMAGENAME=<name of your image> to the append line |
| 111 | |
| 112 | Finally run the command sali_create_bootdisk from the bootdisk directory. |