*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 ... 18 19 20 [21] 22 23 24
Print
Author Topic: Installing Ubuntu using compressed files  (Read 267481 times)

#300 Re: Installing Ubuntu using compressed files

Keith
Contributor
*
Posts: 56


WWW
May 12, 2008, 05:57:37 PM

Well it seems I have bricked an XO.  I installed Ubuntu following the instructions on the front page of this thread.  I skipped over the olpc.fth portion of the instructions but followed the rest.  Now, when trying to boot into ubuntu, I see the linux penguin at the upper left
Lots of scrolling
Traceback. . .
OSError:  [Errno 21] No such file or directory:  ‘/sysroot/security/.private’

When I try to boot into sugar, I see one dot and then nothing happens.  I guess I can flash the machine off of a memory stick, but if this is something easier, I would like to hear those suggestions.  I guess I need to try and understand what on Earth the olpc.fth subthread is saying.
Logged

#301 Re: Installing Ubuntu using compressed files

jezjones
New

Posts: 4


Linux user and developer for a little while now...


WWW
May 15, 2008, 07:21:41 AM

I have got to a similar point, except i did make the changes to the olpc.fth file and the fstab faile too. Now it will only boot when the SD card is in and then it gets to one dot. I have not been able to get in to change the security file over.
I do get the OK prompt if i try and boot without the SD card, i am now looking around at how i  can i get this to boot the normal sugar.
Logged

#302 Re: Installing Ubuntu using compressed files

Keith
Contributor
*
Posts: 56


WWW
May 15, 2008, 09:43:06 AM

Did you try and take the SD card all the way out?  I have gotten that single dot several times.  I take it out, reboot and it sometimes works....  I have put the SD card back after succesful boot and fdisked it. 

So far, all of my failures have not led to a permanent brick.  I believe that a Linux user could probably get them going again.  However, I am very comfortable with my USB stick now and reflashing the machines.  I just want to start from a clean baseline and get back into learning.

I can only work on them about an hour a night, so it is slow progress.  Tonight my goal is to get everything on the SD card and somehow figure out how to open the .fth file and edit it on the SD.  BTW, I am doing this work directly on my XO.  Also, my 2G SD card is a cheap (generic) one from MicroCenter - I do not know if that is impacting things.
Logged

#303 Unpacking the Tar File AND does Firmware version matter?

Keith
Contributor
*
Posts: 56


WWW
May 15, 2008, 09:53:12 AM

I think I need to go back and re-read the whole thread (I plan to tonight) now that I have some more experience, but I have another question.  I have gotten stuck at unpacking the Tar file.  I will use the information from the original thread:

Now go to your USB/SD drive and decompress the file.  I'm assuming that your drive is mounted to /mnt/OLPCRoot, so let's move into the /mnt directory and decompress (again, see this post for why we're not moving into /mnt/OLPCRoot)
cd /mnt
tar -jxf /home/olpc/OLPCFile.tar.bz2


But the system just hangs.  I have even let it go over night and nothing seems to move.  Any ideas what could be causing this?

Also, does the firmware version matter?
Logged

#304 Re: Installing Ubuntu using compressed files

Keith
Contributor
*
Posts: 56


WWW
May 16, 2008, 09:01:56 AM

 Grin  Success.  Still some questions and I only have 1 of my 2 cards working (I plan to clone the working one).  I verified the CD card works on both machines.  Something that does not make sense is I made the updated .fth file, but I never transferred it off of the USB card to the SD card - but I did open it in journal (coincidence).  Now I need to follow the "beyond ubuntu thread' and also figure out how to increase the screen size - it's tiny!
THANKS! THANKS! THANKS!!!
Logged

#305 Lost brightness and volume control

gittela
New

Posts: 3


May 29, 2008, 02:02:57 PM

Did an install and updated afterwards( apt-get update/upgrade) and  the audio and brightness  buttons stopped working.
I've been trying to figure out how you got them working in the first place.
Also, is the issue with SD card corruption kernel related? I ask because as I understand it, that's the only part of the original os still being used in this setup. Is it possible to have some level of power management in your Ubuntu distro? My battery drains fairly quickly now that I'm unable to lower the brightness.

:-)
Howard
« Last Edit: May 29, 2008, 02:05:54 PM by gittela » Logged

#306 Re: Lost brightness and volume control

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
May 29, 2008, 04:04:23 PM

Did an install and updated afterwards( apt-get update/upgrade) and  the audio and brightness  buttons stopped working.
Was it Gutsy (moocapiean's tarball) or Hardy (either of my tarballs)?
Quote
I've been trying to figure out how you got them working in the first place.
Also, is the issue with SD card corruption kernel related? I ask because as I understand it, that's the only part of the original os still being used in this setup. Is it possible to have some level of power management in your Ubuntu distro? My battery drains fairly quickly now that I'm unable to lower the brightness.
Yes, current kernels have a combination of power management and SD driver that cause that problem, so power management is disabled in Ubuntu. The average runtime on fully-charged battery without any power management should be around 3 hours. Backlight control is separate from regular power management, and should work.
Logged

#307 Re: Installing Ubuntu using compressed files

HarshReality
New

Posts: 4


June 02, 2008, 12:45:18 AM

Does anybody know how to get rid of the keyring manager.. also, when I boot to the card and try to run yum from the terminal it seems it cant find the executable to run the thing.

With regaurd to the network issues (inability to connect) I found that when I did a restore on the laptop itself and did nothing to connect to my WEP network. When I went into XFCE (SD Card) and tried the connect it worked fine Wink
Logged

#308 Re: Installing Ubuntu using compressed files

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 02, 2008, 02:52:45 AM

Does anybody know how to get rid of the keyring manager.. also, when I boot to the card and try to run yum from the terminal it seems it cant find the executable to run the thing.
Is that on Ubuntu or Fedora? yum is only used on Fedora.
Logged

#309 Re: Installing Ubuntu using compressed files

HarshReality
New

Posts: 4


June 02, 2008, 03:31:46 AM

You know.. with cross platforms and multi-boot I didnt even give that a thought... Ubuntu makes use of apt LOL

Thanks for pointing out my error.
Logged

#310 Re: Installing Ubuntu using compressed files

tangomike
Contributor
*
Posts: 77


June 03, 2008, 07:46:06 AM

You know.. with cross platforms and multi-boot I didnt even give that a thought... Ubuntu makes use of apt LOL

Thanks for pointing out my error.

I use Synaptic for package management under Ubuntu on XO. Works like a charm.
Logged

#311 Re: Installing Ubuntu using compressed files

colinwhipple
Senior Contributor
**
Posts: 105


June 04, 2008, 06:11:48 PM

Regarding the SD card problem:

My (limited) experience is that firmware 13 works best.  I tried 14 and got Ubuntu to run from the SD but switching from Tab to Tab on Firefox was very slow, 15-25 seconds to switch.  I dropped back to Firmware 7 and got the  message about the SD card not responding in one second.  I then tried a USB thumbdrive and things worked OK, but I really wanted to use the SD card.  So I tried flashiing to Firmware 13, and things seem to be working fine.
Logged

#312 Re: Lost brightness and volume control

gittela
New

Posts: 3


June 05, 2008, 12:55:15 PM

Did an install and updated afterwards( apt-get update/upgrade) and  the audio and brightness  buttons stopped working.
Was it Gutsy (moocapiean's tarball) or Hardy (either of my tarballs)?

It's Hardy, your latest release.
Logged

#313 Re: Lost brightness and volume control

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 06, 2008, 02:11:55 PM

It's Hardy, your latest release.

Buttons should work as long as:

1. Login script runs xbindkeys (it's in .xfce4_startup script in the home directory, referenced from ".config/autostart/XO Startup Scripts.desktop" file.
2. .xbindkeysrc file in the home directory contains entries for those keys
3. Key codes and device permissions are set on boot (in /etc/rc.local script)
4. User is a member of the groups video and audio.

If you added more users you may want to edit some of user's files (".config/autostart/XO Startup Scripts.desktop", .config/orage/oragerc)  so they point to the user's own files instead of /home/olpc that I have mistakenly left in /etc/skel files that are copied to new users. And mke sure that group membership is the same as for olpc user (easily visible in /etc/group file).
Logged

#314 Re: Installing Ubuntu using compressed files

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 06, 2008, 04:48:36 PM

Ok I gotubuntu booting fine on my 16 gb SD card using the compressed files method.

But my wireless never connects even when I disabled all security. It was connecting under sugar with wep2 just fine

I am using a Time capsule wireless router on channel 11 it is a 802.11n router in 802.11n(B,g) Compatible. I see local wireless networks. It just wont connect.
Logged
Pages: 1 ... 18 19 20 [21] 22 23 24
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: 20
Total: 20