Sugar on a Stick/Linux: Difference between revisions

Change flash drive spec 1 GB > 2 GB
livecd-iso-to-disk.sh transcript: updated transcript for Pineapple
Line 88: Line 88:
:* Watch out for errors in the output of the script, the script seems to ignore them! (and say all is fine on the last line).
:* Watch out for errors in the output of the script, the script seems to ignore them! (and say all is fine on the last line).


===livecd-iso-to-disk.sh transcript===
===livecd-iso-to-disk transcript===


<pre>
<pre>
$ sudo ./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home /mnt/VMs/Fedora-13-x86_64-Live-SoaS.iso /dev/sdb1
[LiveOS]$ sudo ./livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home /media/SoaS/Fedora-16-x86_64-Live-SoaS.iso /dev/sdc1
Verifying image...
Verifying image...
/mnt/VMs/Fedora-13-x86_64-Live-SoaS.iso:  7bb43cb6237802347e06d636b5974796
/media/SoaS/Fedora-16-x86_64-Live-SoaS.iso:  5fb3054f09478a6ae12e2384c2e0142d
Fragment sums: 5cb46db2dd7545c7154d99616eaa942ca515fb37188c34cf82564a498b68
Fragment sums: f772712c38fa22679ddadffa69fea8a9c64e85db24c7a3eec3ca7aa324af
Fragment count: 20
Fragment count: 20
Press [Esc] to abort check.
Press [Esc] to abort check.
Line 102: Line 102:


It is OK to use this media.
It is OK to use this media.
Copying live image to USB stick
Copying live image to target device.
squashfs.img
  447225856 100%  56.88MB/s    0:00:07 (xfer#1, to-check=0/1)
 
sent 447280525 bytes  received 31 bytes  52621241.88 bytes/sec
total size is 447225856  speedup is 1.00
osmin.img
        8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
 
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
total size is 8192  speedup is 0.99
Updating boot config file
Updating boot config file
Initializing persistent overlay file
Initializing persistent overlay file
300+0 records in
500+0 records in
300+0 records out
500+0 records out
314572800 bytes (315 MB) copied, 35.3334 s, 8.9 MB/s
524288000 bytes (524 MB) copied, 62.769 s, 8.4 MB/s
Initializing persistent /home
Initializing persistent /home
200+0 records in
900+0 records in
200+0 records out
900+0 records out
209715200 bytes (210 MB) copied, 24.2014 s, 8.7 MB/s
943718400 bytes (944 MB) copied, 384.582 s, 2.5 MB/s
Formatting unencrypted /home
Formatting unencrypted /home
mke2fs 1.41.12 (17-May-2010)
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
Filesystem label=
OS type: Linux
OS type: Linux
Block size=1024 (log=0)
Block size=4096 (log=2)
Fragment size=1024 (log=0)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
Stride=0 blocks, Stripe width=0 blocks
51200 inodes, 204800 blocks
57600 inodes, 230400 blocks
10240 blocks (5.00%) reserved for the super user
11520 blocks (5.00%) reserved for the super user
First data block=1
First data block=0
Maximum filesystem blocks=67371008
Maximum filesystem blocks=239075328
25 block groups
8 block groups
8192 blocks per group, 8192 fragments per group
32768 blocks per group, 32768 fragments per group
2048 inodes per group
7200 inodes per group
Superblock backups stored on blocks:  
Superblock backups stored on blocks:  
8193, 24577, 40961, 57345, 73729
32768, 98304, 163840, 229376


Writing inode tables: done                             
Writing inode tables: done                             
Line 133: Line 143:
Writing superblocks and filesystem accounting information: done
Writing superblocks and filesystem accounting information: done


This filesystem will be automatically checked every 33 mounts or
This filesystem will be automatically checked every 34 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.12 (17-May-2010)
tune2fs 1.41.14 (22-Dec-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
Installing boot loader
Installing boot loader
USB stick set up as live image!
Target device is now set up with a Live image!
</pre>
</pre>