Sugar on a Stick/Linux/Installation: Difference between revisions
livecd-tools now onboard |
update installation transcript |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
:<small>(Items in angle brackets, such as <MyAccount> are descriptive placeholders.)</small> | :<small>(Items in angle brackets, such as <MyAccount> are descriptive placeholders.)</small> | ||
{{Show| You should see something like the following: | {{Show| You should see something like the following: | ||
|<pre> | |<pre style="white-space: pre;"> | ||
[<user>@<system> <working directory>]$ sudo df -Th | [<user>@<system> <working directory>]$ sudo df -Th | ||
Filesystem Type Size Used Avail Use% Mounted on | Filesystem Type Size Used Avail Use% Mounted on | ||
devtmpfs devtmpfs 16G 0 16G 0% /dev | |||
devtmpfs devtmpfs | tmpfs tmpfs 16G 33M 16G 1% /dev/shm | ||
tmpfs tmpfs | tmpfs tmpfs 16G 1.8M 16G 1% /run | ||
tmpfs tmpfs | tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup | ||
tmpfs tmpfs | /dev/sda1 ext4 123G 17G 100G 15% / | ||
tmpfs tmpfs | tmpfs tmpfs 16G 80K 16G 1% /tmp | ||
tmpfs tmpfs 3.2G 10M 3.2G 1% /run/user/1000 | |||
/dev/ | /dev/sdb1 vfat 233G 90G 143G 39% /run/media/<MyAccount>/<filesystem label> | ||
/dev/loop0 iso9660 942M 942M 0 100% /run/soas | |||
</pre> | </pre> | ||
: <small>(The {{Code|/run/media/<MyAccount>/}} path is the standard mount point for removable media.<br>{{Code|/media/<MyMountPoint>}} is common on other operating systems.)</small> | : <small>(The {{Code|/run/media/<MyAccount>/}} path is the standard mount point for removable media.<br>{{Code|/media/<MyMountPoint>}} is common on other operating systems.)</small> | ||
<pre> | <pre style="white-space: pre;"> | ||
[<user>@<system> <working directory>]$ sudo blkid | [<user>@<system> <working directory>]$ sudo blkid | ||
/dev/sda1: LABEL="Fedora30" UUID=" | /dev/sda1: LABEL="Fedora30" UUID="dddf4ae0-e1fd-43c3-bacc-91acbafb3a34" TYPE="ext4" PARTUUID="000b2340-03" | ||
/dev/ | /dev/sdb1: LABEL_FATBOOT="Fat" LABEL="Fat" UUID="D082-05E1" TYPE="vfat" PARTLABEL="Fat" PARTUUID="53132329-808c-4a44-adf6-e98ad17546ff" | ||
/dev/loop0: UUID="2019-04-26-02-18-05-00" LABEL="Fedora-SoaS-Live-30-1-2" TYPE="iso9660" PTUUID="37f2045d" PTTYPE="dos" | |||
/dev/ | |||
</pre> | </pre> | ||
:: <small>(Additional disk drive partitions may be listed on your computer.)</small> | :: <small>(Additional disk drive partitions may be listed on your computer.)</small> | ||
| Line 46: | Line 44: | ||
: The operating system will occupy ~960 MB, and the overlay and home size arguments, '''500''' and '''500''', were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see [[LiveOS image]]). On a 4 GB device, one might use '''1000''' and '''1600''' for the size arguments. | : The operating system will occupy ~960 MB, and the overlay and home size arguments, '''500''' and '''500''', were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see [[LiveOS image]]). On a 4 GB device, one might use '''1000''' and '''1600''' for the size arguments. | ||
{{Show| The installation transcript should look something like the following: | {{Show| The installation transcript should look something like the following: | ||
|<pre> | |<pre style="white-space: pre;"> | ||
[<user>@<system> <working directory>]$ sudo livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 500 --unencrypted-home /<path to>/Fedora-SoaS-Live-x86_64- | [<user>@<system> <working directory>]$ sudo /run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 500 --unencrypted-home /<path to>/Fedora-SoaS-Live-x86_64-30-1.2.iso /dev/sdc1 | ||
Verifying image... | Verifying image... | ||
/<path to>/Fedora-SoaS-Live-x86_64- | /<path to>/Fedora-SoaS-Live-x86_64-30-1.2.iso: bac65eaf45ad370f6e9ddf793f436e33 | ||
Fragment sums: | Fragment sums: 82358a8de12fab19be3e83c22431837827fbe4b8be6d9be46695f853676f | ||
Fragment count: 20 | Fragment count: 20 | ||
Supported ISO: no | Supported ISO: no | ||
| Line 62: | Line 60: | ||
Copying LiveOS image to target device... | Copying LiveOS image to target device... | ||
squashfs.img | squashfs.img | ||
887,312,384 100% 379.28MB/s 0:00:02 (xfr#1, to-chk=0/1) | |||
Syncing filesystem writes to disc. | Syncing filesystem writes to disc. | ||
| Line 71: | Line 69: | ||
500+0 records in | 500+0 records in | ||
500+0 records out | 500+0 records out | ||
524288000 bytes (524 MB, 500 MiB) copied, 0. | 524288000 bytes (524 MB, 500 MiB) copied, 0.354372 s, 1.5 GB/s | ||
Initializing persistent /home | Initializing persistent /home | ||
500+0 records in | 500+0 records in | ||
500+0 records out | 500+0 records out | ||
524288000 bytes (524 MB, 500 MiB) copied, 0. | 524288000 bytes (524 MB, 500 MiB) copied, 0.346354 s, 1.5 GB/s | ||
Formatting unencrypted home.img | Formatting unencrypted home.img | ||
mke2fs 1.44. | mke2fs 1.44.6 (5-Mar-2019) | ||
Creating filesystem with 512000 1k blocks and 128016 inodes | Creating filesystem with 512000 1k blocks and 128016 inodes | ||
Filesystem UUID: | Filesystem UUID: b32a4987-627e-4131-a863-7f6c9bcc2178 | ||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 | 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 | ||
| Line 88: | Line 86: | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
tune2fs 1.44. | tune2fs 1.44.6 (5-Mar-2019) | ||
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 | ||