Difference between revisions of "Testing/Reports/Sugar on a Stick"

From Sugar Labs
Jump to navigation Jump to search
m (→‎About my Computer: moved here)
Line 32: Line 32:
 
:http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Coconut
 
:http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Coconut
  
 +
==[[File:VirtualBox.png|30px]][[Sugar_Creation_Kit#Sugar_on_a_Stick-V5-Coconut]]==
 +
::Just import 2 files from above link ^
 +
* SoaS v5 Coconut prebuilt VirtualBox Appliance
 
===About my Computer===
 
===About my Computer===
 
:Sugar on a Stick 5 (Coconut)
 
:Sugar on a Stick 5 (Coconut)

Revision as of 09:29, 18 January 2012

  • Use the ← left________________________right → links in the blue top/bottom bars
to connect to another part of this Annotated Guide to Sugar
Introduction to the Sugar Interface VirtualBox Appliances Community Distributions
Cómo usar Chat Introducción a la interfaz de Azúcar Azúcar Creación Kit

Soas-pineapple.svg SoaS v6 Pineapple

Final Version released 11/09/2011
Direct Download: http://spins.fedoraproject.org/soas/#downloads

VirtualBox.pngSugar_Creation_Kit#v6_Pineapple

Just import 2 files from above link ^
  • SoaS v6 Pineapple prebuilt VirtualBox Appliance

About my computer

Build: Sugar on a Stick 6 (Pineapple)
Fedora Release 16 (Verne)
Sugar:0.94.2

Soas-Booting_EFI_USB for MacBook Pro

click this link ^

Soas-coconut.svg SoaS v5 Coconut

  • Final release10/09/2011
http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Coconut

VirtualBox.pngSugar_Creation_Kit#Sugar_on_a_Stick-V5-Coconut

Just import 2 files from above link ^
  • SoaS v5 Coconut prebuilt VirtualBox Appliance

About my Computer

Sugar on a Stick 5 (Coconut)
Fedora release 15 (Lovelock)
Sugar: 0.92.4

Activities

  • Software List (All favorites)
Write 76
etoys 116
record 93
chat 71
Turtle Art 114
physics 8
terminal 34
pippy 40
calculate 37
turtle art 114
Speak 29
memorize 36
pippy 41
clock 6
log 24
abacus 19
IRC 10
surf 115
Control Panel / Network Application works
  • liveinst installs to USB correctly (4 GB USB device: custom / ext4 no swap )
  • F16 liveusb-creator (GUI) works fine to make persistent 2GB USB device from .iso

Bugs

  • SoaS v5 Coconut Beta only connects to jabber if using wired connection on boot
http://bugs.sugarlabs.org/ticket/3100

MacBook Pro i7 CD Boot

connect to wired network
Insert CD
Hold down option key until see CD "Windows"
Select it.
Sugar plymouth screen
(Name:_______)
color
F3 Ring
F1 Network Neighborhood -
works if wired connection on startup - sees jabber avitars
no wireless ap points show; no jabber avitars show
Sugar on a Stick 5-coconut
Fedora release 15 (Lovelock)
0.92.4

MacBook Persistent SoaS v5 and SoaS v6 EFI Boot USB

Boots directly from the USB device NEW
F15 Downlink: http://download.fedoraproject.org/pub/alt/spins/linux/releases/15/Spins/x86_64/Fedora-15-x86_64-Live-SoaS.iso
F16 Downlink: http://alt.fedoraproject.org/pub/alt/stage/16.RC4/Spins/x86_64/Fedora-16-x86_64-Live-SoaS.iso
  • Latest F16-RC4 and RC5 have the updated kernel and boot an EFI USB device directly on a MacBookPro i7 (11/03/2011)
I just successfully made a f16 RC4 EFI Boot USB in VirtualBox on My Macbook Pro i7......nice ; used x86-64 live Desktop and liveinst then installed additions (for USB Access)
Download of Live-desktop for Virtualbox:http://alt.fedoraproject.org/pub/alt/stage/16.RC4/Live/x86_64/Fedora-16-x86_64-Live-Desktop.iso
VirtualBox Downloads: http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html including additions
My Smolt Mac Profile:http://www.smolts.org/client/show/pub_3947102b-ca8d-49f6-9a2d-d1ab91b74448
Chat works just had chat with mulawa1 on USB on Mac
Is that an original MacBook Air? According to this page it does not boot EFI in 64 bits: Bert:
List of Macs that boot in EFI: http://www.everymac.com/mac-answers/snow-leopard-mac-os-x-faq/mac-os-x-snow-leopard-64-bit-macs-64-bit-efi-boot-in-64-bit-mode.html
f16 Common Bugs:https://fedoraproject.org/wiki/Common_F16_bugs#Incorrect_partition_type_assigned_to_.2Fboot_partition_on_GPT-labelled_disks
Boot Flag: http://blog.christophersmart.com/2009/12/02/fedora-mac-and-efi/ older info to look at
Possible Fix: tested with grub2-efi, and then I can boot Air with xdriver=vesa nomodeset
Kernel upgrade to fix this: http://kojipkgs.fedoraproject.org/packages/kernel/3.1.0/7.fc16/x86_64/kernel-3.1.0-7.fc16.x86_64.rpm is in RC4
https://bugzilla.redhat.com/show_bug.cgi?id=748516
Look at Further adventures in EFI booting: http://mjg59.dreamwidth.org/4957.html
WORKS WITH SoaS v5 Coconut and SoaS v6 Pineapple
Only works with wired cat5 connection (May work with Wireless-not tested)
EFI Boot.JPG <===click on image to enlarge
To Boot Hold "Option" Key when starting Mac. Hold key until EFI USB Icon Appears then select it right arrow ===> (EFI)
KEY: (x)= device name
Use the sudo blkid command in a terminal to see the USB and other device names for discs attached to the system.
ie: /dev/sdb; /dev/sdc; /dev/sdd.... IMPORTANT very dangerous if you use the wrong one
Run "yum install livecd-tools" so it installs all the required
dependencies and  then use livecd-iso-to-disk
-----
Boots:MacBook-Proi7
-EFI-Boot-USB
hold option key on power up
select --> EFI Boot  
* Has Persistence
*2 GB Firefly USB
:formatted in F16 diskutility
fat /dev/sdb
fat /dev/sdb1
* (Built in F16 gnome3-shell 3.2.1 on Acer Aspire One N450)
* terminal:
----------substitute the f16 SoaS,iso for v6-------------
sudo livecd-iso-to-disk --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-15-x86_64-Live-SoaS.iso /dev/sd(x) (x)=device name
Verifying image...
/home/(user)/Downloads/Fedora-15-x86_64-Live-SoaS.iso:   566e78411306dc76f8608a8958c0f8fa
Fragment sums: 34bba2e2de25169fa69998bdffed8a3cebfe366f5e82264575b397bcb622
Fragment count: 20
Press [Esc] to abort check.
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/sdb!!!
Press Enter to continue or ctrl-c to abort
wipefs: WARNING: /dev/sdb: appears to contain 'dos' partition table
Waiting for devices to settle...
mkdosfs 3.0.11 (24 Dec 2010)
Copying live image to target device.
squashfs.img
  417943552 100%    7.55MB/s    0:00:52 (xfer#1, to-check=0/1)
sent 417994645 bytes  received 31 bytes  7812984.60 bytes/sec
total size is 417943552  speedup is 1.00
osmin.img
        8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
total size is 8192  speedup is 0.99
Updating boot config file
Initializing persistent overlay file
300+0 records in
300+0 records out
314572800 bytes (315 MB) copied, 32.5186 s, 9.7 MB/s
Initializing persistent /home
175+0 records in
175+0 records out
183500800 bytes (184 MB) copied, 23.6238 s, 7.8 MB/s
Formatting unencrypted /home
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
44880 inodes, 179200 blocks
8960 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
22 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.14 (22-Dec-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
Target device is now set up with a Live image!

Control-panel

Sugar on a Stick 6 (Pineapple)
Fedora release 16 (Verne)
0.94.1
Firmware: MBP81.88Z.0047.B1E.1109091244
Wireless Firmware: N/A

activities

> = Updates

pippy         43
moon          13
log           26
visual match  30
speak         34
typing turtle 28
ruler         13 > 28
turtle art    120 > 122
jukebox       23
irc           10
chat          73
maze          14
etoys         116
abacus        26 > 28
write         77
clock         7
record        93
calculate     38
image viewer  19
physics       9
memorize      39
terminal      35
surf          115

'

Boot tests of dd img USB's in a MacBook i7

READ THIS FIRST^
Synopsis: Only EFI .img Boots Mac.

Usb1.png dd writable 2GB USB Soas-v6-Pineapple-USB .img

How to Write your own .img file

Run "yum install livecd-tools" so it installs all the required
dependencies and  then use livecd-iso-to-disk
  • use Disk Utility in f16 to format the USB as Master boot Record and /dev/sd(x)1 as FAT first.
  • Command Line to use in root terminal:
sudo livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-16-release-i686-Live-SoaS.iso /dev/sd(x)

make .img file from inserted USB

Do this before you boot the USB.
( This will avoid network collisions when running multiple copies on the network.)
the unique ssh keys are generated on first boot of a SoaS USB
dd if=/dev/sd(x) of=Soas-v6-Pineapple.img

Usb1.png dd writable 2GB USB Soas-v5-Coconut-USB .img

Download: http://download.sugarlabs.org/images/Soas_Coconuts.img
built with liveusb-creator in F16 with persistence file from
http://kojipkgs.fedoraproject.org/images/livecd/163/163/Fedora-15-x86_64-Live-SoaS.iso
USB 2 GB Firefly
reduced to 1.66 GiB with gparted*
  • Never started so has original Name___; Color___==> startup

Write to a 2 GB (1.95 GiB) USB device

dd if=Soas_Coconuts.img of=/dev/sd(x) bs=2M
956+0 records in
956+0 records out
2004877312 bytes (2.0 GB) copied, 93.2584 s, 21.5 MB/s
  • NOTE dd may complain that it is unable to write to your USB device "No space left on device."
Disregard as it will work (this is due to gparted resizing)

Write to a Smaller 2 GB (1.87GiB) USB device

dd if=Soas_Coconuts.img of=/dev/sd(x) bs=2M
dd: writing `/dev/sdg': No space left on device
956+0 records in
955+0 records out
2003828736 bytes (2.0 GB) copied, 316.111 s, 6.3 MB/s

Usb1.png dd writable 1 GB EFI Boot (MAC) USB Soas-v5-Coconut-USB .img

Download: http://people.sugarlabs.org/Tgillard/SoaS-15-1-EFI.img
persistent; fits in a 1 GB USB
How to build: Community/Distributions/Fedora-SoaS#MacBook_Persistent_SoaS_v5_and_SoaS_v6_EFI_Boot_USB
  • NOTE DO NOT USE THIS .img file with image-writer-mac
  • For Booting a Mac ONLY do not use on a PC
This is a dd created .img from a working USB

Write to a 1 GB USB device

sudo su
Password
dd if=SoaS-15-1-EFI.img of=/dev/sd(x) bs=2M
489+1 records in
489+1 records out
1026555904 bytes (1.0 GB) copied, 216.577 s, 4.7 MB/s
  • Write your own:
sudo livecd-iso-to-disk --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-16-x86_64-Live-SoaS.iso /dev/sd(x)

OLPCXO.pngSoas-pineapple.svg F16 SoaS Pineapple USB boot for XO-1

(graphical) liveusb-creator in F16 gnome3-shell- with Fedora-16-i686-Live-SoaS.iso selected
boots XO-1 with a Live USB image
Formatted the USB device in F16 gnome3-shell disk utility as fat with LIVE label. Installation said it was Setting up OLPC boot file at end.
USB is very slow but it boots from the USB device
(USB in right slot when powered on)
connects to WEP Access Point and Updates correctly
  • This USB device image will not boot XO-1.5

liveusb-creator record


Fedora-16-i686-Live-SoaS.iso selected
Warning: The Master Boot Record on your device does not match your  system's  syslinux MBR.
If you have trouble booting this stick, try running  the liveusb-creator with the --reset-mbr option.
Verifying filesystem...
Verifying ISO MD5 checksum
ISO MD5 checksum passed
Extracting live image to USB device...
Wrote to device at 6 MB/sec
Creating 1687MB persistent overlay
Setting up OLPC boot file...
Installing bootloader...
Marked /dev/sdb1 as bootable
Unmounting /media/LIVE
Complete! (0:07:23)

VirtualBox.png SoaS v6 Desktop EFI USB device Builder prebuilt VirtualBox Appliance

http://download.sugarlabs.org/images/VirtualBox/f16-live-RC4-Desktop-sugaruser.ovf
http://download.sugarlabs.org/images/VirtualBox/f16-live-RC4-Desktop-sugaruser-disk1.vmdk
builds EFI 2GB USB devices that boot MacBook Pro i7 (8.1 Intel)
Just import 2 files from above link ^
root=sugarroot user=sugar pswd=sugaruser
Allows building of EFI Boot USB devices (self contained)
  • F16-Desktop x86-64 Virtual Machine
requires a x86_64 computer
IMPORTANT: There is NO WIRELESS (wired works) or AUDIO available when booted from this EFI Boot USB
  1. Contains RC4 F15 and F16 x86_64-Live-SoaS.iso files in the Download directory
  2. Script in Desktop to run in terminal
  • How to use the VM to create an EFI boot USB
Start Virtual Appliance
start Terminal (Applications/system tools/terminal)
In terminal: cd Downloads
Insert a 2 GB or larger USB
type "mount" to get USB device name ie: /dev/sdb; /dev/sdc/; etc Be certain of this to get this wrong is dangerous.  
minimize
start Applications/Accessories/gedit
In Gedit Open /Desktop/livecd-iso-to-disk.txt
edit command line to show correct USB device name.
copy corrected command line
Paste into terminal 
builds EFI 2GB USB devices that boot MacBook Pro i7 (8.1 Intel)
THIS IS A DANGEROUS OPERATION. BE CERTAIN THE USB DEVICE NAME IS CORRECT

root=sugarroot user=sugar pswd=sugaruser

Please Test all suggestions on comments are welcome Please edit wiki.

F16 SoaS Pineapple USB boot image for XO-1

(graphical) liveusb-creator in f16 gnome3-shell- with Fedora-16-i686-Live-SoaS.iso selected
boots XO-1 as a live USB device
I formatted the USB device disk first in F16 gnome3-shell disk utility as Master Boot Record and fat partition with LIVE label
Then ran liveusb-creator (graphical)
USB is quite slow but it does boot from the USB device
(USB in right bottom slot when powered on)
connects to WEP Access Point and Updates correctly

liveusb-creator record


Fedora-16-i686-Live-SoaS.iso selected
Warning: The Master Boot Record on your device does not match your  system's  syslinux MBR.
If you have trouble booting this stick, try running  the liveusb-creator with the --reset-mbr option.
Verifying filesystem...
Verifying ISO MD5 checksum
ISO MD5 checksum passed
Extracting live image to USB device...
Wrote to device at 6 MB/sec
Creating 1687MB persistent overlay
Setting up OLPC boot file...
Installing bootloader...
Marked /dev/sdb1 as bootable
Unmounting /media/LIVE
Complete! (0:07:23)

About my computer

Build: Sugar on a Stick 6 (Pineapple)
Fedora Release 16 (Verne)
Sugar:0.94.2
Firmware:Q2E46
Wireless firmware:9.34.3 p23
  • (Connects via jabber.sugarlabs.org to a XO-1.5 running os874 sugar 0.92.2)

Testing Results

  • This page reports on testing of recent Sugar on a Stick-(SoaS) and Fedora Nightly Composes and Remixes

Fedora SoaS Spin

Current Download Page

Soas Sitemap

nice list of all Soas pages - In progress (temporary site: Inkyfingers)

Nightly live Composes

Note all nightly compose are ephemeral builds for testing and are erased when the next build happens.
Current status of All createLiveCD Tasks in Koji
see latest builds and their status
Retrieve recent older Nightly Composes

Fedora-17-Nightly-20120106.15-i686-Live-soas

 dracut failure still not fixed

Fedora-17-Nightly-20111227.15-i686-Live-soas

dracut; Refusing to continue
Dracut Warning; dracut: Fatal: Don't know how to handle 'root=live:CDLABE
https://bugzilla.redhat.com/show_bug.cgi?id=766955

Fedora-17-Nightly-20111202.22-i686-Live-soas

  • First Koji Build of f17
http://koji.fedoraproject.org/koji/getfile?taskID=3559578&name=Fedora-17-Nightly-20111202.22-i686-Live-soas.iso
dracut; Refusing to continue
Dracut Warning; dracut: Fatal: Don't know how to handle 'root=live:CDLABEL=Fedora-17-Nightly-20111202-i6'

Fedora-16-Nightly-20111016.20-i686-Live-soas

http://koji.fedoraproject.org/koji/getfile?taskID=3435814&name=Fedora-16-Nightly-20111016.20-i686-Live-soas.iso

create USB with livecd-iso-to-disk script

  • 2GB firefly USB formatted fat 16 with boot flag
# ./livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home /home/robert/Desktop/Fedora-16-Nightly-20111016.20-i686-Live-soas.iso /dev/sdg1
Verifying image...
./livecd-iso-to-disk.sh: line 385: checkisomd5: command not found
Are you SURE you want to continue?
Press Enter to continue or ctrl-c to abort
Copying live image to USB stick
Updating boot config file
Initializing persistent overlay file
300+0 records in
300+0 records out
314572800 bytes (315 MB) copied, 41.3084 s, 7.6 MB/s
Initializing persistent /home
175+0 records in
175+0 records out
183500800 bytes (184 MB) copied, 26.235 s, 7.0 MB/s
Formatting unencrypted /home
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
44880 inodes, 179200 blocks
8960 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
22 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.4 (27-Jan-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
USB stick set up as live image!
  • Boots Fine


Install to HD (liveinst)

F16 disk utility

format HD
format partion ext4
  • Discovered that using gparted to format the HD partition on Ubuntu causes liveinst failure as it cannot see the 1 MiB first partition.
NOR can the installer

liveinst

Boot Live SoaS CD
terminal:
liveinst
custom
ext4 / [format] (not allowed to use existing ext4 fs)
installing bootloader
  • Works Great. boots to firstboot....gdm login
F1 Network neigborhood shows jabber avitars

Boots on MacBook Pro i7

CD 
option key ==> windows
has efi folder but does not show up on Mac

Fedora-16-Nightly-20111006.08-i686-Live-soas

http://koji.fedoraproject.org/koji/getfile?taskID=3409601&name=Fedora-16-Nightly-20111006.08-i686-Live-soas.iso
  • boots well-(plymouth circle animation)
name____
color
f3 ring
  • f1 network neighborhood works on Jabber with wired connection
My Settings
  About My Computer
    Sugar on a Stick 6 (Pineapple)
    Fedora release 16 (Verne) 
    0.94.0

Applications

# = not selected as favorite
> = updates
.........
etoys 116
ruler 12 # > 13
calculate 37
turtle art 114 > 117
physics 8 > 9
log 24 > 26
memorize 37 > 39
pippy 41 >42
speak 32 > 34
clock 6 > 7
irc 10
record 93
write 76 > 77
chat 71
terminal 35
abacus 19 > 24
surf 115 fails to start ImportError: cannot import name AddressEntry

Fedora-16-Nightly-20110906.17-i686-Live-soas

http://koji.fedoraproject.org/koji/getfile?taskID=3330053&name=Fedora-16-Nightly-20110906.17-i686-Live-soas.iso
  • boots well-(plymouth circle animation)
name____
color
f3 ring
  • f1 network neighborhood works on Jabber with wired connection
My Settings
  About My Computer
    Sugar on a Stick 6
    Fedora release 16 (Rawhide) => should say ... Verne (Branched)
    0.93.2
  Network does not start
  Software Update
    (Says Software is Up to Date if wired Network is not connected)

Install to HD

  • Works fine /ext4 to USB

Applications

* surf 115  "None failed to start"  cannot import name AddressEntry (webtoolbar)  icon stays pulsing in top bar
pippy 40  works but ImportError: cannot import name physics
calculate 37
speak 29
physics 8
log 24
terminal 33 
clock 6 icon stays pulsing in top bar
irc 10  connect on port 8001- #sugar #sugar-es
chat 70 goes on line joins from f1
etoys 116  non=standard sugar interface does not color icon on f3 ring
turtle art 113 
record 93 no audio  icon stays pulsing in top bar
memorize 36 goes on line joins from f1
write 72
abacus 19
  • Use the ← left________________________right → links in the blue top/bottom bars
to connect to another part of this Annotated Guide to Sugar
Introduction to the Sugar Interface VirtualBox Appliances Community Distributions
Cómo usar Chat Introducción a la interfaz de Azúcar Azúcar Creación Kit