Changes

Jump to navigation Jump to search
added loop mount instructions
Line 27: Line 27:  
* Plug in a 1-GB or larger USB stick into your computer.
 
* Plug in a 1-GB or larger USB stick into your computer.
 
* Download the installation script: http://bit.ly/livecd-iso-to-disk.<br>(You will execute this script several steps below.)<br>See [[fedora:Livecd-iso-to-disk.pod]] for usage details.
 
* Download the installation script: http://bit.ly/livecd-iso-to-disk.<br>(You will execute this script several steps below.)<br>See [[fedora:Livecd-iso-to-disk.pod]] for usage details.
* Check the USB device node name. In the example below, the '''s'''torage '''d'''evice is /dev/sdb and filesystem partition on that device is /dev/sdb1:
+
** Alternatively, loop mount the 'SoaS.iso' image to reach the onboard livecd-iso-to-disk script:
 +
**: {{Code|losetup /dev/loop1 /path/to/Fedora-13-i686-Live-SoaS.iso}}
 +
**: {{Code|mkdir /mnt/soas/}}
 +
**: {{Code|mount /dev/loop1 /mnt/soas/}}
 +
**: {{Code|losetup /dev/loop2 /mnt/soas/LiveOS/squashfs.img}}
 +
**: {{Code|mkdir /mnt/squash/}}
 +
**: {{Code|mount /dev/loop2 /mnt/squash/}}
 +
**: {{Code|losetup /dev/loop3 /mnt/squash/LiveOS/ext3fs.img}}
 +
**: {{Code|mkdir /mnt/ext3fs/}}
 +
**: {{Code|mount /dev/loop3 /mnt/ext3fs/}}
 +
**:: Later below, substitute {{Code|/mnt/ext3fs/LiveOS/livecd-iso-to-disk}} for the shell script name (the file is already executable).
 +
 
 +
* Check the USB device node name on your system. In the example below, the '''s'''torage '''d'''evice is /dev/sdb and filesystem partition on that device is /dev/sdb1:
 
: {{Code|df -Th}}
 
: {{Code|df -Th}}
 
<pre>
 
<pre>
Line 67: Line 79:  
: {{Code|chmod +x livecd-iso-to-disk.sh}}
 
: {{Code|chmod +x livecd-iso-to-disk.sh}}
 
* Run it as root, making sure to pass the correct USB device and to set overlay and home size appropriately, depending on the stick size.
 
* Run it as root, making sure to pass the correct USB device and to set overlay and home size appropriately, depending on the stick size.
: {{Code|sudo ./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 200 --delete-home --unencrypted-home /path/to/.iso/file /dev/sd''b1''}}
+
: {{Code|sudo ./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 200 --delete-home --unencrypted-home /path/to/SoaS.iso /dev/sd''b1''}}
 
:: '''Note:''' With the soas-2-blueberry.iso, leave out the 3 options for a separate persistent home.  The script will complete successfully, but the new installation startup process will have trouble finding the home folder and fail to complete.
 
:: '''Note:''' With the soas-2-blueberry.iso, leave out the 3 options for a separate persistent home.  The script will complete successfully, but the new installation startup process will have trouble finding the home folder and fail to complete.
  

Navigation menu