*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 ... 35 36 37 [38] 39 40 41 ... 50
Print
Author Topic: Ubuntu 8.10 (Intrepid) for XO  (Read 558903 times)

#555 Re: Ubuntu 8.10 (Intrepid) for XO

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


June 28, 2009, 10:35:36 PM

What was the fix for this? I am having the same problem. I'm using a 4GB PNY USB stick.
Thanks!

try the command
su -

then put the command you are stuck on in and that did it for me.

i have a new question.

im trying to unmount a device and in su mode but it says the device is busy, what can i do?
Either you are still writing in the card (give it some time) or most likely because you are still working from a card directory. Type pwd to see in which directory you are (should not be /media/OLPCRoot/...) Type cd to go to the home/root directory and then umount

BTW which version of the Sugar are you using?
Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#556 Re: Ubuntu 8.10 (Intrepid) for XO

BennyBean
New

Posts: 3


June 29, 2009, 12:23:35 PM

Thanks mavrothal for your response. I hope for your patience as I am a newbie to Linux/Unix.  I've updated my XO to the Q2F01 firmware version. I've tried using 3 sticks already using teapot's instructions: Sandisk Cruzer, PNY, Ativa. I don't put them in till after I stop HAL daemon (also in "su" the whole time). Same results each time. I don't ever see the device mount each time, but they mount on journal ok. I appreciate the help. Thanks.
-----------------------------------------------------------------------------------------
bash-3.2# mount | grep /dev/sd
bash-3.2# mount | grep /dev/sd
bash-3.2# mount
mtd0 on / type jffs2 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
none on /ofw type promfs (rw)
tmpfs on /dev/shm type tmpfs (rw,size=15%)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
bash-3.2# /etc/init.d/haldaemon stop
Stopping HAL daemon:                                       [FAILED]
bash-3.2# /etc/init.d/haldaemon start
Starting HAL daemon:                                       [  OK  ]
bash-3.2# /etc/init.d/haldaemon stop
Stopping HAL daemon:                                       [  OK  ]
bash-3.2# dd if=/dev/zero of=/dev/mmcblk0 bs=4096 count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000141856 s, 28.9 MB/s
bash-3.2# echo -e ',,L,*\n\n\n' | sfdisk /dev/mmcblk0
Warning: /dev/mmcblk0 is not a block device
Disk /dev/mmcblk0: cannot get geometry

Disk /dev/mmcblk0: 0 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/mmcblk0: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/mmcblk0p1   *      0       -       0          0   83  Linux
/dev/mmcblk0p2          0       -       0          0    0  Empty
/dev/mmcblk0p3          0       -       0          0    0  Empty
/dev/mmcblk0p4          0       -       0          0    0  Empty
Warning: partition 1 has size 0 but is not marked Empty
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(Cool.)
bash-3.2# mke2fs -jL OLPCRoot /dev/mmcblk0p1
mke2fs 1.40.8 (13-Mar-2008)
Could not stat /dev/mmcblk0p1 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
bash-3.2#

Logged

#557 Re: Ubuntu 8.10 (Intrepid) for XO

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


June 29, 2009, 01:29:25 PM

I've updated my XO to the Q2F01 firmware version.
The latest Firmware version is q2e41. q2f is an inactive branch, though this should not be a problem.
Quote
I've tried using 3 sticks already using teapot's instructions:
Are these USB sticks? (thumb/pen drives?). The instructions are for SDcards.
So please clarify do you have the OLPC tar.bz2 file on a USB stick and you want to install ubuntu on an SD card  or you are trying some other setup?
Is the USB stick with the tar.bz file that you can not see?
Does the SD card or the USB stick shows in the journal?
« Last Edit: June 29, 2009, 01:36:07 PM by mavrothal » Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#558 Re: Ubuntu 8.10 (Intrepid) for XO

markhadman
Senior Contributor
**
Posts: 112


June 29, 2009, 06:46:42 AM

@Bennybean, and anyone else who may be interested...

USB sticks:
/dev/sda (entire first stick)
/dev/sda1 (first partition of first USB stick)
/dev/sda2 (second partition of first USB stick)
/dev/sdb (second stick)
  etc etc.

SD cards:
/dev/mmcblk0 (entire card)
/dev/mmcblk0p1 (first partition of card)
Logged

#559 Re: Ubuntu 8.10 (Intrepid) for XO

BennyBean
New

Posts: 3


June 29, 2009, 04:58:01 PM

Quote
Are these USB sticks? (thumb/pen drives?). The instructions are for SDcards.
 

Well, THAT's my problem. :-)   Yes, they are USB flash/pen drives.

I'm trying to run Ubuntu from these drives (have the .tar file in the stick) and it does show up in Journal (and I do see the .tar file under Journal as well).

Please kindly point me to the right thread/ info. before I waste any more of your time. Sorry. :-( . 
Logged

#560 Re: Ubuntu 8.10 (Intrepid) for XO

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


June 30, 2009, 12:00:17 AM

Quote
Are these USB sticks? (thumb/pen drives?). The instructions are for SDcards.
 

Well, THAT's my problem. :-)   Yes, they are USB flash/pen drives.

I'm trying to run Ubuntu from these drives (have the .tar file in the stick) and it does show up in Journal (and I do see the .tar file under Journal as well).

Please kindly point me to the right thread/ info. before I waste any more of your time. Sorry. :-( .  

The closest I can point you to is this post. Is for "automating" hardy installation in a USB stick but you can get the idea. The 2 Edits at the top of that post are irrelevant since Teapot fixed this issue for Intrepid. Don't follow that post. Is just to give you some background info.

So, to install Intrepid in a USB stick you need 2 sticks, one (500MB or more) for the tar file and one (2GB or more) to install Intrepid.
Warning You must insert the tar-file-containing stick first. Then stop haldaemon and finally insert the Ubuntu receiving stick. No other external USB devices must be connected. End of Warning
Follow the original Intrepid directions in the first post on this thread, replacing
/dev/mmcblk0 with dev/sdb and
/dev/mmcblk0p1 with dev/sdb1 wherever they appear

After you finish the installation and before you reboot you  must also edit the boot.fth file to point to the USB stick and not to the SD card, as indicated in the hardy version in the link above (ignore the over-clocking in the olpc.fth file). To do that as su in the Sugar terminal type
nano /mnt/boot/olpc.fth and edit the "else" part to point to the USB as follows
Code:
   " ro root=/dev/sda1 rootfstype=ext3 console=tty0 fbcon=font:SUN12x22 video=fb:1200x900 loglevel=3 splash" to boot-file
    " disk:\boot\vmlinuz" to boot-device
    " disk:\boot\olpcrd.img" to ramdisk
Warning When you want to boot to Ubuntu, the Ubuntu stick should be the only one connected to the XO.
« Last Edit: June 30, 2009, 05:56:37 AM by mavrothal » Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#561 Re: Ubuntu 8.10 (Intrepid) for XO

hunterdeal
New

Posts: 4


July 02, 2009, 10:34:03 AM

(posted in other thread as well) successful install of Ubuntu 8.10 on my XO that had not seen the light of day for close to a year.  Thanks Teapot for the build and directions, I know for a fact that I would not have done it if you had not all but hand installed it on my XO with your instructions.  Also thanks to all the other posters, the information I gleaned in this 38 pages was enlightening.
Logged

#562 Re: Ubuntu 8.10 (Intrepid) for XO - Install Firefox 3.5

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


July 05, 2009, 12:15:59 AM

Firefox 3.5 is really faster than 3.0 and a worthy addition in Teapots Ubuntu Intrepid. However, it may never become available for Intrepid and Jaunty's availability is unclear at this point.
Fortunately there is an easy way to install (and keep updating) Firefox 3.5. Is based on this post with minimal changes. Namely libstdc++5 should be already there and you'll need w3m for the script to run. So:
- Open Synaptic and verify that you have libstdc++5. Install it if not. Also install libnotify-bin and w3m.
- Download the Ubuntuzilla .deb package and install by double-clicking.
- Open terminal and just type ubuntuzilla.py answer the y/n questions and in few minutes you have Firefox 3.5 installed.

Is considerable faster than 3.0 on the XO to the point that I consider making it the default browser instead of Opera!

PS: Adding the "default full zoom level" pluging and setting default zoom to 120-130 (like in Opera) makes firefox browsing much more comfortable (but a bit slower)
« Last Edit: July 05, 2009, 06:47:51 AM by mavrothal » Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#563 Re: Ubuntu 8.10 (Intrepid) for XO - Install OpenOffice 3.1

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


July 08, 2009, 09:52:54 AM

Keeping up with the Intrepid updates, if you need to update OpenOffice to 3.1 in Teapot's Intrepid just follow the official ubuntu instructions. Updtes and runs fine, though is an even bigger hog than OOo2.4. But if you need it...

BTW where is Teapot? Is a month that gave no sign of life. I just hope he is happy and well in whatever he is doing.
Updating different piecies software by just following standard instructions found on the web about Intrepid, reminded me what a great job he did with this installation.  
Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#564 Re: Ubuntu 8.10 (Intrepid) for XO

jokeli
New

Posts: 1


WWW
July 23, 2009, 01:21:55 AM

Great news, great work, great job!
...................................................
Logged

#565 Re: Ubuntu 8.10 (Intrepid) for XO

rbacher
Contributor
*
Posts: 31


July 23, 2009, 08:28:34 PM

   Let me add another "Thank You" to Teapot for making this available.  My installation went very smooth.  There are two changes I made which may be of interest.  First, I installed Fluxbox.  There have been several references to Fluxbox in previous posts.  My experience with it is that it loads much faster than XFCE, and I like it very much.

   Second, and I didn't see any reference to this in reading the previous posts, is that I installed the Midori web browser.  It has a few limitations compared to Firefox, but I find it to be much faster, which is important to me on a low power computer like the XO.  Firefox was moving kind of slow on my XO.  Midori is much faster.
Logged

#566 Re: Ubuntu 8.10 (Intrepid) for XO

overbyte
Commenter

Posts: 16


July 23, 2009, 09:09:54 PM

Do you know if Midori runs the Adobe FlashPlayer 10 plugin?  Firefox on XO-Ubuntu does.
Logged

#567 Re: Ubuntu 8.10 (Intrepid) for XO

rbacher
Contributor
*
Posts: 31


July 24, 2009, 05:56:41 PM

I don't know if Midori runs the Adobe FlashPlayer 10 plugin.  I didn't try to install it as of yet.  I've only had Midori on the xo for a week or so.  I know it has some shortcomings.  What I like about it is that it's fast.  I can jump around the internet much more quickly than I was able to do with Firefox.
Logged

#568 Re: Ubuntu 8.10 (Intrepid) for XO

rbacher
Contributor
*
Posts: 31


July 24, 2009, 08:46:20 PM

As far as I can tell, yes, Midori will run Adobe Flash Player ver 10.  I just downloaded it from the Adobe website to the XO.  There were 4 Linux versions to select from.  I selected .deb for Ubuntu 8.04+.  To test it I went to www.adobe.com/software/flash/about/.  That page showed a swirling white color f in a red square that moves around inside a rectancle, and text intermittently appears "Adobe Flash Player successfully installed."  Below that is a box which says: "Version Information You have version 10,0,22,87 installed."  So... I am no Linux or Ubuntu expert by far (I muddled my way through many of the things I have done on the XO), but it looks like I have Adobe Flash Player 10 running on Midori.
Logged

#569 Re: Ubuntu 8.10 (Intrepid) for XO

overbyte
Commenter

Posts: 16


July 24, 2009, 08:58:04 PM

Great.  That confirms the the Adobe FlashPlayer 10 is working.   Here's another test.   While on a page that has a Flash element (such as the "about" page you were viewing), right click inside the Flash region.   This will bring up a menu.  Click "settings".    Then click on the microphone tab at the bottom of the settings manager dialog.   Test the XO's microphone, seeing whether the volume level indicator rises with sound input level.   Click the camera tab and then click inside the video box.  You should see the XO's camera image.   Do they both work?     If so, you can try www.vyew.com, which is a free 2-way collaboration site.  It provides voice, video, and whiteboard.  I have my XO working with Firefox 2.x and Vyew.com.   It would be nice to know that there may be a lighter weight alternative to Firefox for this application.   My XO-Ubuntu is on a 2GB SD card, with Firefox 2.x, OpenOffice 2.4, and Skype.   I have about 300 MB free space left.    With Midori installed instead of Firefox, I assume I'll pick up some more free space.
Logged
Pages: 1 ... 35 36 37 [38] 39 40 41 ... 50
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 28
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 19
Total: 19