Changes between Version 24 and Version 25 of SaliUsage


Ignore:
Timestamp:
02/01/13 16:51:00 (11 years ago)
Author:
dennis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SaliUsage

    v24 v25  
    127127
    128128
     129== Creating a bootable CD/DVD/usb ==
     130
     131During 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.
     132
     133The following commands must be present on your Linux machine before you can use the ```sali_create_bootdisk``` shell script:
     134 - ```genisoimage``` - On most Linux distributions available in the package genisoimage
     135 - ```isohybrid``` - On most Linux distributions available in the syslinux package
     136
     137=== Generate the iso hybrid file ===
     138{{{
     139cd /tmp/sali-1.5.7
     140./bootdisk/sali_create_bootdisk
     141CREATING A SALI ISO IMAGE
     142
     143I: -input-charset not specified, using iso-8859-1 (detected in locale settings)
     144Using ISOLI000.SVN;1 for  /tmp/sali-1.5.7/bootdisk/isolinux/.svn/text-base/isolinux.cfg.svn-base (isolinux.bin.svn-base)
     145Size of boot image is 4 sectors -> No emulation
     146 34.11% done, estimate finish Fri Feb  1 16:13:42 2013
     147 68.09% done, estimate finish Fri Feb  1 16:13:42 2013
     148Total translation table size: 2048
     149Total rockridge attributes bytes: 0
     150Total directory bytes: 22528
     151Path table size(bytes): 170
     152Max brk space used 1a000
     15314689 extents written (28 MB)
     154
     155
     156CONVERTING IMAGE TO HYBRID IMAGE done
     157
     158ISO IMAGE HAS BEEN STORED TO
     159        /tmp/sali-1.5.7/sali-x86_64--hybrid.iso
     160}}}
     161
     162==== Burning to cd/dvd ====
     163Just use the iso with your favortie burning program
     164
     165==== Copy to an USB drive ====
     166Make sure your USB drive is unmounted, then use the dd command to copy the iso to the USB drive.
     167
     168{{{
     169dd if=/tmp/sali-1.5.7/sali-x86_64--hybrid.iso of=/tmp/sdb bs=8192k
     170}}}
     171
     172Assuming your USB disk is device /dev/sdb on your Linux distribution
     173
     174=== Add custom boot entries to the bootable cd/dvd/usb ===
     175Adjust 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'
     176
     177As an example we choose for the image amd64_squeeze_lisa
     178
     179Installation via rsync:
     180{{{
     181label install_lisa_squeeze
     182  menu label Install LISA squeeze via rsync
     183  kernel /kernel/kernel
     184  append /images/initrd.img PROTOCOL=rsync GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw
     185}}}
     186
     187Installation via bittorrent
     188{{{
     189label install_lisa_squeeze_torrent
     190  menu label Install LISA squeeze via bittorrent
     191  kernel /kernel/kernel
     192  append /images/initrd.img PROTOCOL=bittorrent GRUB2=yes SCRIPTNAME=amd64_squeeze_lisa VERBOSE_LEVEL=2 rw
     193}}}
     194
     195 NOTE 1::
     196  If you dont have your dhcp configured with sali-imageserver option, you must add IMAGESERVER=<ip of your image server> on the append line.
     197 NOTE 2::
     198  If the name of the image is different from the scriptname add variable IMAGENAME=<name of your image> to the append line
     199
     200Finally run the command sali_create_bootdisk from the bootdisk directory.
    129201
    130202= Must be rewritten =