Sugar on a Stick/Windows: Difference between revisions

revise size to fit SoaS 10 in 2 GB device
Line 38: Line 38:
<ol start="8">
<ol start="8">
<li> Unmount the USB device filesystem with this command: {{Code|umount /run/media/liveuser/'''MyUSBdiscMountPoint'''}}, where {{Code|'''MyUSBdiscMountPoint'''}} is {{Code|SanDisk}} in the dropdown example, above.</li>
<li> Unmount the USB device filesystem with this command: {{Code|umount /run/media/liveuser/'''MyUSBdiscMountPoint'''}}, where {{Code|'''MyUSBdiscMountPoint'''}} is {{Code|SanDisk}} in the dropdown example, above.</li>
<li> Execute this command line: &nbsp;(Substitute the {{Code|/dev/sd'''?'''1}}, below, with the node name you determined in step 7, above.)<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: monospace,Consolas; overflow: auto;">./livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''900''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div>
<li> Execute this command line: &nbsp;(Substitute the {{Code|/dev/sd'''?'''1}}, below, with the node name you determined in step 7, above.)<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: monospace,Consolas; overflow: auto;">./livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''800''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div>
</li>
</li>
(The '''500''' and '''900''' size values, above, are suitable for a 2 GB USB device. For a 4 GB device, one might use '''1000''' and '''1800''' megabytes instead.)
(The '''500''' and '''800''' size values, above, are suitable for a 2 GB USB device. For a 4 GB device, one might use '''1000''' and '''1600''' megabytes instead.)
{{Show|The installation transcript should look like the following:
{{Show|The installation transcript should look like the following:
|<pre>
|<pre>
[root@localhost LiveOS]# ./livecd-iso-to-disk --overlay-size-mb 1000 --home-size-mb 1800 --unencrypted-home /run/initramfs/livedev /dev/sdb1
[root@localhost LiveOS]# ./livecd-iso-to-disk --overlay-size-mb 500 --home-size-mb 800 --unencrypted-home /run/initramfs/livedev /dev/sdb1
Verifying image...
Verifying image...
/dev/sr0:  86396857ba250ac9622e2cced37242c0
/dev/sr0:  b0a9414ff7eb79b680d5c86440e19587
Fragment sums: 9b844726affc45a47d6ddf73ba13d88c8f6f6fff2cbcf55476ebe3bbc4a4
Fragment sums: 9bfe23577651c88dcfb78c76ac3a28a5c53eead4561e3bdc5921b8b2e748
Fragment count: 20
Fragment count: 20
Press [Esc] to abort check.
Press [Esc] to abort check.
Line 56: Line 56:
Copying live image to target device.
Copying live image to target device.
squashfs.img
squashfs.img
     632,832,000 100%    5.63MB/s    0:01:47 (xfr#1, to-chk=0/1)
     630,784,000 100%    1.96MB/s    0:05:06 (xfr#1, to-chk=0/1)
osmin.img
osmin.img
           8,192 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
           8,192 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
Updating boot config file
Updating boot config file
Initializing persistent overlay file
Initializing persistent overlay file
1000+0 records in
500+0 records in
1000+0 records out
500+0 records out
1048576000 bytes (1.0 GB) copied, 193.866 s, 5.4 MB/s
524288000 bytes (524 MB) copied, 216.717 s, 2.4 MB/s
Initializing persistent /home
Initializing persistent /home
1800+0 records in
800+0 records in
1800+0 records out
800+0 records out
1887436800 bytes (1.9 GB) copied, 592.395 s, 3.2 MB/s
838860800 bytes (839 MB) copied, 344.643 s, 2.4 MB/s
Formatting unencrypted /home
Formatting unencrypted /home
mke2fs 1.42.8 (20-Jun-2013)
mke2fs 1.42.8 (20-Jun-2013)
Line 75: Line 75:
Fragment size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
Stride=0 blocks, Stripe width=0 blocks
115200 inodes, 460800 blocks
51296 inodes, 204800 blocks
23040 blocks (5.00%) reserved for the super user
10240 blocks (5.00%) reserved for the super user
First data block=0
First data block=0
Maximum filesystem blocks=473956352
Maximum filesystem blocks=209715200
15 block groups
7 block groups
32768 blocks per group, 32768 fragments per group
32768 blocks per group, 32768 fragments per group
7680 inodes per group
7328 inodes per group
Superblock backups stored on blocks:  
Superblock backups stored on blocks:  
32768, 98304, 163840, 229376, 294912
32768, 98304, 163840


Allocating group tables: done                             
Allocating group tables: done                             
Writing inode tables: done                             
Writing inode tables: done                             
Creating journal (8192 blocks): done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done  
Writing superblocks and filesystem accounting information: done


tune2fs 1.42.8 (20-Jun-2013)
tune2fs 1.42.8 (20-Jun-2013)