Changes

Jump to navigation Jump to search
livecd-tools now onboard
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 <span class=plainlinks>[http://wiki.sugarlabs.org/images/5/52/Home_View_List.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}}
 
*# Change the working directory, by entering {{Code|cd /run/initramfs/live/LiveOS}}
Line 38: Line 38:  
<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: 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: 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 '''900''' size values, above, are suitable for a 2 GB USB device. For a 4 GB device, one might use '''1000''' and '''1800''' 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 1000 --home-size-mb 1800 --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:  86396857ba250ac9622e2cced37242c0
+
/dev/sr0:  b0a9414ff7eb79b680d5c86440e19587
Fragment sums: 9b844726affc45a47d6ddf73ba13d88c8f6f6fff2cbcf55476ebe3bbc4a4
+
Fragment sums: 9bfe23577651c88dcfb78c76ac3a28a5c53eead4561e3bdc5921b8b2e748
 
Fragment count: 20
 
Fragment count: 20
 
Press [Esc] to abort check.
 
Press [Esc] to abort check.
Line 56: Line 56:  
Copying live image to target device.
 
Copying live image to target device.
 
squashfs.img
 
squashfs.img
     632,832,000 100%    5.63MB/s    0:01:47 (xfr#1, to-chk=0/1)
+
     630,784,000 100%    1.96MB/s    0:05:06 (xfr#1, to-chk=0/1)
 
osmin.img
 
osmin.img
 
           8,192 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
 
           8,192 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
 
Updating boot config file
 
Updating boot config file
 
Initializing persistent overlay file
 
Initializing persistent overlay file
1000+0 records in
+
500+0 records in
1000+0 records out
+
500+0 records out
1048576000 bytes (1.0 GB) copied, 193.866 s, 5.4 MB/s
+
524288000 bytes (524 MB) copied, 216.717 s, 2.4 MB/s
 
Initializing persistent /home
 
Initializing persistent /home
1800+0 records in
+
800+0 records in
1800+0 records out
+
800+0 records out
1887436800 bytes (1.9 GB) copied, 592.395 s, 3.2 MB/s
+
838860800 bytes (839 MB) copied, 344.643 s, 2.4 MB/s
 
Formatting unencrypted /home
 
Formatting unencrypted /home
 
mke2fs 1.42.8 (20-Jun-2013)
 
mke2fs 1.42.8 (20-Jun-2013)
Line 75: Line 75:  
Fragment size=4096 (log=2)
 
Fragment size=4096 (log=2)
 
Stride=0 blocks, Stripe width=0 blocks
 
Stride=0 blocks, Stripe width=0 blocks
115200 inodes, 460800 blocks
+
51296 inodes, 204800 blocks
23040 blocks (5.00%) reserved for the super user
+
10240 blocks (5.00%) reserved for the super user
 
First data block=0
 
First data block=0
Maximum filesystem blocks=473956352
+
Maximum filesystem blocks=209715200
15 block groups
+
7 block groups
 
32768 blocks per group, 32768 fragments per group
 
32768 blocks per group, 32768 fragments per group
7680 inodes per group
+
7328 inodes per group
 
Superblock backups stored on blocks:  
 
Superblock backups stored on blocks:  
32768, 98304, 163840, 229376, 294912
+
32768, 98304, 163840
    
Allocating group tables: done                             
 
Allocating group tables: done                             
 
Writing inode tables: done                             
 
Writing inode tables: done                             
Creating journal (8192 blocks): done
+
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done  
+
Writing superblocks and filesystem accounting information: done
    
tune2fs 1.42.8 (20-Jun-2013)
 
tune2fs 1.42.8 (20-Jun-2013)
Line 98: Line 98:  
<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>
       
* '''2. Use Fedora Live USB Creator'''  
 
* '''2. Use Fedora Live USB Creator'''  
 
*: (This installation method is NOT recommended for LONG-TERM usage of Sugar on a Stick!!  Catastrophic data corruption may occur when the USB stick gets full!  [[fedora:LiveOS_image#Home_filesystem|See why.]])
 
*: (This installation method is NOT recommended for LONG-TERM usage of Sugar on a Stick!!  Catastrophic data corruption may occur when the USB stick gets full!  [[fedora: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<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.
 
*# 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 Either
*# Adjust the Persistent Storage slider. This enables you to save changes to the system and additional Sugar Activities onto the device.
+
*# 1) the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.  
*# Select your flash drive as the target, and click the '''Create Live USB''' button.
+
*# 2) Download Fedora and select  Fedora-SoaS-{i386|x86_64}-{22|23}  (This automates the download and checksum routine and directly  burns to the USB/ SDCard
 +
*# Adjust the Persistent Storage slider. This enables you to save changes to the system and additional Sugar Activities onto the device. (aka persistence file or Overlay --this space  by default is write once  only)  --see below for  additional way to make /home a  rw overlay
 +
*# Select your flash drive as the target, and click the '''Create Live USB''' button.  
 +
*# With the latest version of Fedora LiveUSB Creator you have TWO (2) option for burning method
 +
*# 1) CP (non destructive) -- meaning you can still use the unused space on a larger (8-16-32-64Gb) usb for whatever post burn.
 +
*# 2) DD ( the old school way) Note:  THIS WILL destroy any previous data make sure you properly  select the drive to use AND make backups of any pre-existing important data (you will not be easily able to retrieve overwritten data)
 
*# Wait for the process to finish, then close the Live USB Creator program.
 
*# Wait for the process to finish, then close the Live USB Creator program.
 
*# 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.

Navigation menu