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: (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 ''' | <li> Execute this command line: (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 ''' | (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 | [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: | /dev/sr0: b0a9414ff7eb79b680d5c86440e19587 | ||
Fragment sums: | 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 | ||
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 | ||
500+0 records in | |||
500+0 records out | |||
524288000 bytes (524 MB) copied, 216.717 s, 2.4 MB/s | |||
Initializing persistent /home | Initializing persistent /home | ||
800+0 records in | |||
800+0 records out | |||
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 | ||
51296 inodes, 204800 blocks | |||
10240 blocks (5.00%) reserved for the super user | |||
First data block=0 | First data block=0 | ||
Maximum filesystem blocks= | Maximum filesystem blocks=209715200 | ||
7 block groups | |||
32768 blocks per group, 32768 fragments per group | 32768 blocks per group, 32768 fragments per group | ||
7328 inodes per group | |||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
32768, 98304, 163840 | 32768, 98304, 163840 | ||
Allocating group tables: done | Allocating group tables: done | ||
Writing inode tables: done | Writing inode tables: done | ||
Creating journal ( | 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) | ||