Changes

Jump to navigation Jump to search
→‎with Microsoft Windows: update for lack of livecd-iso-to-disk installer script in the .iso for F24
Line 17: Line 17:  
*# 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 <span class=plainlinks>[http://wiki.sugarlabs.org/images/9/9b/Home_ListView_button.png Home list View]</span>.
 
*# 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 <span class=plainlinks>[http://wiki.sugarlabs.org/images/9/9b/Home_ListView_button.png Home list View]</span>.
 
*# 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}}
+
{{Note/important|Important change in Fedora 24 SoaS|The ''livecd-iso-to-disk'' installation script is no longer packaged in the SoaS .iso file.  With Fedora 24, if you want a Live USB with persistent storage, you must install the ''livecd-tools'' package to obtain the installation script and the SYSLINUX boot loader. Use this command to obtain the installer:{{Code|sudo dnf install livecd-tools}}}}<ul>
*# ''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}}.
+
<ol start="6">
*#* 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>
+
<li>''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}}.</li>
<ul><ul><ul><ul>
+
<li> 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></li>
 +
 
 
{{Show|You should see something like the following:
 
{{Show|You should see something like the following:
 
|<pre>
 
|<pre>
Line 35: Line 36:  
vartmp              tmpfs    2.0G    0  2.0G  0% /var/tmp
 
vartmp              tmpfs    2.0G    0  2.0G  0% /var/tmp
 
/dev/sdb1          vfat      3.8G  4.0K  3.8G  1% /run/media/liveuser/SanDisk
 
/dev/sdb1          vfat      3.8G  4.0K  3.8G  1% /run/media/liveuser/SanDisk
</pre>}}</ul></ul></ul>
+
</pre>}}
 
<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: &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: 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> 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: 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 '''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.)
 
(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 500 --home-size-mb 800 --unencrypted-home /run/initramfs/livedev /dev/sdb1
+
[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:  b0a9414ff7eb79b680d5c86440e19587
 
/dev/sr0:  b0a9414ff7eb79b680d5c86440e19587
Line 98: Line 99:  
<li> Shutdown the physical machine.</li>
 
<li> Shutdown the physical machine.</li>
 
<li> [[Sugar on a Stick/Boot|Reboot your computer]] from the newly-installed Live USB with Sugar on a Stick.</li>
 
<li> [[Sugar on a Stick/Boot|Reboot your computer]] from the newly-installed Live USB with Sugar on a Stick.</li>
</ol></ul>
+
</ol>
     

Navigation menu