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
...
21
22
23
[
24
]
25
26
27
...
37
« previous
next »
Print
Author
Topic: Beyond the Ubuntu Installation (Read 414412 times)
#345
Re: Beyond the Ubuntu Installation
koolkat
Contributor
Posts: 42
Chemist at Leeds Uni
September 23, 2008, 12:44:23 PM
Battle for Wesnoth was one of the first things I installed on gutsy, and it worked fine using aptitude. What issues are you having?
Logged
#346
Re: Beyond the Ubuntu Installation
GoremanX
Contributor
Posts: 36
September 23, 2008, 02:38:34 PM
Quote from: koolkat on September 23, 2008, 12:44:23 PM
Battle for Wesnoth was one of the first things I installed on gutsy, and it worked fine using aptitude. What issues are you having?
Actually I'm having no issues at all anymore. I updated to firmware q2e18 and now it works great. I'm guessing the sound issue with q2e12 used to lock up my XO whenever I tried to run Wesnoth, but whatever it was, it's resolved now.
Woohoo! Portable Wesnoth! This is awesome!
Logged
#347
Re: Beyond the Ubuntu Installation
steveg_va
Commenter
Posts: 6
September 23, 2008, 04:57:01 PM
Quote from: teapot on 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.
Thanks so very much, Teapot! It took me a long time, and I learned a lot, even though your instructions were explicit. But, I have never used Torrent, and I had no idea how to download AND OPEN torrents in the OLPC. So, I wound up downloading and opening in my Mac, using Miro of all things, then copying to a USB stick, then figuring out how to see the USB stick on the OLPC (mounting /dev/sda1), yadda, yadda, yadda. FINALLY got [almost] everything to work. Ubuntu loaded beautifully! And, I logged in OK. But, neither the trackpad nor a USB mouse were recognized. I could do ALT-F2 and ALT-F4 and managed to open Firefox that way, and then close it, but I had no way of moving around the screen. I am using the latest build of Sugar, BTW.
So, could you send a clue as to how to enable the trackpad and/or USB mouse, please?
Many thanks, once again.
--Steve (learning by breaking!)
Logged
#348
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 24, 2008, 04:17:23 AM
Edit:
fixed originally wrong font path, as found by GoremanX.
Quote from: koolkat on September 23, 2008, 12:44:23 PM
Battle for Wesnoth was one of the first things I installed on gutsy, and it worked fine using aptitude. What issues are you having?
Actually
I
had an issue after installing Wesnoth on XO -- while high-resolution images work just fine, thin font is hard to read.
To fix that, as root:
cd /usr/share/games/wesnoth/fonts
ln -s /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf .
cd ../data/hardwired
mv fonts.cfg fonts.cfg.orig
wget
http://mars.illtel.denver.co.us/~abelits/software/olpc/wesnoth-configs/fonts.cfg
(or edit that file to include a section for DejaVuSans-Bold.ttf and add it as higher priority font)
This will switch font to the bold version. Same can be done with other bold fonts, including Microsoft/Monotype Arial_Bold.ttf and Arial_Black.ttf that can be installed with msttcorefonts package.
It's also possible to install a fixed-resolution font (X11 .pcf fonts are supported, too), however this may cause clipping on some labels that are supposed to be small.
«
Last Edit: October 20, 2008, 07:34:45 AM by teapot
»
Logged
#349
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 24, 2008, 04:38:57 AM
Quote from: steveg_va on September 23, 2008, 04:57:01 PM
But, neither the trackpad nor a USB mouse were recognized. I could do ALT-F2 and ALT-F4 and managed to open Firefox that way, and then close it, but I had no way of moving around the screen. I am using the latest build of Sugar, BTW.
This means, you have kernel and ramdisk files in /boot, but no matching modules directory in /lib/modules . After booting from SD card:
1. Press Ctrl-Alt-<Neighborhood> or Ctrl-Alt-fn-1 -- this will bring you to the text console with login prompt.
2. Log in as a regular user. After getting a shell prompt, enter
sudo -s
, enter a password at the password prompt. You should get a root prompt after that.
3. At the root prompt:
cd /lib/modules
mount /media/olpcmtd0
(on the original distributed version this will return a message that it's already mounted, however some my configurations don't mount NAND flash automatically)
cp -a /media/olpcmtd0/versions/running/lib/modules/* .
reboot
After rebooting mouse should work.
This WILL NOT WORK if you have mismatched versions of kernel on SD card and on NAND flash (for example, you have upgraded OLPC release after installing Ubuntu on SD). In this case before rebooting do:
cd /media/olpcmtd0/versions/running/boot/
cp -a vmlinuz* /boot/
cp -a olpcrd* /boot/
cp -a *.zip /boot/
Update: it won't work if you don't have modules at all, so use my previous kernel update instructions at
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
(as pointed out by mavrothal before).
«
Last Edit: September 24, 2008, 06:42:02 AM by teapot
»
Logged
#350
Re: Beyond the Ubuntu Installation
mark_bcn
New
Posts: 2
September 24, 2008, 06:23:07 AM
Teapot,
I'm newbie to Linux. I'm having just the same problem as steveg_va. I've tried to follow your instructions to solve the touchpad/mouse problem but when trying to mount
/media/olpcmtd0
I get a message saying
"special device /dev/mtdblock0 does not exist"
. In fact this same message already appears during the boot-up. The most similar name in
/dev/
is
mmcblk0
.
In
/media/
there is indeed a folder called
/olpcmtd0/
but it is empty (there's no further path to
/versions/....
.
My OLPC was updated to Q2E18 firmware and Sugar Build 711 prior to the Ubuntu installation.
I hope I have given you enough information to solve the problem. You've done (and keep doing) a great job teaching us how to turn OLPC into a useful computer. Many thanks!
Marc.
Logged
#351
Re: Beyond the Ubuntu Installation
teapot
OLPC News Forum Expert
Posts: 662
September 24, 2008, 06:39:07 AM
Quote from: mark_bcn on September 24, 2008, 06:23:07 AM
Teapot,
I'm newbie to Linux. I'm having just the same problem as steveg_va. I've tried to follow your instructions to solve the touchpad/mouse problem but when trying to mount
/media/olpcmtd0
I get a message saying
"special device /dev/mtdblock0 does not exist"
. In fact this same message already appears during the boot-up. The most similar name in
/dev/
is
mmcblk0
.
In
/media/
there is indeed a folder called
/olpcmtd0/
but it is empty (there's no further path to
/versions/....
.
My OLPC was updated to Q2E18 firmware and Sugar Build 711 prior to the Ubuntu installation.
I hope I have given you enough information to solve the problem. You've done (and keep doing) a great job teaching us how to turn OLPC into a useful computer. Many thanks!
Marc.
I was wrong about NAND flash being accessible in this condition -- you can only copy modules when booted from NAND because you need a module to access NAND. So you have to boot without SD card, insert it and do this:
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
Logged
#352
Re: Beyond the Ubuntu Installation
mark_bcn
New
Posts: 2
September 24, 2008, 08:31:50 AM
It works now. Thank you very much!
Marc.
Logged
#353
Re: Beyond the Ubuntu Installation
steveg_va
Commenter
Posts: 6
September 24, 2008, 09:18:40 AM
Quote from: teapot on September 24, 2008, 04:38:57 AM
Quote from: steveg_va on September 23, 2008, 04:57:01 PM
But, neither the trackpad nor a USB mouse were recognized. I could do ALT-F2 and ALT-F4 and managed to open Firefox that way, and then close it, but I had no way of moving around the screen. I am using the latest build of Sugar, BTW.
This means, you have kernel and ramdisk files in /boot, but no matching modules directory in /lib/modules . After booting from SD card:
1. Press Ctrl-Alt-<Neighborhood> or Ctrl-Alt-fn-1 -- this will bring you to the text console with login prompt.
2. Log in as a regular user. After getting a shell prompt, enter
sudo -s
, enter a password at the password prompt. You should get a root prompt after that.
3. At the root prompt:
cd /lib/modules
mount /media/olpcmtd0
Here, I get error message:
special device /dev/mtdblock0 does not exist
So, I cd-ed into /media/olpcmtd0, and find that it is empty (at least, of visible files or directories), though a
ls -alF
yields "total 8", and no directory "versions."
(on the original distributed version this will return a message that it's already mounted, however some my configurations don't mount NAND flash automatically)
cp -a /media/olpcmtd0/versions/running/lib/modules/* .
reboot
After rebooting mouse should work.
This WILL NOT WORK if you have mismatched versions of kernel on SD card and on NAND flash (for example, you have upgraded OLPC release after installing Ubuntu on SD). In this case before rebooting do:
cd /media/olpcmtd0/versions/running/boot/
/media/olpcmtd0 appears empty. No directory "versions" there.
cp -a vmlinuz* /boot/
cp -a olpcrd* /boot/
cp -a *.zip /boot/
Update: it won't work if you don't have modules at all, so use my previous kernel update instructions at
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
(as pointed out by mavrothal before).
Logged
#354
Re: Beyond the Ubuntu Installation
steveg_va
Commenter
Posts: 6
September 24, 2008, 09:53:31 AM
Quote from: teapot on September 24, 2008, 06:39:07 AM
I was wrong about NAND flash being accessible in this condition -- you can only copy modules when booted from NAND because you need a module to access NAND. So you have to boot without SD card, insert it and do this:
http://olpcnews.com/forum/index.php?topic=2240.msg25129#msg25129
cd /media/OLPCRoot
rm boot/*.zip boot/vmlinuz boot/olpcrd.img
cp -ia /boot/* boot/ < /dev/null
cp -a /lib/modules/* lib/modules/
cp -a /lib/firmware lib/firmware/
reboot
Teapot,
I did that, and when I try to reboot, I get:
Boot: device: /sd/disk:\boot\olpc.fth Arguments:
Boot device: /sd/disk:\boot\vmlinuz Arguments: ro root=/dev/mmcblk0p1 rootfstype=ext3 console=tty0 fbcon=font:SUN12x22 loglevel=3
<buffer@ffb68e90>:12:
Can't open boot device
Yet, I checked the lib/modules and lib/firmware directories in /media/OLPCRoot, and they at least look populated, and vmlinuz is there.
I am afraid that if I go back and start from scratch, I will wind up back here all over again.
Any more clues, please?
Thanks,
Steve
Logged
#355
Re: Beyond the Ubuntu Installation
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
September 24, 2008, 01:15:42 PM
Quote
Yet, I checked the lib/modules and lib/firmware directories in /media/OLPCRoot, and they at least look populated, and vmlinuz is there.
I am afraid that if I go back and start from scratch, I will wind up back here all over again.
if Sugar works try these commands. You can copy them altogether and paste them in terminal to avoid typos. I have done it more than 10 times and works fine (I have it as a script by now
)
Code:
su
cd /media/OLPCRoot
rm boot/*.zip boot/vmlinuz boot/olpcrd.img boot/*-2.6.*.olpc*
cp -ia /boot/* boot/ < /dev/null
cp -a /lib/modules/* lib/modules/
cp -a /lib/firmware lib/firmware/
cd /home/olpc
will also get rid of the old sugar derived files in the boot directory.
Edit
Corrected to fit both Ship.1 and 8.2 builds.
Is a good idea to check your /media/OLPCRoot/boot directory before to see what the " *-2.6.*.olpc* " pattern will delete. If everything was done right should only be 4 (8, 12, 16.... depending on your previous updates) files that fit either the " *-2.6.*.olpc.* " or the " *-2.6.*.olpc1.* " or both.
End edit
Also check your boot/olpc.fth file should be like this (copy this one if different)
Code:
\ Boot script
game-key-mask h# 80 and if
" ro root=mtd0 rootfstype=jffs2 console=tty0 fbcon=font:SUN12x22" to boot-file
" nand:\boot\vmlinuz" to boot-device
" nand:\boot\olpcrd.img" to ramdisk
else
" ro root=/dev/mmcblk0p1 rootfstype=ext3 console=tty0 fbcon=font:SUN12x22 loglevel=3" to boot-file
" sd:\boot\vmlinuz" to boot-device
" sd:\boot\olpcrd.img" to ramdisk
\ unfreeze
then
boot
«
Last Edit: September 24, 2008, 11:27:26 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
)
#356
Re: Beyond the Ubuntu Installation
steveg_va
Commenter
Posts: 6
September 24, 2008, 07:14:09 PM
Code:
[quote author=mavrothal link=topic=2240.msg25873#msg25873 date=1222287342]
[quote]Yet, I checked the lib/modules and lib/firmware directories in /media/OLPCRoot, and they at least look populated, and vmlinuz is there.
I am afraid that if I go back and start from scratch, I will wind up back here all over again.[/quote]
if Sugar works try these commands. You can copy them altogether and paste them in terminal to avoid typos. I have done it more than 10 times and works fine (I have it as a script by now ;D )
[code]su
cd /media/OLPCRoot
rm boot/*.zip boot/vmlinuz boot/olpcrd.img boot/*-2.6.*.olpc.*
cp -ia /boot/* boot/ < /dev/null
cp -a /lib/modules/* lib/modules/
cp -a /lib/firmware lib/firmware/
cd /home/olpc
will also get rid of the old sugar derived files in the boot directory.
[/quote]
That did it, Mavrothal. Many thanks. BTW, I inspected the results of the removals in the second line of code because I received error messages that there were no such files or directories. It happened that all the patterns matched existing files, except that they had "olpc1" instead "olpc" in their names (that is, the *.olpc.* objects). So, I modified your code by substituting "olpc1" for "olpc".
Probably applying the code from Teapot had already populated the *olpc1.* files, so, perhaps some of what I had was OK.
But, anyway it works now,
beautifully
: the trackpad works (though it is bit overly sensitive as others have found), and I could connect to my home nework (on the second try) with 5 bars. I have not put it through many paces yet, but so far it looks really nice. Now the OLPC XO is useful to me as well as to my 4.5-y.o. grandson.
Best, and thanks to all of you experts out there willing to hold the hands of us newbies,
--Steve (salivating over the anticipated delivery of a pre-ordered Dell Inspiron Mini 9 on or about October 10th)[/code]
«
Last Edit: September 24, 2008, 07:19:09 PM by steveg_va
»
Logged
#357
Re: Beyond the Ubuntu Installation
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
September 24, 2008, 10:22:39 PM
Quote
It happened that all the patterns matched existing files, except that they had "olpc1" instead "olpc" in their names (that is, the *.olpc.* objects). So, I modified your code by substituting "olpc1" for "olpc".
Thanks for picking this up. I'm addicted to Joyrides by now
and a totally forgot about Ship1 builds.
I corrected it for general use.
However is always a good idea to check before deleting because down the road something else might come up with this structure in the name which should not be deleted...
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
)
#358
Re: Beyond the Ubuntu Installation--Skype "Problem with Audio Playback"
steveg_va
Commenter
Posts: 6
September 25, 2008, 09:19:12 AM
Moving right along...
I was able to install Synaptic package manager, and through it and medibuntu, able to install Skype. I can play a "Test Sound," but if I try to complete a call, even a test call, I get the error message "Problem with audio playback." I checked my sound system settings, and all sources are turned on (nothing muted). Also, though less important than the sound, my XO camera is not found by Skype, so there is no video to send.
Help, anybody, please?
Thanks,
--Steve
Logged
#359
Re: Beyond the Ubuntu Installation
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
September 25, 2008, 10:53:16 AM
Quote
I was able to install Synaptic package manager, and through it and medibuntu, able to install Skype. I can play a "Test Sound," but if I try to complete a call, even a test call, I get the error message "Problem with audio playback."
check point 6 here
http://olpcnews.com/forum/index.php?topic=3062.msg24363#msg24363
and here
http://olpcnews.com/forum/index.php?topic=2240.msg24419#msg24419
( for the settings of your alsa mixer eg "sound control panel")
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
)
Pages:
1
...
21
22
23
[
24
]
25
26
27
...
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: 29
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 11
Total: 11
Loading...