Difference between revisions of "Trisquel On A Sugar Toast"

From Sugar Labs
Jump to navigation Jump to search
(64 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Live USB]]</noinclude>
 
<noinclude>[[Category:Live USB]]</noinclude>
Trisquel on a Sugar toast (TOAST from now on) is a live/installable iso image that can be run from a CD/DVD or be used to load a USB drive with data persistence. Some other advanced uses are described below.
+
'''T'''risquel '''o'''n '''a''' '''S'''ugar '''T'''oast (TOAST from now on) is a live/installable iso image that can be run from a CD/DVD or be used to load a USB drive with data persistence. Some other advanced uses are described below.
:'''also see: [[Community/Distributions/Trisquel]]'''
 
 
 
==Main features of Trisquel-Sugar==
 
 
 
[[File:Toast_boot_menu.png|200px|thumb|right|TOAST boot menu]]
 
 
__TOC__
 
__TOC__
 +
==[[File:trisquel_logo.png]]Trisquel 7 Sugar TOAST==
 +
* Announcement: 11/04/2014
 +
*: https://trisquel.info/en/trisquel-70-lts-belenos
 +
* Download:
 +
*: https://trisquel.info/en/download
 +
*:: Select Trisquel Sugar TOAST for the Live CD iso download file.
 +
* Create a Live USB drive:
 +
*: https://trisquel.info/en/wiki/how-create-liveusb
 +
*:: In Sugar TOAST, the Startup Disk Creator must be launched from a Terminal session with the command line<br>{{Code|usb-creator-gtk}}
  
===Trisquel 5.0 Sugar===
+
==Alternative installations==
:http://devel.trisquel.info/sugar/toast/iso/trisquel-sugar_5.0_i686-20111204.iso 03 Dec 2011
+
===Virtual machines===
:http://devel.trisquel.info/sugar/toast/iso/ 25-Nov-2011
+
====Older versions====
 +
* [[Trisquel On A Sugar Toast/Virtual_machines/Archive]]
  
: Trisquel 5.0 is based on the previous Ubuntu release, 11.04 Natty Narwhal.
+
===Full install to Hard Disk===
===Install To 4 GB USB disk===
+
: Use startup boot splash of CD to select install to HD
 +
* Install To 4 GB USB-stick
 
::Formatted /boot 500 ext4 / ext4 3300
 
::Formatted /boot 500 ext4 / ext4 3300
 
*Boot CD
 
*Boot CD
 
:Install Trisquel
 
:Install Trisquel
 
::Choose USB /dev/sdb;/dev/sdc;...etc
 
::Choose USB /dev/sdb;/dev/sdc;...etc
*Boot USB disk and Customize it
+
*Boot USB stick and Customize it:
:add and modify programs you want to have
+
:(add and modify activities; .pdf files etc that you want to have loaded in the sugar-journal)
 
{{Note/note|
 
{{Note/note|
* '''When making a new image''', to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the VM, enter the command {{Code|rm&nbsp;~&nbsp;rf&nbsp;/.sugar}} in the Terminal activity. Then shutdown the VM. This will clear all Learner information on the VM and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the '''.sugar''' directory by entering {{Code|ls&nbsp;-a}} in Terminal.
+
* '''When making a new USB-stick''', to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the USB, enter the command {{Code|rm&nbsp;~&nbsp;rf&nbsp;/.sugar}} in the Terminal activity. Then shutdown the USB-stick. This will clear all Learner information on the USB and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the '''.sugar''' directory by entering {{Code|ls&nbsp;-a}} in Terminal.
* '''When cloning a customized image''', in order to keep the Journal and installed .xo Activities, use {{Code|rm&nbsp;~/.sugar/default/owner.key*}} in the Sugar Terminal, and then shutdown the USB. This leaves the Journal entries and removes only the previous Learner's identity key files.}}
+
* '''When cloning a customized USB-stick''', in order to keep the Journal and installed .xo Activities, use {{Code|rm&nbsp;~/.sugar/default/owner.key*}} in the Sugar Terminal, and then shutdown the USB-stick. This leaves the Journal entries and removes only the previous Learner's identity key files.}}
*Sugar-terminal
+
*Sugar Terminal
 
  sudo su
 
  sudo su
 
  Changes to root terminal(#)
 
  Changes to root terminal(#)
 
  shutdown -h now
 
  shutdown -h now
  (USB shutsdown)
+
  (USB stick shuts down)
 
====Make .img file====
 
====Make .img file====
:insert 4 GB USB in PC
+
:insert 4 GB USB disk in PC
  You must replace "(x)" with the appropriate small Latin letter ("a", "b", "c", ...), so the name corresponds to your USB stick.
+
{{Note/note|
  For example, the name could be "/dev/sdc".  
+
You must replace "(x)" with the appropriate small Latin letter ("a", "b", "c", ...), so the name corresponds to your USB stick.
Be careful to not mistake your USB stick with another device, because the commands above will delete everything on that device.
+
For example, the name could be "/dev/sdc".  
  You can see which device your USB stick is by typing "mount" in terminal
+
be careful to not mistake your USB stick with another device, because the commands above will delete everything on that device.
 +
You can see which device your USB stick is by typing "mount" in terminal}}
  
 
  $ sudo su
 
  $ sudo su
Line 42: Line 49:
 
  4009754624 bytes (4.0 GB) copied, 174.034 s, 23.0 MB/s
 
  4009754624 bytes (4.0 GB) copied, 174.034 s, 23.0 MB/s
  
====Write .img file to another 4 GB USB====
+
====Write .img file to another 4 GB USB disk====
 
:insert another 4GB USB in PC
 
:insert another 4GB USB in PC
 
  # dd if=Tris-5-i686.img of=/dev/sd(x) bs=2M
 
  # dd if=Tris-5-i686.img of=/dev/sd(x) bs=2M
Line 51: Line 58:
 
:'''You can run this multiple times to mass duplicate new USB's'''
 
:'''You can run this multiple times to mass duplicate new USB's'''
  
 +
==Main features of Trisquel-Sugar==
 
===Trisquel 4.5-sugar===
 
===Trisquel 4.5-sugar===
 
*Sugar 0.88.1 with the Fructose and Honey activities.
 
*Sugar 0.88.1 with the Fructose and Honey activities.
Line 59: Line 67:
 
*Graphical boot splash with translated options menu
 
*Graphical boot splash with translated options menu
 
*Graphical USB-creator tool built in
 
*Graphical USB-creator tool built in
*Sugar-style artwork
+
*Sugar-style artwork
 +
::http://people.sugarlabs.org/Tgillard/trisquel-sugar_4.5.1_i686.iso  05/22/2011
  
===Trisquel 4.0-sugar===
 
*Sugar 0.86.2 with the Fructose and Honey activities.
 
*Built on top of Trisquel 3.0 (based on Ubuntu 9.10), making it 100% free.
 
*395MB iso image for i386 PC's. An amd64 version is available, but not published as it might make distribution a little more complicated while providing almost no advantages.
 
*30 languages included (English as default):
 
**ar bn ca de el en es eu fa fr gl he hi it ja mg mn nb ne nl pt_PT ru si sl sq sv tr ur vi zh_CN
 
*Graphical boot splash with translated options menu
 
*Graphical USB-creator tool built in
 
*Sugar-style artwork
 
  
===Trisquel 3.0-sugar===
 
*Sugar 0.86.2 with the Fructose and Honey activities.
 
*Built on top of Trisquel 3.0 (based on Ubuntu 9.04), making it 100% free.
 
*395MB iso image for i386 PC's. An amd64 version is available, but not published as it might make distribution a little more complicated while providing almost no advantages.
 
*30 languages included (English as default):
 
**ar bn ca de el en es eu fa fr gl he hi it ja mg mn nb ne nl pt_PT ru si sl sq sv tr ur vi zh_CN
 
*Graphical boot splash with translated options menu
 
*Graphical USB-creator tool built in
 
*Sugar-style artwork
 
 
More info and screenshots can be found here: http://trisquel.info/en/trisquel-sugar
 
More info and screenshots can be found here: http://trisquel.info/en/trisquel-sugar
  
==[[File:trisquel_logo.png]] Download==
 
  
====Trisquel-sugar_5.0-i686====
 
*Testing: http:http://devel.trisquel.info/dagda/iso/
 
 
===USB_startup_disk_creator===
 
*Creates a Live USB with peristence from booted Trisquel 5 Sugar CD
 
:Uses CD as source and inserted USB as target
 
terminal:
 
'''usb-creator-gtk'''
 
 
:ubiquity (HD installer) is not on Full install
 
 
===Full install to USB===
 
: Use startup boot splash to select install to HD
 
 
====Trisquel-sugar_4.5.1_i686====
 
::http://devel.trisquel.info/sugar/trisquel-sugar_4.5.1_i686.iso
 
 
 
: http://wiki.sugarlabs.org/go/Talk:Community/Distributions/Trisquel#trisquel-sugar_4.5.1_i686
 
:: NEW 05/22/2011
 
 
====trisquel-sugar_4.1====
 
 
*'''Download:[http://devel.trisquel.info/sugar/ trisquel-sugar_4.1]'''
 
:http://devel.trisquel.info/sugar/
 
 
 
====trisquel-sugar_3.0====
 
*'''Download:[http://devel.trisquel.info/sugar/ trisquel-sugar_3.0]'''
 
:http://devel.trisquel.info/sugar/
 
:
 
 
====Bug Reports====
 
====Bug Reports====
 
:  '''Use http://trisquel.info/en/project/issues''' to report bugs
 
:  '''Use http://trisquel.info/en/project/issues''' to report bugs
Line 123: Line 82:
  
 
==[[File:Usb1.png]] dd writable 2GB USB .img==
 
==[[File:Usb1.png]] dd writable 2GB USB .img==
:"TOAST" '''T'''risquel '''O'''n '''A''' '''S'''ugar '''T'''oast
+
===Image of a Full Install to a 2 GB USB ===
===Full Install===
+
 
:Image of a Full Install to a 2 GB USB  
 
 
::file structure:  fat 32/ boot,lba / 1.72GiB -1.62GiB used
 
::file structure:  fat 32/ boot,lba / 1.72GiB -1.62GiB used
 
::::''' note use gparted to expand the USB if using a larger USB'''
 
::::''' note use gparted to expand the USB if using a larger USB'''
Line 157: Line 115:
 
:2 GB Verbatum Sliding cover USB  (smaller)
 
:2 GB Verbatum Sliding cover USB  (smaller)
 
:2 GB Sandisk Cruzer micro ('''after removing U3 hidden partition''') (smaller)
 
:2 GB Sandisk Cruzer micro ('''after removing U3 hidden partition''') (smaller)
::How to remove u3 partition:http://wiki.sugarlabs.org/go/Sugar_Creation_Kit#Cautions_with_u3_USB_sticks
+
::How to remove u3 partition: [[Sugar_Creation_Kit#Cautions_with_u3_USB_sticks]]
 
 
==[[File:Usb1.png]] Startup Disk Creator-Persistent USB==
 
:Using a trisquel 4.5.1 HD (gnome) install
 
===Required===
 
# 2 GB USB formatted fat16
 
# Trisquel 4.5.1-sugar.iso
 
  
==Make Persistent USB==
 
Open Startup Disk Creator
 
select "other" and  and find  Trisquel 4.5.1-sugar.iso
 
insert 2 GB USB formatted fat 16
 
select this USB from Drop-down box
 
set persistence file size with slider
 
  (Do not set persistence slider greater than 1.8GB) this is fat 16
 
You will get 3 pop-ups requesting password as it writes USB
 
==Browse Does not Start/Use surf-115.xo==
 
;download to a 2nd USB and drag drop to journal
 
http://people.sugarlabs.org/Tgillard/Surf-115.xo
 
:This is required for a browser.
 
 
==Password==
 
==Password==
 
; if you do a restart you will be returned to the gdm login screen:
 
; if you do a restart you will be returned to the gdm login screen:
Line 235: Line 175:
 
**olpc.fth patch included: http://trisquel.info/en/issues/please-include-bootolpcfth-ext2-bootable-parition
 
**olpc.fth patch included: http://trisquel.info/en/issues/please-include-bootolpcfth-ext2-bootable-parition
  
= Trisquel 4.5 LTS-Gnome Desktop with Sweets Sugar=
 
 
* Install from burned CD
 
:4 GB USB:use Custom format: /boot ext4 800; / ext4 3000; no swap  (not LVM)
 
:: swap is counterproductive to use with a USB
 
# Hard Disk format "use whole disk"
 
# USB 4GB or larger (use 12.00 GB for Virtualbox)
 
# Virtualbox 4.xx running on various linux, OSX, & windows installations (xxx.iso can also be used)
 
 
===[[Community/Distributions/Sweets_Distribution|Install Sugar-desktop 0.88 0r 0.92 "Sweets-Sugar]]===
 
:revised 4 Dec 2011
 
  
 
==='''Suggestions'''===
 
==='''Suggestions'''===
*'''For a full screen SUGAR on Gnome Desktop (Menu/Education/sugar)'''
+
*[[Emulator/Full Screen|configure full screen]],
:: Right click on Sugar icon and add to desktop
 
:: Right click for Properties of sugar icon on desktop:edit command line to sugar-emulator''' -f'''
 
:: close
 
 
* '''To download and install more applications from ASLO'''
 
* '''To download and install more applications from ASLO'''
 
: Open browse application- click on "Applications" (top Right)
 
: Open browse application- click on "Applications" (top Right)
Line 257: Line 183:
 
*''' Sugar Desktop Full Screen'''  
 
*''' Sugar Desktop Full Screen'''  
 
: Log out and log in with "Sugar" selected on bottom gdm bar.
 
: Log out and log in with "Sugar" selected on bottom gdm bar.
 +
 
===Cautions===
 
===Cautions===
 
: '''Do NOT upgrade sugar-browse from sugar-browse- to sugar-browse-120''' via the CP/upgrade. It will not start.
 
: '''Do NOT upgrade sugar-browse from sugar-browse- to sugar-browse-120''' via the CP/upgrade. It will not start.
Line 264: Line 191:
 
:http://trisquel.info/en/wiki/customizing-trisquel-iso
 
:http://trisquel.info/en/wiki/customizing-trisquel-iso
 
::Scripts to make USB: http://devel.trisquel.info/live-usb/
 
::Scripts to make USB: http://devel.trisquel.info/live-usb/
 +
 +
==Subpages index==
 +
{{Special:PrefixIndex/{{PAGENAMEE}}/}}

Revision as of 01:50, 8 November 2014

Trisquel on a Sugar Toast (TOAST from now on) is a live/installable iso image that can be run from a CD/DVD or be used to load a USB drive with data persistence. Some other advanced uses are described below.

Trisquel logo.pngTrisquel 7 Sugar TOAST

Alternative installations

Virtual machines

Older versions

Full install to Hard Disk

Use startup boot splash of CD to select install to HD
  • Install To 4 GB USB-stick
Formatted /boot 500 ext4 / ext4 3300
  • Boot CD
Install Trisquel
Choose USB /dev/sdb;/dev/sdc;...etc
  • Boot USB stick and Customize it:
(add and modify activities; .pdf files etc that you want to have loaded in the sugar-journal)
35px-Activity-write.png
  • When making a new USB-stick, to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the USB, enter the command rm ~ rf /.sugar in the Terminal activity. Then shutdown the USB-stick. This will clear all Learner information on the USB and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the .sugar directory by entering ls -a in Terminal.
  • When cloning a customized USB-stick, in order to keep the Journal and installed .xo Activities, use rm ~/.sugar/default/owner.key* in the Sugar Terminal, and then shutdown the USB-stick. This leaves the Journal entries and removes only the previous Learner's identity key files.
  • Sugar Terminal
sudo su
Changes to root terminal(#)
shutdown -h now
(USB stick shuts down)

Make .img file

insert 4 GB USB disk in PC
35px-Activity-write.png

You must replace "(x)" with the appropriate small Latin letter ("a", "b", "c", ...), so the name corresponds to your USB stick. For example, the name could be "/dev/sdc". be careful to not mistake your USB stick with another device, because the commands above will delete everything on that device.

You can see which device your USB stick is by typing "mount" in terminal
$ sudo su
[sudo] password for <USER>: 
# dd if=/dev/sd(x) of=Tris-5-i686.img bs=2M
1912+0 records in
1912+0 records out
4009754624 bytes (4.0 GB) copied, 174.034 s, 23.0 MB/s

Write .img file to another 4 GB USB disk

insert another 4GB USB in PC
# dd if=Tris-5-i686.img of=/dev/sd(x) bs=2M
1912+0 records in
1912+0 records out
4009754624 bytes (4.0 GB) copied, 925.221 s, 4.3 MB/s
  • This will be a NEW USB to boot which will have it's own ssh keys; color; and name; when booted. If you followed the commands in the blue note above.
You can run this multiple times to mass duplicate new USB's

Main features of Trisquel-Sugar

Trisquel 4.5-sugar

  • Sugar 0.88.1 with the Fructose and Honey activities.
  • Built on top of Trisquel 4.5 (based on Ubuntu 10.04), making it 100% free.
  • 395MB iso image for i386 PC's. An amd64 version is available, but not published as it might make distribution a little more complicated while providing almost no advantages.
  • 30 languages included (English as default):
    • ar bn ca de el en es eu fa fr gl he hi it ja mg mn nb ne nl pt_PT ru si sl sq sv tr ur vi zh_CN
  • Graphical boot splash with translated options menu
  • Graphical USB-creator tool built in
  • Sugar-style artwork
http://people.sugarlabs.org/Tgillard/trisquel-sugar_4.5.1_i686.iso 05/22/2011


More info and screenshots can be found here: http://trisquel.info/en/trisquel-sugar


Bug Reports

Use http://trisquel.info/en/project/issues to report bugs

Install to disk

You can use TOAST live from a removable media, or perform a permanent install as you do with any GNU/Linux distro. You can select "Install Triquel" in the main boot menu to do so. If you already started a live session, you can manually launch the installer by running "ubiquity" in the terminal activity.

Usb1.png dd writable 2GB USB .img

Image of a Full Install to a 2 GB USB

file structure: fat 32/ boot,lba / 1.72GiB -1.62GiB used
note use gparted to expand the USB if using a larger USB
Persistent (just like a Hard Disk Install)
sweets sugar 0.88.1
Easy Duplication- about 5 minutes to write from the image.
Ready to start by registering new user's name and color

Download

http://download.sugarlabs.org/images/Trisquel_4-5-1a-sugar.img 1.9G
Compressed: http://download.sugarlabs.org/images/Trisquel_4-5-1a-sugar.img.tar.bz2 397M

dd write

#(root terminal)
dd if=Trisquel_4-5-1a-sugar.img of=/dev/sd(x) bs=4k [1] 
489472+0 records in
489472+0 records out
2004877312 bytes (2.0 GB) copied, 296.656 s, 6.8 MB/s
[1] (x)=your device name. type "mount" in terminal to see it
CAUTION Do not use /dev/sda
  • Disregard this message if it appears:
dd: writing to /dev/sd(x)': No space left on device
The .img file is actually smaller than 2.0 GB (1.9GB) so it will work.
the critical parts of the USB image are written prior to this message appearing
(THE USB was resized in gparted. before writing to an .img)
some 2Gb USB's are smaller than the 2 GB Lexar I used.
  • tested on
2 Gb Lexar Firefly USB
2 GB Verbatum Sliding cover USB (smaller)
2 GB Sandisk Cruzer micro (after removing U3 hidden partition) (smaller)
How to remove u3 partition: Sugar_Creation_Kit#Cautions_with_u3_USB_sticks

Password

if you do a restart you will be returned to the gdm login screen
user=trisquel
password= none; hit return

Configure a Sugar-ltsp-server

you just have to install sugar on the central server
sudo apt-get install trisquel-sugar

Create a USB thumb drive

A Live USB thumb drive runs faster and allows the user to keep the data and settings for the next run. To get that, download the iso and burn it on a blank CD. Start a Live session with it, plug your flash drive and open the terminal activity. Run the command usb-creator and follow the instructions to configure your USB drive. If it is FAT formated (the most usual format for these units), the data on it will not be erased, and will remain accessible.

Live CD persistence

You can achieve user data persistence by loading TOAST from a handy USB drive, but you can also use a regular Live CD for that, and it will work in systems with no USB-boot capabilities. You just need to pass the "persistent" parameter to the Live CD kernel (pressing F4 in the boot menu) and have a ext2 (ext3 and 4 will work too) partition labeled "live-rw" available in any disk. It can be a USB flash drive too.

Any data in the /home directory will be stored in the live-rw partition; if you need to install a persistent file outside /home, as a config file or a program, or even install some deb packages, you just need to label the partition "casper-rw" instead. For normal Sugar, use "live-rw".

This method is useful to save space in the thumb drive for persistence data, and also because the persistence partition can be mounted and accessed from other computers. It can be used to have live persistent sessions in systems that cannot boot from USB, but this will work faster if you use the method described next.

USB load helper

Some computers -like Apple's- cannot boot an operating system from a thumb drive, and in some cases the computer is not configured to do so and the user doesn't have the privileges or knowledge to do that, and a CD is the only method for booting a system. As USB images run faster and can provide integrated persistence, you might want to use the Live CD to load just the kernel and run the live session from the faster flash drive instead. You just need to create a Live USB drive using the method described above, and boot the computer with both the CD and the USB drive inserted. Set the computer to boot from the CD, and it will load the kernel and search for USB drives to continue booting from them.

Easy virtualized images

The above methods can also be used in a virtualization application like VirtualBox or KVM. You just need to start a live session using the TOAST iso, format the virtual disk with ext3, label it "live-rw" and reboot. Since then, the virtual disk will store the persistent data. If a new TOAST iso is released, you just need to replace the image attached to your virtualization system.


SD cards support

Using a USB SD card reader you should be able to use the usb-creator tool to load the live image into a SD card. That will allow you to boot the persistent live system in a XO or netbook, or install TOAST in its hard drive. It should also work with other card formats, as long as the computer is able to boot from them.

Updating

To get the latest version of the Sugar activities, just open the updater in the user settings window. To update the Trisquel system underneath, open a terminal and run this commands:

sudo apt-get update
sudo apt-get upgrade

This procedure will also update the Fructose activities, and it will no interfere with the Sugar updater in any way.

Changelog

  • 20091021
    • New partition layout, XO compatibility improved
    • USB-creator activity added
    • Fixes #1497
    • 35MB lighter (395MB)
  • 20091020
    • Several Sugar bugfixes and updates: sugar-imageviewer v14, sugar-pippy #1058, sugar-read v76, sugar-terminal v28, sugar-toolkit #1507, sugar-turtleart v75, sugar #1373 #1476 #1506
  • 20091009
    • Sugar updated to 0.86.2
  • 20091002


Suggestions

Open browse application- click on "Applications" (top Right)
download and install applications from ASLO
  • Sugar Desktop Full Screen
Log out and log in with "Sugar" selected on bottom gdm bar.

Cautions

Do NOT upgrade sugar-browse from sugar-browse- to sugar-browse-120 via the CP/upgrade. It will not start.
Fix: Remove browse-120 from journal then restart sugar

References

http://trisquel.info/en/wiki/customizing-trisquel-iso
Scripts to make USB: http://devel.trisquel.info/live-usb/

Subpages index