Changes

→‎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 200 --home-size-mb 200 --delete-home --unencrypted-home /path/to/source.iso /dev/sd'''?'''1}}<br>
+
{{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>
[root@MyComputer ~]#
+
$ 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 200 --home-size-mb 200 --delete-home --unencrypted-home /mnt/VMs/soas-x86_64-20100509.09.iso /dev/sdb1
  −
 
   
Verifying image...
 
Verifying image...
/mnt/VMs/soas-x86_64-20100509.09.iso:  7c5f3227e4d87bb03f1cf89415ee80ce
+
/mnt/VMs/Fedora-13-x86_64-Live-SoaS.iso:  7bb43cb6237802347e06d636b5974796
Fragment sums: b68ffc49a1213bca823fd5f16887291c571b44d55755488b3c229dafb631
+
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
200+0 records in
+
300+0 records in
200+0 records out
+
300+0 records out
209715200 bytes (210 MB) copied, 16.6121 s, 12.6 MB/s
+
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, 15.2779 s, 13.7 MB/s
+
209715200 bytes (210 MB) copied, 24.2014 s, 8.7 MB/s
 
Formatting unencrypted /home
 
Formatting unencrypted /home
mke2fs 1.41.10 (10-Feb-2009)
+
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 23 mounts or
+
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.10 (10-Feb-2009)
+
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