Home
Forum
Help
Login
Register
XO Laptop Shop
Forum Staff
OLPC News
OLPC News Forum
»
XO Laptop
»
XO Hacks
»
Other Operating Systems
»
Beyond the Ubuntu Installation
Welcome,
Guest
. Please
login
or
register
.
Get your own OLPC -
Buy an XO laptop on eBay
!
Pages:
1
...
20
21
22
[
23
]
24
25
26
...
37
« previous
next »
Print
Author
Topic: Beyond the Ubuntu Installation (Read 414666 times)
#330
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 20, 2008, 09:02:47 AM
Quote from: -raleigh- on September 19, 2008, 03:15:48 AM
Quote from: teapot on September 13, 2008, 10:09:36 AM
I don't see a reason why this wouldn't work save for some hardware problem -- I will check if XO will boot from a hard drive.
Any success booting from a hard drive?
Yes, I have configured a hard drive in the same way as USB flash drive (same filesystem tree, /etc/fstab and /boot/olpc.fth with /dev/sda1 instead of /dev/mmcd0p1 , disk: instead of sd: in /boot/olpc.fth ), and it booted.
However
I have found a problem that I didn't notice before while using SD card -- USB2 was disabled, so hard drive was much slower than I expected. I have checked, and the problem was not limited to Ubuntu -- USB2 (ehci_hcd) initialization failure was seen in all kernel logs from recent Sugar/fedora releases, too -- I just didn't use them with USB drives recently. You can check if you have it by running
dmesg | egrep 'ehci_hcd .+ startup error'
It should produce no output if USB2 works.
Firmware upgrade to q2e18 (see
http://wiki.laptop.org/go/OLPC_Firmware_q2e18
) fixed it.
Edit:
This problem also affects networking.
«
Last Edit: September 20, 2008, 09:22:02 AM by teapot
»
Logged
#331
Re: Beyond the Ubuntu Installation
Eddie Owens
Contributor
Posts: 94
September 20, 2008, 10:16:55 AM
Cruisingjack,
see also
http://olpcnews.com/forum/index.php?topic=3062.msg24431#msg24431
, and the following message i.e. messages 26 and 27 in that thread.
Basically, you boot into Sugar and get a terminal, become root, clone your current Ubuntu SD card to a compressed tar file on a USB stick, remove your Ubuntu SD card, insert a freshly formatted SD card, and un-tar the file on the USB back to the new SD card. Thus far, you have created a backup.
But if you want it to run on a different XO, I think you will have to get a developer key for each of those and copy it to /security on the SD card destined to each of those XO's. (I have not tried this but I think it should work).
Logged
#332
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 20, 2008, 01:47:16 PM
Quote from: mavrothal on September 20, 2008, 01:27:30 AM
iPod under Ubuntu anyone?
I installed gtkpod, gpixpod, ipod and its dependencies in Ubuntu 8, but I do not seem capable of accessing my G5 iPod (Mac formated with disk mode on).
Basically it does not mount on the desktop or the file system or with to any of the related applications.
HAL cannot detect any iPod related events.
What am I missing???
OLPC kernel does not include HFS+ support, so it can't access "Mac-formatted" iPod, even though it would work with "Windows-formatted" one. Regular Ubuntu kernel includes HFS+, so it works with both.
I guess, one more thing to include into the new kernel package.
Logged
#333
Re: Beyond the Ubuntu Installation
red
Commenter
Posts: 20
September 21, 2008, 04:29:54 AM
Quote from: teapot on September 19, 2008, 07:00:04 PM
Quote from: red on September 19, 2008, 04:36:29 PM
Does anyone know where I can find the Ubuntu Hardy torrent because
http://mars.illtel.denver.co.us/~abelits/torrents/OLPCFiles-hardy-20080506.tar.bz2.torrent
isn't working for me.
Web server was down -- it should work now.
Thanks.
Also, now I've installed Hardy and its working fine except for sudo.
When I try to use sudo, the xo complains about /etc/sudoers being owned by gid 1000.
Does anyone know what I should do?
Logged
#334
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 21, 2008, 05:35:40 AM
Quote from: red on September 21, 2008, 04:29:54 AM
Quote from: teapot on September 19, 2008, 07:00:04 PM
Quote from: red on September 19, 2008, 04:36:29 PM
Does anyone know where I can find the Ubuntu Hardy torrent because
http://mars.illtel.denver.co.us/~abelits/torrents/OLPCFiles-hardy-20080506.tar.bz2.torrent
isn't working for me.
Web server was down -- it should work now.
Thanks.
Also, now I've installed Hardy and its working fine except for sudo.
When I try to use sudo, the xo complains about /etc/sudoers being owned by gid 1000.
Does anyone know what I should do?
You didn't install Hardy as root, so ALL files are owned by wrong users.
Logged
#335
Re: Beyond the Ubuntu Installation
cruisingjack
Commenter
Posts: 19
September 21, 2008, 09:37:59 AM
Does an XO need to have a developer key to run Hardy that was installed on a 8GB SD card while on another XO that did have a developer key?
In other words, can I take the Hardy installed SD card from one XO and use it to boot up another XO that doesn't have a developer key?
As I stated the other day, I plan to install Hardy on additional 8GB SD cards for use in other XO's.
«
Last Edit: September 21, 2008, 09:39:59 AM by cruisingjack
»
Logged
#336
Re: Beyond the Ubuntu Installation
steveg_va
Commenter
Posts: 6
September 21, 2008, 01:32:53 PM
Folks,
I am a relative newbie to Linux, though I have spent several days with live installation CD of Ubuntu and also installed it as a VM on my Mac using Parallels Desktop. But, I so wanted to be able to install Ubuntu on my OLPC XO. I followed all the instructions for setting up a 2GB SD card as the boot card EXCEPT installing Multiboot /boot/olpc.fth and Multiboot /etc/fstab, because I could not figure out how to do it or where (in the file system) to do it. And, my Mac, though having a Mach kernel, could not read the formatted (ext2 or 3) SD card, and my Eee PC's Xandros was non-cooperative, not allowing me to read the SD card (which, BTW, showed the contents of the file only as lost+found).
OK, so I tried to boot into Ubuntu, holding down the check-mark game button, and it looked as though it would work OK: Tux showed up in the upper left, and lots of green "OKs" showed up near the end, and I pressed Enter (the second time around) hoping for an interactive login, but after all that nice Linux-looking stuff, I wound up back in sugar! Again and again, until I swallowed my pride and gave up.
So, where-to, and how-to, please, if any of you have the patience to help.
Thanks in advance,
--Steve
Logged
#337
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 21, 2008, 07:23:07 PM
Quote from: steveg_va on September 21, 2008, 01:32:53 PM
OK, so I tried to boot into Ubuntu, holding down the check-mark game button, and it looked as though it would work OK:
Don't press any buttons on boot. Default olpc.fth is configured to boot from SD card, so as long as you have your developer key on it (copied with security directory) you should be able to boot from it. When XO boots, you should see SD and laptop icons on the screen with "opened lock" small icon in the corner -- this means, they are recognized, and have developer key installed.
Without developer key you won't see that screen with text and devices on boot (will see normal XO boot screen with one dot of the "progress circle", then text screen), however XO will still boot into Ubuntu as long as you have copied boot directory onto that SD card.
You will still need a developer key if you want to use custom kernel or perform any modifications of the boot process.
If it will happen that you actually don't have a properly installed system, reinstall the SD card, following the screenshots at
http://abelits.livejournal.com/38634.html
Logged
#338
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 21, 2008, 07:31:51 PM
Quote from: cruisingjack on September 21, 2008, 09:37:59 AM
Does an XO need to have a developer key to run Hardy that was installed on a 8GB SD card while on another XO that did have a developer key?
In other words, can I take the Hardy installed SD card from one XO and use it to boot up another XO that doesn't have a developer key?
As I stated the other day, I plan to install Hardy on additional 8GB SD cards for use in other XO's.
In general, yes, to work "as intended", it needs a key.
However if you didn't update the kernel after installing it by copying the files from boot directory on NAND (what would be the case if you used my instructions and did not compile any other kernels), it will still boot on XO without a key.
I don't recommend anyone to rely on this "workaround" because if you will have a custom built kernel packaged for Ubuntu, XO will still insist on booting the old one, however it does work.
Logged
#339
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 22, 2008, 07:21:53 AM
Quote from: xlemming on September 16, 2008, 07:12:44 PM
I've been suspending for about a week now. I grabbed the ohm package, converted it to a deb, and installed it. Then I use a script that I found here on the forums, its a really simple script run from the terminal and I used cntrl+c to kill it so it comes out of sleep mode. I've had no sd card corruption problems yet, and having sleep mode works well. I made it a launcher on my panel that executes in the terminal for me. I can try and post the deb and the script later if people would like (I can't remember where the script is posted, but it is not my own).
The script in question is at
http://wiki.laptop.org/go/Suspend_and_resume
However in Ubuntu so far I was able to get usable results by adding this script into
/usr/lib/pm-utils/sleep.d/
http://mars.illtel.denver.co.us/~abelits/software/olpc/power-management/95olpc
(as root:
cd /usr/lib/pm-utils/sleep.d/
wget
http://mars.illtel.denver.co.us/~abelits/software/olpc/power-management/95olpc
chmod 755 95olpc
)
To enable suspend option in "Quit" menu, In desktop configuration menu go to Settings->Settings Manager -> Sessions and Startup , check "Show suspend button".
Now "Quit" icon on the panel will show "Suspend" option along with "Restart", "Shut down" and "Log Out".
For everyone who installed Ubuntu but did not upgrade the kernel:
THIS WILL LIKELY BREAK YOUR SD CARD UNLESS YOU HAVE THE KERNEL FROM AT LEAST 8.2-760.
To update the kernel on SD card after XO software upgrade, do the following:
At least once go through boot/shutdown cycle after upgrading software in NAND flash. Likely it will perform firmware update -- this fixes some very annoying problems.
Boot from SD, run terminal and run
sudo -s
, or login as root at the console. Then run:
mount /media/olpcmtd0
(this may fail telling you that it is already mounted -- ignore it in that case)
cd /media/olpcmtd0/versions/running/boot
ls
It should give the list of files -- two of them will be new kernel and ramdisk:
vmlinuz-2.6.25-20080909.3.olpc.850b087f7daf1b0
and
olpcrd-2.6.25-20080909.3.olpc.850b087f7daf1b0.img
(versions may differ, however they SHOULDN'T BE OLDER THAN "20080909")
Copy those files to SD, along with os.zip, rd.zip and bootfw.zip:
cp vmlinuz-2.6.25-20080909.3.olpc.850b087f7daf1b0 olpcrd-2.6.25-20080909.3.olpc.850b087f7daf1b0.img os.zip rd.zip bootfw.zip /boot/
Copy kernel modules:
cd ../lib/modules
cp -a 2.6.25-20080909.3.olpc.850b087f7daf1b0 /lib/modules/
Copy firmware:
cd ../firmware
cp usb8388.bin /lib/firmware/
Change into the /boot directory and make symlink to the kernel and ramdisk files:
cd /boot
ln -sf vmlinuz-2.6.25-20080909.3.olpc.850b087f7daf1b0 vmlinuz
ln -sf olpcrd-2.6.25-20080909.3.olpc.850b087f7daf1b0.img olpcrd.img
After reboot verify that you are actually running the new kernel by running
uname -a
before trying to do anything with power management.
Packaged ohm should be helpful, too.
Logged
#340
Re: Beyond the Ubuntu Installation
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
September 22, 2008, 10:16:34 AM
Quote
However in Ubuntu so far I was able to get usable results by adding this script into /usr/lib/pm-utils/sleep.d/
http://mars.illtel.denver.co.us/~abelits/software/olpc/power-management/95olpc
I tried it and it worked. However two consecutive times the computer came out of suspension by itself after 10-15 minutes! Right about the time that the screen saver would kick in... It shouldn't be any network activity since the wifi was disconnected by the suspension.
The only other difference is that I had updated the kernel from os760 using your previous (way SIMPLER I should say) instructions
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
Update
Disabling screen saver did not change things. The XO came out of suspension after 20 minutes (with a corrupt but reparable file system
)
«
Last Edit: September 22, 2008, 11:08:04 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
)
#341
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 22, 2008, 11:05:25 AM
Quote from: mavrothal on September 22, 2008, 10:16:34 AM
Quote
However in Ubuntu so far I was able to get usable results by adding this script into /usr/lib/pm-utils/sleep.d/
http://mars.illtel.denver.co.us/~abelits/software/olpc/power-management/95olpc
I tried it and it worked. However two consecutive times the computer came out of suspension by itself after 10-15 minutes! Right about the time that the screen saver would kick in... It shouldn't be any network activity since the wifi was disconnected by the suspension.
This is still work in progress -- the major problems are gone, so now it's possible to work on details.
Quote
The only other difference is that I had updated the kernel from os760 using your previous (way SIMPLER I should say) instructions
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
Those instructions (update SD while booted from NAND) are easier and accomplish more or less the same. This set was made to update SD from NAND while booted from the same SD, so user has to be aware where all the original files are on NAND, however it allows a bit easier customization, so this is how I did it.
Logged
#342
Re: Beyond the Ubuntu Installation
red
Commenter
Posts: 20
September 22, 2008, 12:42:57 PM
Teapot,
I was looking at your pictures and noticed the green light that I think is for the mic stays on in Ubuntu, and it does this for me too. Is the a problem or is it ok?
Logged
#343
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 22, 2008, 05:19:42 PM
Quote from: red on September 22, 2008, 12:42:57 PM
Teapot,
I was looking at your pictures and noticed the green light that I think is for the mic stays on in Ubuntu, and it does this for me too. Is the a problem or is it ok?
You can turn it off by unchecking "V_REFOUT Enable" in mixer/volume control (Run it by clicking on volume control applet, use File->Options to enable switches that are initially hidden)
Logged
#344
Re: Beyond the Ubuntu Installation
GoremanX
Contributor
Posts: 36
September 23, 2008, 11:17:46 AM
Quote from: teapot on September 19, 2008, 12:03:01 AM
You can try to disable all attempts to play sound on boot:
That worked for me too (my girlfriend was traveling with the XO, so I didn't have a chance to try it until now).
Now if only I could get Battle For Wesnoth to work on the XO
«
Last Edit: September 23, 2008, 11:19:42 AM by GoremanX
»
Logged
Pages:
1
...
20
21
22
[
23
]
24
25
26
...
37
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
OLPC G1G1 Information
-----------------------------
=> G1G1 Introduction
===> First Impressions
===> G1G1 Europe
===> XO Shipping - USA
===> XO Shipping - Canada
===> XO Shipping - Problems
=> XO User Groups
===> OLPC Canada
===> OLPC Learning Club DC
===> XO Europe User Group
===> Assistive Technology Group
=> OLPC Publicity
-----------------------------
XO Laptop
-----------------------------
=> XO Laptop Help
===> User Guide
===> Internet & Mesh Networking
===> Sugar & Linux
===> Battery & Power
===> T-Mobile HotSpot
=> XO 1.5 Laptop
=> XO Activities
===> Activities Development
===> Games!
===> eBooks
===> Music & Radio
===> Jabber & Chat
=> XO Hacks
===> Hardware Modifications
===> Other Operating Systems
=> XO Accessories
===> USB Memory Sticks & SD Cards
===> USB Adapters & Attachments
=> XO Problemo
===> Hardware Trouble
===> Keyboard
=> XO MISC
-----------------------------
OLPC Outreach
-----------------------------
=> Press & Blogs
=> Your Opinion
=> Promoting OLPC to Schools
-----------------------------
Other Devices
-----------------------------
=> Asus Eee PC
=> Classmate and 2go PC
=> Other 4P Computers
Stats
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
Loading...