Changes

bootable partition help
Line 13: Line 13:  
*: (This installation method is not recommended for long-time usage of Sugar on a Stick. [[LiveOS image#Home filesystem|See why.]])
 
*: (This installation method is not recommended for long-time usage of Sugar on a Stick. [[LiveOS image#Home filesystem|See why.]])
 
*# Download the Live USB Creator from [http://fedorahosted.org/liveusb-creator/ Fedora].  
 
*# Download the Live USB Creator from [http://fedorahosted.org/liveusb-creator/ Fedora].  
*# Insert a USB flash drive (or SD Card) 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.
 
*# Launch Live USB Creator.
 
*# Launch Live USB Creator.
 
*# Select the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.  
 
*# Select the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.  
Line 21: Line 21:  
*# Stop your flash drive with the '''Safely Remove Hardware and Eject Media''' notification area icon dialog, and eject it.
 
*# Stop your flash drive with the '''Safely Remove Hardware and Eject Media''' notification area icon dialog, and eject it.
 
::: See a video of an earlier version of this process [http://www.youtube.com/watch?v=ieIj4aECk88 here].
 
::: See a video of an earlier version of this process [http://www.youtube.com/watch?v=ieIj4aECk88 here].
 +
    
{{Anchor|Burn a CD-ROM}}
 
{{Anchor|Burn a CD-ROM}}
Line 31: Line 32:  
*# Change the working directory to {{Code|/run/initramfs/live/LiveOS}}
 
*# Change the working directory to {{Code|/run/initramfs/live/LiveOS}}
 
*#: <small>(Versions earlier than Fedora 17 would use {{Code|/mnt/live/LiveOS}} or {{Code|/LiveOS}}.)</small>
 
*#: <small>(Versions earlier than Fedora 17 would use {{Code|/mnt/live/LiveOS}} or {{Code|/LiveOS}}.)</small>
*# ''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example,'' {{Code|/dev/sd'''b'''1}}.
+
*# ''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), for example,'' {{Code|/dev/sd'''b'''1}}.
*#: Use the {{Code|df -Th}} command to confirm your devices before executing the following script.  
+
*#* 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>
*# execute the Linux 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>
+
<ul><ul><ul><ul>
*#: <small>(Versions earlier than Fedora 17 would use {{Code|/dev/live}} or {{Code|/dev/sr0}} instead of {{Code|/run/initramfs/livedev}}.)</small>
+
{{Show|You should see something like the following:
*# Shutdown the physical machine.
+
|<pre>
*# Reboot from the newly-installed Live USB with Sugar on a Stick.
+
[root@localhost LiveOS]# df -Th
 +
Filesystem          Type      Size  Used Avail Use% Mounted on
 +
rootfs              rootfs    4.0G  2.5G  1.5G  63% /
 +
devtmpfs            devtmpfs  1.6G    0  1.6G  0% /dev
 +
tmpfs              tmpfs    1.6G  84K  1.6G  1% /dev/shm
 +
tmpfs              tmpfs    1.6G  1.2M  1.6G  1% /run
 +
/dev/sr0            iso9660  509M  509M    0 100% /run/initramfs/live
 +
/dev/mapper/live-rw ext4      4.0G  2.5G  1.5G  63% /
 +
tmpfs              tmpfs    1.6G    0  1.6G  0% /sys/fs/cgroup
 +
tmpfs              tmpfs    1.6G    0  1.6G  0% /media
 +
varcacheyum        tmpfs    1.6G    0  1.6G  0% /var/cache/yum
 +
tmp                tmpfs    1.6G  40K  1.6G  1% /tmp
 +
vartmp              tmpfs    1.6G    0  1.6G  0% /var/tmp
 +
/dev/sda1          vfat      3.7G  2.1G  1.7G  56% /run/media/liveuser/TOSHIBA
 +
</pre>}}</ul></ul></ul>
 +
<ol start="8">
 +
<li> Unmount the USB device filesystem: {{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}</li>
 +
<li> Execute the Linux 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>
 +
: <small>(Versions earlier than Fedora 17 would use {{Code|/dev/live}} or {{Code|/dev/sr0}} instead of {{Code|/run/initramfs/livedev}}.)</small></li>
 +
<li> Shutdown the physical machine.</li>
 +
<li> Reboot from the newly-installed Live USB with Sugar on a Stick.</li>
 +
</ol></ul>
   −
* '''3. Launch a virtual machine, then run the script, ''livecd-iso-to-disk'''''  
+
 
 +
* '''3. Launch a virtual machine with the Sugar on a Stick .iso file, then run the script, ''livecd-iso-to-disk'''''  
 
*# Download and install [[VirtualBox]] (for example; you could do something similar with another vm).
 
*# Download and install [[VirtualBox]] (for example; you could do something similar with another vm).
 
*# Create a new virtual machine.
 
*# Create a new virtual machine.
Line 72: Line 95:  
</ol>
 
</ol>
 
</ul>
 
</ul>
 +
 +
 +
===Notes===
 +
A Secure Digital (SD) card may not be marked as a bootable device. To check this, use these instructions:
 +
{{:Sugar on a Stick/Linux/bootable device}}