Changes

Jump to navigation Jump to search
no edit summary
Line 22: Line 22:     
* Make sure you have the ''syslinux'' package installed on the operating system that you will use to prepare the Live USB image. It is recommended that you also have the ''isomd5sum'' package installed. The ''cryptsetup'' package is another option potentially used by the "livecd-iso-to-disk" installation script. (On Ubuntu, <code>sudo apt-get install syslinux isomd5sum cryptsetup</code> will install the packages.)
 
* Make sure you have the ''syslinux'' package installed on the operating system that you will use to prepare the Live USB image. It is recommended that you also have the ''isomd5sum'' package installed. The ''cryptsetup'' package is another option potentially used by the "livecd-iso-to-disk" installation script. (On Ubuntu, <code>sudo apt-get install syslinux isomd5sum cryptsetup</code> will install the packages.)
* It might be needed to uncomment 'SAMPLE FILE' in /etc/mtools/mtools.conf to make syslinux work,at least on gentoo.
+
: (On Gentoo, one needs to uncomment 'SAMPLE FILE' in /etc/mtools/mtools.conf to make syslinux work.)
**''syslinux'' is needed to set up booting on the FAT file system of the USB disc or Live CD.
+
:*''syslinux'' is needed to set up booting on the FAT file system of the USB disc or Live CD.
**''isomd5sum'' is needed for the recommended verification step, which checks that the .iso file is complete after its travels. If there is a problem with the .iso file, the script will exit and provide a failure message.  The verification step can be bypassed by using the <code>--noverify</code> option.
+
:*''isomd5sum'' is needed for the recommended verification step, which checks that the .iso file is complete after its travels. If there is a problem with the .iso file, the script will exit and provide a failure message.  The verification step can be bypassed by using the <code>--noverify</code> option.
**''cryptsetup'' is only needed for the option to provide password protection and encryption for the persistent /home/liveuser folder. It is not necessary if one applies the  recommended <code>--unencrypted-home</code> option. The <code>--unencrypted-home</code> option is preferred because the reduced overhead improves robustness with the compressed ''squashfs'' file system employed by the Live USB deployment.
+
:*''cryptsetup'' is only needed for the option to provide password protection and encryption for the persistent /home/liveuser folder. It is not necessary if one applies the  recommended <code>--unencrypted-home</code> option. The <code>--unencrypted-home</code> option is preferred because the reduced overhead improves robustness with the compressed ''squashfs'' file system employed by the Live USB deployment.
 
* Plug in a 1GB or larger USB stick into your computer.
 
* Plug in a 1GB or larger USB stick into your computer.
 
* Download the installation script: http://people.sugarlabs.org/sdz/livecd-iso-to-disk.sh (09 April 2009)
 
* Download the installation script: http://people.sugarlabs.org/sdz/livecd-iso-to-disk.sh (09 April 2009)
Line 70: Line 70:  
* Also, check to see that you do not already have an existing bootloader (such as GRUB) in the MBR of your stick. (If you have not previously used this stick as a live boot, you can skip this step.) To be sure that the USB stick's MBR is wiped clean, overwrite it completely using:
 
* Also, check to see that you do not already have an existing bootloader (such as GRUB) in the MBR of your stick. (If you have not previously used this stick as a live boot, you can skip this step.) To be sure that the USB stick's MBR is wiped clean, overwrite it completely using:
 
: <tt>dd if=/dev/zero of=/dev/sd''b'' bs=446 count=1</tt>
 
: <tt>dd if=/dev/zero of=/dev/sd''b'' bs=446 count=1</tt>
** (Actually, that didn't work for me. But this did:
+
:: (Actually, that didn't work for me. But this did:
**: <tt>lilo -M /dev/sd''b''</tt>
+
::: <tt>lilo -M /dev/sd''b''</tt>
**:It put in a standard MBR that boots whichever partition has been called bootable. It does not install LILO as such.)
+
:::It put in a standard MBR that boots whichever partition has been called bootable. It does not install LILO as such.)
 
* Change mode to make the script executable.  
 
* Change mode to make the script executable.  
 
: <tt>chmod +x livecd-iso-to-disk.sh</tt>
 
: <tt>chmod +x livecd-iso-to-disk.sh</tt>

Navigation menu