Sugar on a Stick/Installation/Variations: Difference between revisions

Satellit (talk | contribs)
Satellit (talk | contribs)
 
(8 intermediate revisions by the same user not shown)
Line 12: Line 12:
'''Sugar Creation Kit DVD'''
'''Sugar Creation Kit DVD'''


Download: [http://people.sugarlabs.org/Tgillard/Sugar-Creation-Kit-09.iso] '''Caution 4.2 GB'''
Download: [http://download.sugarlabs.org/images/SugarCreationKit-123.iso] '''Caution 4.2 GB'''


*'''Complete DVD containing all the resources required to create all 3 versions of Sugar-on-a-Stick without requiring Internet access'''
*'''Complete DVD containing all the resources required to create all 3 versions of Sugar-on-a-Stick without requiring Internet access'''


*'''List of Contents:''' [http://people.sugarlabs.org/Tgillard/SugarCreationKit09-Contents.txt]
*'''List of Contents:''' [http://download.sugarlabs.org/images/SugarCreationKit1.2.3-Contents.txt]
 
*'''ALSO SEE:http://wiki.sugarlabs.org/go/Sugar_Creation_Kit'''


Uses:
Uses:
Line 31: Line 33:
* If you use a 1-GB device, do not (i) install large updates or activities or (ii) download large files.  The 300-MB overlay will quickly fill up (e.g., within an hour), and your device will become corrupted (i.e., unbootable) without any warning.  You may use the [[Sugar on a Stick/Sugar Clone|Sugar Cellar]] utility to monitor the usage of the persistent overlay. Also, check your Journal free space frequently.
* If you use a 1-GB device, do not (i) install large updates or activities or (ii) download large files.  The 300-MB overlay will quickly fill up (e.g., within an hour), and your device will become corrupted (i.e., unbootable) without any warning.  You may use the [[Sugar on a Stick/Sugar Clone|Sugar Cellar]] utility to monitor the usage of the persistent overlay. Also, check your Journal free space frequently.
* Use zyx-liveinstaller [[Sugar_on_a_Stick/ZyX-LiveInstaller]] for soas-v2-'''Blueberry''' or '''liveinst''' command for Fedora based installs in a terminal to make a non-live installation. It will require about 2x as large device as the file structure will not be compressed. These non-live installs are more robust in use but may have a shorter service lifetime (See [[olpc:How to Damage a FLASH Storage Device]].)
* Use zyx-liveinstaller [[Sugar_on_a_Stick/ZyX-LiveInstaller]] for soas-v2-'''Blueberry''' or '''liveinst''' command for Fedora based installs in a terminal to make a non-live installation. It will require about 2x as large device as the file structure will not be compressed. These non-live installs are more robust in use but may have a shorter service lifetime (See [[olpc:How to Damage a FLASH Storage Device]].)
* Fedora 13-based SoaS-'''Mirabelle''' will install with either '''liveinst''' (Anaconda) or '''zyx-liveinstaller ''' Download Instructions: [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Blueberry#zyx-liveinstaller_Instructions_for_Mirabelle_f13] Hint:you can also use: '''livecd-iso-to-disk''' [http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh] or '''liveusb-creator''' [http://en.wikipedia.org/wiki/Fedora_Live_USB_creator] [https://fedorahosted.org/liveusb-creator/#Download]  to create the device.
* Fedora 13-based SoaS-'''Mirabelle''' will install with either '''liveinst''' (Anaconda) or '''zyx-liveinstaller ''' Download Instructions: [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Blueberry#zyx-liveinstaller_Instructions_for_Mirabelle_f13] Hint:you can also use: '''livecd-iso-to-disk''' [http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh] or '''liveusb-creator''' [http://en.wikipedia.org/wiki/Fedora_Live_USB_creator] [https://fedorahosted.org/liveusb-creator/#Download]  to create the device. '''NOTE:USB used with liveusb-creator needs to be labeled "FEDORA" for liveusb-creator to make a bootable USB'''
* notes on ext3 / ext4 file systems:[http://lwn.net/Articles/322823/] (It looks like ext3 formatting may be more robust.)
* notes on ext3 / ext4 file systems:[http://lwn.net/Articles/322823/] (It looks like ext3 formatting may be more robust.)
* Discussion on causes of failure [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Stick_Layout] delayed writes [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Stick_Layout]
* Discussion on causes of failure [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Stick_Layout] delayed writes [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Stick_Layout]
Line 108: Line 110:


* Used to transfer files to and from the journal and PC Desktop
* Used to transfer files to and from the journal and PC Desktop
: This creates a 8 GB USB which becomes an '''INSTALLER USB'''
:: '''stable ext4 Non-live File structure'''
:: It will use either liveusb-creator from the command line to make non-persistent USB's or script to create persistent ones.
:: A ONE Stick Installer that contains room for up to to 3 Soas.iso files on its Visible fat16 2.4 GB 2nd Partition


updated 06/18/2010 tg
updated 06/18/2010 tg
Line 167: Line 174:
=====USING 8 GB Installer USB=====
=====USING 8 GB Installer USB=====


======liveusb-creator======
======1-) liveusb-creator======
*Boot from new USB
*Boot from new USB
Terminal
Terminal
Line 180: Line 187:
:NO Persistence why?
:NO Persistence why?


======Use livecd-iso-to-disk to write 2 GB USB=======  
======2-) Use livecd-iso-to-disk to write 2 GB USB=======  
 
cd /media/Myfiles
cp livecd-iso-to-disk /
 
 
[root@localhost /]# ./livecd-iso-to-disk  --format --reset-mbr --overlay-size-mb 600  /media/Myfiles/Soas-v3-Mirabelle.iso /dev/sdc1
 
Verifying image...
 
/media/Myfiles/Soas-v3-Mirabelle.iso:  0ce28e3947106fd37bab9317abf09938
 
Fragment sums: a3c6e5fd5fba11d2b4da71771e8732b63bcb62b841971f7f39ab5c187f64
 
Fragment count: 20
 
Checking: 100.0%
 
 
 
The media check is complete, the result is: PASS.
 
 
 
It is OK to use this media.
 
/dev/sdc1 is mounted, please unmount for safety
 
Cleaning up to exit...
 
[root@localhost /]# ./livecd-iso-to-disk  --format --reset-mbr --overlay-size-mb 600  /media/Myfiles/Soas-v3-Mirabelle.iso /dev/sdc1
 
Verifying image...
 
/media/Myfiles/Soas-v3-Mirabelle.iso:  0ce28e3947106fd37bab9317abf09938
 
Fragment sums: a3c6e5fd5fba11d2b4da71771e8732b63bcb62b841971f7f39ab5c187f64
 
Fragment count: 20
 
Checking: 100.0%
 
 
 
The media check is complete, the result is: PASS.
 
 
 
It is OK to use this media.
 
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
 
Press Enter to continue or ctrl-c to abort
 
 
 
Warning: The resulting partition is not properly aligned for best performance.
 
Waiting for devices to settle...
 
mkdosfs 3.0.9 (31 Jan 2010)
 
Copying live image to USB stick
 
Updating boot config file
 
Initializing persistent overlay file
 
600+0 records in
 
600+0 records out
 
629145600 bytes (629 MB) copied, 102.38 s, 6.1 MB/s
 
Installing boot loader
 
USB stick set up as live image!
 
[root@localhost /]#
 


cd /media/Myfiles
cp livecd-iso-to-disk /


'''[root@localhost /]# ./livecd-iso-to-disk  --format --reset-mbr --overlay-size-mb 600  /media/Myfiles/Soas-v3-Mirabelle.iso /dev/sdc1'''
Verifying image...
/media/Myfiles/Soas-v3-Mirabelle.iso:  0ce28e3947106fd37bab9317abf09938
Fragment sums: a3c6e5fd5fba11d2b4da71771e8732b63bcb62b841971f7f39ab5c187f64
Fragment count: 20
Checking: 100.0%
The media check is complete, the result is: PASS.
It is OK to use this media.
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
Press Enter to continue or ctrl-c to abort
Warning: The resulting partition is not properly aligned for best performance.
Waiting for devices to settle...
mkdosfs 3.0.9 (31 Jan 2010)
Copying live image to USB stick
Updating boot config file
Initializing persistent overlay file
600+0 records in
600+0 records out
629145600 bytes (629 MB) copied, 102.38 s, 6.1 MB/s
Installing boot loader
USB stick set up as live image!
[root@localhost /]#


====== Make backup .img file======
====== Make backup .img file======
Line 370: Line 322:
Note2: liveusb-creator will NOT work in this USB as this in not a live system.
Note2: liveusb-creator will NOT work in this USB as this in not a live system.


Note3: This is  modified version of bernie's '''soas-2-blueberry-direct-2GB.img''' [http://people.sugarlabs.org/bernie/soas-2-blueberry-direct-2GB.img.xz]
Note3: This is  modified version of bernie's '''soas-2-blueberry-direct-2GB.img'''   -- Announcement and description: [http://people.sugarlabs.org/Tgillard/Direct_Soas.txt]
::'''Original file is no longer available'''11/09/2011 satellit_


===How to Build a F13 Soas stick that writes live USB's===
===How to Build a F13 Soas stick that writes live USB's===