Home
Forum
Help
Login
Register
XO Laptop Shop
Forum Staff
OLPC News
OLPC News Forum
»
XO Laptop
»
XO Hacks
»
Other Operating Systems
»
Ubuntu on the XO
Welcome,
Guest
. Please
login
or
register
.
Get your own OLPC -
Buy an XO laptop on eBay
!
Pages:
1
2
3
[
4
]
5
6
7
8
« previous
next »
Print
Author
Topic: Ubuntu on the XO (Read 82380 times)
#45
Re: Ubuntu on the XO
freelikegnu
New
Posts: 3
January 12, 2008, 08:59:51 PM
Nice instructions, moocapiean.
One reason I did not put up an image is that users will still have to go back and set things things like timezone, language, username, and could format the drive to whatever capacity (all of which is done with install). Also, I don't think it's really ready for the average user to have Ubuntu on the XO until the kernel and xorg drivers are compiled and packaged for Ubuntu and users can easily update them. For instance if you try to update the kernel in Ubuntu with apt-get, its gonna be a little confused.
Have Fun!
btw, Wayan Vota :
"If you are intrepid and can get Ubuntu to boot and run on the XO, I have the fame and glory of a OLPC News post all about your efforts waiting for you. Better yet, you'll have serious geek street cred and a hot XO laptop to boot (pun intended)." Thanks ;-)
Logged
#46
Re: Ubuntu on the XO
starji
New
Posts: 4
January 12, 2008, 09:21:17 PM
Thanks moocapiean for setting up that image.
I was able to get a stage3 gentoo build booting from an SD card tonight after adapting the instructions from
http://www.freelikegnu.org/?p=21&page=2
. I was also able to mount the SD card as root and completely bypass the olpc's builtin flash drive.
One problem I noticed though is it seems to ignore me when I try to bring up the console when I hold the checkmark key every other boot. Has anyone seen that issue?
Logged
#47
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 12, 2008, 09:25:07 PM
Quote from: freelikegnu on January 12, 2008, 08:59:51 PM
Nice instructions, moocapiean.
One reason I did not put up an image is that users will still have to go back and set things things like timezone, language, username, and could format the drive to whatever capacity (all of which is done with install). Also, I don't think it's really ready for the average user to have Ubuntu on the XO until the kernel and xorg drivers are compiled and packaged for Ubuntu and users can easily update them. For instance if you try to update the kernel in Ubuntu with apt-get, its gonna be a little confused.
I think the user can change timezone and language after install, but I'll wait until someone asks how to figure it out. I know it's possible to change the username (password, home directory, primary group) because I had to when I found out people were interested in getting my image. With the compressed files install approach, the drive capacity isn't a concern either.
To save space, I uninstalled the Ubuntu-installed kernel packages, which also saves me from accidentally updating Ubuntu's kernel. I didn't remove them from the files I uploaded in case someone wanted to use the image/files on a regular machine first. Instructions on removing them (and probably other things) were going to come once I finished uploading the files.
You do have a good point though, that updating the kernel and drivers probably won't be easy. But, I'll cross that bridge when I come to it.
Thanks again for the instructions!
Logged
#48
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 12, 2008, 09:32:24 PM
Quote from: starji on January 12, 2008, 09:21:17 PM
Thanks moocapiean for setting up that image.
I was able to get a stage3 gentoo build booting from an SD card tonight after adapting the instructions from
http://www.freelikegnu.org/?p=21&page=2
. I was also able to mount the SD card as root and completely bypass the olpc's builtin flash drive.
One problem I noticed though is it seems to ignore me when I try to bring up the console when I hold the checkmark key every other boot. Has anyone seen that issue?
Gentoo on the XO? I think it's actually a better match for the XO than Ubuntu, but I could be biased (I've been a Gentoo user for four years). Why'd you think to try it?
I was running into that problem when I was booting Ubuntu. Are you sure you're holding it down soon enough? That was my problem.
Logged
#49
Re: Ubuntu on the XO
starji
New
Posts: 4
January 12, 2008, 10:12:08 PM
Quote from: moocapiean on January 12, 2008, 09:32:24 PM
Gentoo on the XO? I think it's actually a better match for the XO than Ubuntu, but I could be biased (I've been a Gentoo user for four years). Why'd you think to try it?
I was running into that problem when I was booting Ubuntu. Are you sure you're holding it down soon enough? That was my problem.
I had tried setting all this up before there were instructions, but didn't know about how to bring the console up so I just thought it wasn't working. I used gentoo's stage3 as a base install since it had a basic system ready to go, and I understood its boot process better than a livecd's or ubuntu's (I also used Gentoo for a few years
)
I'm pretty sure I'm holding the button at the right time. I start holding it during the countdown for the boot. I'll keep trying, maybe I am screwing it up somehow.
Logged
#50
Re: Ubuntu on the XO
samphilomath
Senior Contributor
Posts: 214
Let GO my XO
January 12, 2008, 11:46:00 PM
Internet Archive do have a software section. Why do they made it so difficult to upload software in it?
Anyway, seem like Ubuntu took to much space on the RAM. We should try Puppy Linux.
Logged
http://www.NECOpost.com
#51
Re: Ubuntu on the XO
ashtond33
Contributor
Posts: 85
January 13, 2008, 07:29:44 AM
In qemu, I cannot set the ip for the virtual machine. Am I missing something, the box is somewhat shaded out.
Logged
#52
Re: Ubuntu on the XO
quixote
Contributor
Posts: 73
January 13, 2008, 12:06:28 PM
WOW! Cool! I can't wait to try this. It's downloading as I tap away here.
Just one minor point: The command to su to root: don't we want a root login that uses root's environment & PATH settings, rather than "olpcuser"?
So shouldn't that be "su -"? (Without the quotes, of course.)
Logged
#53
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 13, 2008, 12:18:39 PM
Quote from: quixote on January 13, 2008, 12:06:28 PM
WOW! Cool! I can't wait to try this. It's downloading as I tap away here.
Just one minor point: The command to su to root: don't we want a root login that uses root's environment & PATH settings, rather than "olpcuser"?
So shouldn't that be "su -"? (Without the quotes, of course.)
You might be right. I made the instructions on my regular laptop (under Ubuntu) and didn't need to do
su -
, but if it turns out you need root's PATH, then I guess you'd need to do that.
Quote from: ashtond33 on January 13, 2008, 07:29:44 AM
In qemu, I cannot set the ip for the virtual machine. Am I missing something, the box is somewhat shaded out.
I couldn't set the IP either, I just set the MAC address and everything worked just fine.
Logged
#54
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 13, 2008, 12:24:32 PM
Quote from: philomath on January 12, 2008, 11:46:00 PM
Internet Archive do have a software section. Why do they made it so difficult to upload software in it?
Anyway, seem like Ubuntu took to much space on the RAM. We should try Puppy Linux.
Puppy Linux seems to use JWM, whereas I have Xfce running for Ubuntu. Since JWM is also availabe for Ubuntu, someone could try installing it on Ubuntu to see how it performs.
Logged
#55
Re: Ubuntu on the XO - using compressed files
humptybump
Contributor
Posts: 69
January 13, 2008, 01:45:20 PM
Hi moocapiean,
When using the compressed files method, what should the resulting root of the USB or SD look like ?
when I used "tar -jxf /home/olpc/OLPCFile.tar.bz2" to extract everything onto my SD, I ended up with a root directory of "/mnt/OLPCRoot". I'm not sure this was expected since the very next command is "mv /mnt/boot/olpc.fth.usb /mnt/boot/olpc.fth" but I get /mnt/OLPCRoot/boot".
BTW: I'm only a little bit more senior than a n00b and early on I was told to never mount anything to "/mnt" so I created a temporary directory "/mnt/working" so in the above, all references to "/mnt/..." were actually "/mnt/working/..."
Logged
#56
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 13, 2008, 02:05:14 PM
Quote from: humptybump on January 13, 2008, 01:45:20 PM
Hi moocapiean,
When using the compressed files method, what should the resulting root of the USB or SD look like ?
when I used "tar -jxf /home/olpc/OLPCFile.tar.bz2" to extract everything onto my SD, I ended up with a root directory of "/mnt/OLPCRoot". I'm not sure this was expected since the very next command is "mv /mnt/boot/olpc.fth.usb /mnt/boot/olpc.fth" but I get /mnt/OLPCRoot/boot".
BTW: I'm only a little bit more senior than a n00b and early on I was told to never mount anything to "/mnt" so I created a temporary directory "/mnt/working" so in the above, all references to "/mnt/..." were actually "/mnt/working/..."
I was being lazy when I got around to making the instructions for mount and didn't want to go through the step of making a directory to mount. But, I think that step can actually save me from uploading a fixed version of the file!
Basically, instead of calling your directory, /mnt/working, call it /mnt/OLPCRoot. Now, when you moved into the /mnt/working directory to decompress the file, move into the /mnt directory and decompress. Since your drive is mounted on /mnt/OLPCRoot and the tar file will want to extract to OLPCRoot, things should work out. If I lost you with any of that, just follow these instructions (I'll update my instructions too):
mkdir /mnt/OLPCRoot
cd /mnt
tar -jxf /home/olpc/OLPCFile.tar.bz2
You can then move on to the next instruction. Thanks for catching that!
Logged
#57
Re: Ubuntu on the XO
sracer
Master Contributor
Posts: 286
January 13, 2008, 04:49:11 PM
Quote from: moocapiean on January 12, 2008, 07:51:45 PM
These instructions are for installing Ubuntu using the compressed files approach. If you want to install using the image, see my post above.
[ instructions snipped ]
And you're done! If you want to log into your new Xubuntu installation, just reboot, hold down the right game button (it looks like a check mark) until it tells you to release it, then let it boot up. The username is olpc and the password is olpcolpc. To start Xfce, after you log in, run
startxfce4
.
Fantastic instructions! I installed it on a 1GB SD card. Except for a misstep of absentmindedly using the sda1 in your example (which was my WinXP testing partition for work... oops. LOL) everything went smooth as butter.
I need to work on getting wifi connectivity working, but so far... wonderful.
These instructions need to be a separate thread and stickied... and updated as new info is made available.
Having it on an SD card, I particularly appreciate being able to have a choice to boot Ubuntu (off the SD card) or Sugar (from the nandflash).
«
Last Edit: January 13, 2008, 04:53:09 PM by sracer
»
Logged
#58
Re: Ubuntu on the XO
humptybump
Contributor
Posts: 69
January 13, 2008, 04:56:37 PM
Quote from: moocapiean on January 13, 2008, 02:05:14 PM
Basically, instead of calling your directory, /mnt/working, call it /mnt/OLPCRoot. Now, when you moved into the /mnt/working directory to decompress the file, move into the /mnt directory and decompress. Since your drive is mounted on /mnt/OLPCRoot and the tar file will want to extract to OLPCRoot, things should work out. If I lost you with any of that, just follow these instructions (I'll update my instructions too):
mkdir /mnt/OLPCRoot
cd /mnt
tar -jxf /home/olpc/OLPCFile.tar.bz2
now why didn't *I* think of that ! ... Thanks, I'm of to try that now :-)
Logged
#59
Re: Ubuntu on the XO
moocapiean
Master Contributor
Posts: 330
January 13, 2008, 05:11:21 PM
Quote from: sracer on January 13, 2008, 04:49:11 PM
snip
Fantastic instructions! I installed it on a 1GB SD card. Except for a misstep of absentmindedly using the sda1 in your example (which was my WinXP testing partition for work... oops. LOL) everything went smooth as butter.
I need to work on getting wifi connectivity working, but so far... wonderful.
These instructions need to be a separate thread and stickied... and updated as new info is made available.
Having it on an SD card, I particularly appreciate being able to have a choice to boot Ubuntu (off the SD card) or Sugar (from the nandflash).
Thanks
. I once made the same mistake and ended up formatting my NTFS partition as an ext3 partition. Luckily I had just gotten the laptop and didn't have anything important on that partition, but I did want to save it in case I ever needed Windows for something.
I can put the instructions in a new thread (or should they be two threads?), but I don't have the power to sticky them.
Logged
Pages:
1
2
3
[
4
]
5
6
7
8
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: 26
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 12
Total: 12
Loading...