Sugar on a Stick/Windows: Difference between revisions
| Line 18: | Line 18: | ||
*# 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 | *# ''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/sda1, mounted on a directory [[wikipedia:Mount (computing)|mount point]], such as /run/media/<AccountName>/<USBdeviceManufacturer> | ||
<ul><ul><ul><ul> | <ul><ul><ul><ul> | ||
| Line 36: | Line 36: | ||
tmp tmpfs 1.6G 40K 1.6G 1% /tmp | tmp tmpfs 1.6G 40K 1.6G 1% /tmp | ||
vartmp tmpfs 1.6G 0 1.6G 0% /var/tmp | vartmp tmpfs 1.6G 0 1.6G 0% /var/tmp | ||
/dev/ | /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/MyAccount/MyUSBdiscMountPoint}}</li> | ||
<li> Execute this command line:<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> | ||
<li> Shutdown the physical machine.</li> | <li> Shutdown the physical machine.</li> | ||