Changes

Jump to navigation Jump to search
no edit summary
Line 15: Line 15:  
*# Insert a USB flash drive (or SD Card<sup> [[#Notes|Notes]]</sup>) with 2 GB or more of free space into your computer.
 
*# Insert a USB flash drive (or SD Card<sup> [[#Notes|Notes]]</sup>) with 2 GB or more of free space into your computer.
 
*# [[Sugar on a Stick/Boot|Boot your computer]] with the CD-ROM disc.  You probably need to press F1, F10, F12, Esc, or a similar key as the computer starts up in order to set the boot source for your computer to the CD-ROM device.
 
*# [[Sugar on a Stick/Boot|Boot your computer]] with the CD-ROM disc.  You probably need to press F1, F10, F12, Esc, or a similar key as the computer starts up in order to set the boot source for your computer to the CD-ROM device.
*# A successful boot will take you into ''Sugar on a Stick''.  You can From there, open the Terminal Activity, [[File:Activity-terminal.png|bottom|link=http://en.flossmanuals.net/terminal]], from the Home view.
+
*# A successful boot will take you into ''Sugar on a Stick''.  You can From there, open the Terminal Activity, [[File:Activity-terminal.png|bottom|link=http://en.flossmanuals.net/terminal]], from the Home List View.
 
*# Switch to run commands with 'root' user permissions by entering {{Code|su -}} on the command line.
 
*# Switch to run commands with 'root' user permissions by entering {{Code|su -}} on the command line.
 
*# Change the working directory, by entering {{Code|cd /run/initramfs/live/LiveOS}}
 
*# Change the working directory, by entering {{Code|cd /run/initramfs/live/LiveOS}}
 
*# ''Verify the USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.) for your USB/SD device.''  It would look like, for example, {{Code|/dev/sd'''b'''1}}.
 
*# ''Verify the USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.) for your USB/SD device.''  It would look like, for example, {{Code|/dev/sd'''b'''1}}.
*#* The {{Code|df -Th}} command shows your device filesystem on a device node, for example, /dev/sda1, mounted on a directory [[wikipedia:Mount (computing)|mount point]], such as /run/media/<AccountName>/<USBdeviceManufacturer>
+
*#* The {{Code|df -Th}} command shows your device filesystem on a device node, for example, /dev/sdb1, mounted on a directory [[wikipedia:Mount (computing)|mount point]], such as /run/media/liveuser/<USBdeviceManufacturer>
 
<ul><ul><ul><ul>
 
<ul><ul><ul><ul>
 
{{Show|You should see something like the following:
 
{{Show|You should see something like the following:
 
|<pre>
 
|<pre>
[root@localhost LiveOS]# df -Th
+
[root@localhost ~]# df -Th
 
Filesystem          Type      Size  Used Avail Use% Mounted on
 
Filesystem          Type      Size  Used Avail Use% Mounted on
rootfs              rootfs    4.0G 2.5G 1.5G 63% /
+
/dev/mapper/live-rw ext4      2.9G 2.1G 774M 74% /
devtmpfs            devtmpfs  1.6G     0  1.6G   0% /dev
+
devtmpfs            devtmpfs  2.0G     0  2.0G   0% /dev
tmpfs              tmpfs    1.6G   84K 1.6G   1% /dev/shm
+
tmpfs              tmpfs    2.0G   68K 2.0G   1% /dev/shm
tmpfs              tmpfs    1.6G 1.2M 1.6G   1% /run
+
tmpfs              tmpfs    2.0G 632K  2.0G  1% /run
/dev/sr0            iso9660  509M 509M     0 100% /run/initramfs/live
+
tmpfs              tmpfs    2.0G    0 2.0G   0% /sys/fs/cgroup
/dev/mapper/live-rw ext4      4.0G  2.5G  1.5G  63% /
+
/dev/sr0            iso9660  670M 670M     0 100% /run/initramfs/live
tmpfs              tmpfs    1.6G    0 1.6G   0% /sys/fs/cgroup
+
tmpfs              tmpfs    2.0G  24K 2.0G   1% /tmp
tmpfs              tmpfs    1.6G    0  1.6G  0% /media
+
varcacheyum        tmpfs    2.0G     0  2.0G   0% /var/cache/yum
varcacheyum        tmpfs    1.6G     0  1.6G   0% /var/cache/yum
+
vartmp              tmpfs    2.0G     0  2.0G   0% /var/tmp
tmp                tmpfs    1.6G  40K  1.6G  1% /tmp
+
/dev/sdb1          vfat       15G 2.4G  13G 16% /run/media/liveuser/TOS
vartmp              tmpfs    1.6G     0  1.6G   0% /var/tmp
  −
/dev/sdb1          vfat     3.7G 2.1G  1.7G 56% /run/media/liveuser/TOSHIBA
   
</pre>}}</ul></ul></ul>
 
</pre>}}</ul></ul></ul>
 
<ol start="8">
 
<ol start="8">
<li> Unmount the USB device filesystem with this command: {{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}</li>
+
<li> Unmount the USB device filesystem with this command: {{Code|umount /run/media/liveuser/'''MyUSBdiscMountPoint'''}}, where {{Code|'''MyUSBdiscMountPoint'''}} is {{Code|TOS}} 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: Courier;">./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: Courier;">./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>
 
</li>

Navigation menu