Sugar on a Stick/Installation: Difference between revisions
m hide link hint behind image with no background |
→with GNU/Linux: add --reset-mbr and overlay-size-mb 300 for greater robustness |
||
| Line 20: | Line 20: | ||
<li>Use this script file http://bit.ly/livecd-iso-to-disk to create a bootable image.<br>(Run {{Code|chmod +x livecd-iso-to-disk.sh}} after you download the script to make it executable.)</li> | <li>Use this script file http://bit.ly/livecd-iso-to-disk to create a bootable image.<br>(Run {{Code|chmod +x livecd-iso-to-disk.sh}} after you download the script to make it executable.)</li> | ||
<li>Execute, as the root user, in <u>one</u> command with arguments, the following:<br> | <li>Execute, as the root user, in <u>one</u> command with arguments, the following:<br> | ||
{{Code|./livecd-iso-to-disk.sh --overlay-size-mb | {{Code|./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 200 --delete-home --unencrypted-home /path/to/source.iso /dev/sd'''?'''1}}<br> | ||
: where '{{Code|'''?'''}}' in the final parameter represents the target bootable device node, such as {{Code|sdb1}} or {{Code|sdc1}}, etc.<br> | : where '{{Code|'''?'''}}' in the final parameter represents the target bootable device node, such as {{Code|sdb1}} or {{Code|sdc1}}, etc.<br> | ||
''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.).<br> | ''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.).<br> | ||
| Line 37: | Line 37: | ||
<pre> | <pre> | ||
$ sudo ./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 200 --delete-home --unencrypted-home /mnt/VMs/Fedora-13-x86_64-Live-SoaS.iso /dev/sdb1 | |||
./livecd-iso-to-disk.sh --overlay-size-mb | |||
Verifying image... | Verifying image... | ||
/mnt/VMs/ | /mnt/VMs/Fedora-13-x86_64-Live-SoaS.iso: 7bb43cb6237802347e06d636b5974796 | ||
Fragment sums: | Fragment sums: 5cb46db2dd7545c7154d99616eaa942ca515fb37188c34cf82564a498b68 | ||
Fragment count: 20 | Fragment count: 20 | ||
Press [Esc] to abort check. | |||
Checking: 100.0% | Checking: 100.0% | ||
| Line 49: | Line 48: | ||
It is OK to use this media. | It is OK to use this media. | ||
Copying live image to USB stick | Copying live image to USB stick | ||
Updating boot config file | Updating boot config file | ||
Initializing persistent overlay file | Initializing persistent overlay file | ||
300+0 records in | |||
300+0 records out | |||
314572800 bytes (315 MB) copied, 35.3334 s, 8.9 MB/s | |||
Initializing persistent /home | Initializing persistent /home | ||
200+0 records in | 200+0 records in | ||
200+0 records out | 200+0 records out | ||
209715200 bytes (210 MB) copied, | 209715200 bytes (210 MB) copied, 24.2014 s, 8.7 MB/s | ||
Formatting unencrypted /home | Formatting unencrypted /home | ||
mke2fs 1.41. | mke2fs 1.41.12 (17-May-2010) | ||
Filesystem label= | Filesystem label= | ||
OS type: Linux | OS type: Linux | ||
| Line 81: | Line 79: | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
This filesystem will be automatically checked every | This filesystem will be automatically checked every 33 mounts or | ||
180 days, whichever comes first. Use tune2fs -c or -i to override. | 180 days, whichever comes first. Use tune2fs -c or -i to override. | ||
tune2fs 1.41. | tune2fs 1.41.12 (17-May-2010) | ||
Setting maximal mount count to -1 | Setting maximal mount count to -1 | ||
Setting interval between checks to 0 seconds | Setting interval between checks to 0 seconds | ||