Difference between revisions of "Trisquel On A Sugar Toast"

From Sugar Labs
Jump to navigation Jump to search
(Update to link for Trisquel 11)
 
(157 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
[[Category:Live USB]]
 +
</noinclude>
 +
__TOC__
 +
=[[File:trisquel_logo.png]] Trisquel 11 Sugar Toast=
 
<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.
 
:'''also see: [[Community/Distributions/Trisquel]]'''
 
  
==Main features Trisquel 3.0==
+
'''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.
; (this section needs updating)
 
[[File:Toast_boot_menu.png|200px|thumb|right|TOAST boot menu]]
 
{{TOCright}}
 
*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
+
* http://us.archive.trisquel.info/iso/trisquel_11.0.1_amd64.iso
  
==Download==
+
Among other things,
 +
* It has lots of Activities
 +
* It autostarts if you just turn it on
 +
* It has a joyful splash screen
 +
* It uses any Linux swap partitions it finds
  
====[[File:trisquel_logo.png]][http://devel.trisquel.info/sugar/trisquel-sugar_4.5.1_i686.iso trisquel-sugar_4.5.1_i686]====
+
Now for the bad news...
::::Click link for Download ^
 
:;sugar 0.88.1 sweets
 
*Testing: http://wiki.sugarlabs.org/go/Talk:Community/Distributions/Trisquel#trisquel-sugar_4.5.1_i686
 
;:: NEW 05/22/2011
 
  
===='''[[Community/Distributions/Trisquel#trisquel-sugar_4.1_i686|trisquel-sugar_4.1]]'''====
+
* It only has English and Spanish as language options
 +
* it is missing the firmware to make some wireless chips work (Intel 3945, maybe others)
  
*'''Download:[http://devel.trisquel.info/sugar/trisquel-sugar_4.1_i686.iso trisquel-sugar_4.1_i686] NEW'''
+
and it shares a hardware-specific bug with the other Sugar Live systems:
:http://devel.trisquel.info/sugar/trisquel-sugar_4.1_i686.iso
+
* With some nVidia video cards, Xorg's "nouveau" DRI driver bug which makes  github.com/login go all gray and affects other websites including gmail.com The simplest and least invasive fix is to delete /usr/lib/*-linux-gnu/dri/nouveau_dri.so<BR>Hot fix on Live System: CTRL-ALT-F2 trisquel [Enter] [Enter] sudo rm /usr/lib/*-linux-gnu/dri/nouveau_dri.so; sudo killall Xorg [Enter] then login as trisquel [Enter] [Enter])<BR>For gory details see [http://github.com/sugarlabs/sugar-live-build/issues/20 sugar-live-build issue 20]
:;sugar 0.88.1 sweets
 
  
====trisquel-sugar_3.0====
+
==Bug Reports==
:http://devel.trisquel.info/sugar/trisquel-sugar_3.0-LATEST_i686.iso
+
Use '''https://gitlab.trisquel.org/trisquel/makeiso/-/issues''' to report bugs specific to the TOAST ISO image.
  
Use http://trisquel.info/en/project/issues to report bugs
+
Use '''http://trisquel.info/en/project/issues''' to report bugs generic to Trisquel, with tag "sugar" and milestone "etiona".
  
 
==Install to disk==
 
==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.
 
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.
  
==dd writable 2GB USB .img==
+
==Password==
===Test Version===
+
if you do a restart you will be returned to the gdm login screen:
====Create USB====
+
user=trisquel
*This is done with Running Trisquel 4.5.1 installed to HD
+
  password= none; hit [Enter]
*terminal:
 
sudo su
 
password
 
:blank the 2 GB USB for minimal size on compression.
 
dd if=/dev/zero of=/dev/sd(x)
 
*gparted
 
:create 2 new partitions
 
::/dev/sd(x)1 ext2 900
 
:::label:trisquel-live
 
::/dev/sd(x)2 ext4 balance (about 1000)
 
::: label: home-rw
 
:Set boot flag /dev/sd(x)1
 
*exit gparted
 
*Startup Disk Creator
 
: other select Trisquel-4.5.2-sugar.iso
 
::OK
 
* remove and insert USB
 
:select /dev/sdb1
 
:NO persistence
 
:(o) Discard on shutdown unless you store them elsewhere
 
:create USB
 
;wait for delayed writes to complete to USB (flashes)
 
====Make.img file====
 
sudo su
 
password
 
cd Desktop
 
dd if=/dev/sd(x) of=Trisquel_4-5-1-2p.img
 
 
 
===Full Install===
 
:Image of a Full Install to a 2 GB USB (ext4 file structure)
 
::Persistent
 
: 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
 
====Problems====
 
# will not install to HD (not a live image)
 
# no alternate languages available
 
 
 
====Download====
 
:'''http://download.sugarlabs.org/images/Trisquel_4-5-1a-sugar.img'''
 
 
 
====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)
 
 
 
==Configure a Sugar-ltsp-server==
 
  
 +
==Advanced topics==
 +
===Configure a Sugar-ltsp-server===
 
:you just have to install sugar on the central server
 
:you just have to install sugar on the central server
 
  sudo apt-get install trisquel-sugar
 
  sudo apt-get install trisquel-sugar
 
*LINK: https://trisquel.info/en/wiki/configure-ltsp-server
 
*LINK: https://trisquel.info/en/wiki/configure-ltsp-server
 
==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===
 
===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.
 
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.
  
Line 126: Line 51:
  
 
===USB load helper===
 
===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.
 
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===
 
===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.
 
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===
 
===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.
 
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==
+
===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:
 
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:
  
Line 145: Line 65:
 
  sudo apt-get upgrade
 
  sudo apt-get upgrade
  
This procedure will also update the Fructose activities, and it will no interfere with the Sugar updater in any way.
+
This procedure will also update the Fructose activities, and it will not interfere with the Sugar updater.
 
 
==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
 
**Sugar updated to 0.86.1
 
**olpc.fth patch included: http://trisquel.info/en/issues/please-include-bootolpcfth-ext2-bootable-parition
 
 
 
= Trisquel 4.5 LTS-Gnome Desktop with sweets sugar 0.88.1=
 
 
 
* Install from burned CD
 
:Custom format: /boot ext4 800; / ext4 1100; swap 1000 (not LVM)
 
# Hard Disk
 
# USB 4GB or larger (use 12.00 GB for Virtualbox)
 
# Virtualbox 4.0.2 running on various linux, OSX, & windows installations (xxx.iso can also be used)
 
 
 
===Install Sugar-desktop 0.88 "SWEETS" ===
 
:'''NEW''' 02/03/2011 alsroot and satellit
 
::This is dextrose-2, thus more then just 0.88. it contains several features that still not committed to the trunk + bug fixes from 0.90+
 
 
 
:'''Sugar 0.88 sweets'''
 
 
 
*Boot Install and open terminal
 
sudo su
 
cd /etc/apt
 
gedit sources.list (gedit opens)
 
add these lines to sources.list:
 
deb http://bazaar-download.sugarlabs.org/Trisquel%3a/4.0/Ubuntu-10.04 ./
 
save file; exit gedit
 
add bazaar gpg key: (in root terminal)
 
gpg --keyserver keys.sugarlabs.org --recv-keys 75BB5FDF
 
gpg --armor --export 75BB5FDF | apt-key add -
 
synaptic
 
Reload Package Information [X]
 
Search for "sweets"
 
check "sweets-distribution" in Synaptic
 
apply
 
"Downloading Package Files" "Installing software"
 
Exit synaptic
 
 
 
 
 
===='''[[Talk:Community/Distributions/Ubuntu#CP.2Fsoftware_updates_today_to_sweets_sugar_0.88.1_in_Ubuntu_10.10|Tests of applications added by CP/Software update]]'''====
 
 
 
====test Results i686====
 
: sweets-distribution
 
::67 packages download
 
::Update with System/Administration/Update Manager
 
::Check
 
 
 
* Alternative:'''enter "update-manager" in root sugar-terminal to get sweets updates'''
 
 
 
:DL and install of .xo from ASLO works in Sugar-Browse (fixed 02/03/2011 by alsroot)
 
 
 
====test results: missing dependencies x86_64====
 
*'''NOT Working-Under Development'''
 
: sweets-distribution ( would not install due to:)
 
::browse
 
:::sweets-hulahop
 
::image-viewer
 
::pippy
 
::sugar
 
::gst-plugins-espeak
 
 
 
:sweets-elements
 
::sweets-pybox2d ?
 
 
 
====New Command Names====
 
:for use in terminal etc
 
:'''sweets-sugar'''
 
:'''sweets-sugar-emulator'''
 
 
 
===Install Sugar-desktop 0.90.1 "SWEETS" ===
 
*Boot Install and open terminal
 
sudo su
 
cd /etc/apt
 
gedit sources.list (gedit opens)
 
add these lines to sources.conf:
 
deb http://bazaar-download.sugarlabs.org/Platform/Ubuntu-10.04 ./
 
deb http://bazaar-download.sugarlabs.org/Distribution:/0.90/Ubuntu-10.04 ./
 
save file
 
add bazaar gpg key: (in root terminal)
 
gpg --keyserver keys.sugarlabs.org --recv-keys 75BB5FDF
 
gpg --armor --export 75BB5FDF | apt-key add -
 
* start System/Administration/Synaptic Package Manager
 
:Reload Package Information
 
:search for sweets
 
:check all SWEETS selections in Synaptic
 
:apply
 
: 70 packages download (01/05/2011 satellit)
 
 
 
==='''Suggestions'''===
 
*'''For a full screen SUGAR on Gnome Desktop (Menu/Education/sugar)'''
 
:: 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'''
 
: 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
 
 
 
==='''Known Bug:Sugar 0.90.1'''===
 
::http://bugs.sugarlabs.org/ticket/2534#comment:1
 
: In f1 neighborhood if you make friend the avitars are repeated so there are 2 of all of them.
 
: Fix is to use Control Panel (Drop Down:My Settings/About Me)  to change color of Avitar then restart.
 
:: Friend remains but you only have 1 set of Avitars again
 
  
===References===
+
===Customizing Trisquel===
:http://trisquel.info/en/wiki/customizing-trisquel-iso
+
See '''http://trisquel.info/en/wiki/customizing-trisquel-iso'''
::Scripts to make USB: http://devel.trisquel.info/live-usb/
 

Latest revision as of 15:04, 21 October 2024


Trisquel logo.png Trisquel 11 Sugar Toast

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.

Among other things,

  • It has lots of Activities
  • It autostarts if you just turn it on
  • It has a joyful splash screen
  • It uses any Linux swap partitions it finds

Now for the bad news...

  • It only has English and Spanish as language options
  • it is missing the firmware to make some wireless chips work (Intel 3945, maybe others)

and it shares a hardware-specific bug with the other Sugar Live systems:

  • With some nVidia video cards, Xorg's "nouveau" DRI driver bug which makes github.com/login go all gray and affects other websites including gmail.com The simplest and least invasive fix is to delete /usr/lib/*-linux-gnu/dri/nouveau_dri.so
    Hot fix on Live System: CTRL-ALT-F2 trisquel [Enter] [Enter] sudo rm /usr/lib/*-linux-gnu/dri/nouveau_dri.so; sudo killall Xorg [Enter] then login as trisquel [Enter] [Enter])
    For gory details see sugar-live-build issue 20

Bug Reports

Use https://gitlab.trisquel.org/trisquel/makeiso/-/issues to report bugs specific to the TOAST ISO image.

Use http://trisquel.info/en/project/issues to report bugs generic to Trisquel, with tag "sugar" and milestone "etiona".

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.

Password

if you do a restart you will be returned to the gdm login screen:

user=trisquel
password= none; hit [Enter]

Advanced topics

Configure a Sugar-ltsp-server

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

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 not interfere with the Sugar updater.

Customizing Trisquel

See http://trisquel.info/en/wiki/customizing-trisquel-iso