Sugar on a Stick/Windows: Difference between revisions
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 | *# 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/ | *#* 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 | [root@localhost ~]# df -Th | ||
Filesystem Type Size Used Avail Use% Mounted on | Filesystem Type Size Used Avail Use% Mounted on | ||
/dev/mapper/live-rw ext4 2.9G 2.1G 774M 74% / | |||
devtmpfs devtmpfs | devtmpfs devtmpfs 2.0G 0 2.0G 0% /dev | ||
tmpfs tmpfs | tmpfs tmpfs 2.0G 68K 2.0G 1% /dev/shm | ||
tmpfs tmpfs | tmpfs tmpfs 2.0G 632K 2.0G 1% /run | ||
/dev/sr0 iso9660 | tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup | ||
/dev/sr0 iso9660 670M 670M 0 100% /run/initramfs/live | |||
tmpfs tmpfs | tmpfs tmpfs 2.0G 24K 2.0G 1% /tmp | ||
varcacheyum tmpfs 2.0G 0 2.0G 0% /var/cache/yum | |||
varcacheyum tmpfs | vartmp tmpfs 2.0G 0 2.0G 0% /var/tmp | ||
/dev/sdb1 vfat 15G 2.4G 13G 16% /run/media/liveuser/TOS | |||
vartmp tmpfs | |||
/dev/sdb1 vfat | |||
</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/ | <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: (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: (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> | ||