*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 2 3 [4] 5 6 7 ... 24
Print
Author Topic: Installing Ubuntu using compressed files  (Read 267523 times)

#45 Re: Installing Ubuntu using compressed files

quixote
Contributor
*
Posts: 73


January 17, 2008, 08:19:18 PM

atraw: re olpc.fth triple boot script.  Pressing the "O" game key worked fine to boot into sugar.  (I have build 650, and no backup build as yet.)

The next time I wanted it to go back to ubuntu, and judging by the script, I thought I should press nothing.  When I did that, the boot process just hung.

Hitting the "check" game key -- which I thought was for the backup system -- got me to ubuntu on my sd card.

Does that make sense?  And what happens when 650 is upgraded, and there's an alternate boot on the nand?  Won't the  check key take me there instead?  And will I ever see my dear ubuntu again?
Logged

#46 Re: Installing Ubuntu using compressed files

wiseguy
Commenter

Posts: 10


January 18, 2008, 05:14:50 PM

You may want to change the link in the guide to the actual triple boot script... not the dual.

With a bit of work from a friend of mine we now have Ubuntu up and running.

Works like a charm. Now to tackle that pesky streaming video problem Smiley
Logged

#47 Re: Installing Ubuntu using compressed files

moocapiean
Master Contributor
***
Posts: 330


January 18, 2008, 07:38:58 PM

You may want to change the link in the guide to the actual triple boot script... not the dual.

With a bit of work from a friend of mine we now have Ubuntu up and running.

Works like a charm. Now to tackle that pesky streaming video problem Smiley

Ok, will do.  I've been thinking of putting the guides on the OLPC wiki so anyone can make changes to the instructions since I've been falling behind on making the updates.
Logged

#48 Re: Installing Ubuntu using compressed files

jmdeschamps
Commenter

Posts: 18


January 20, 2008, 07:58:34 AM

Sorry, number two  go at olpc.fth

1- modified olpc.fth (on XO) to go to disk following thread on olpc.fth as such

\ Boot from usb key if checker button is pressed
game-key-mask h# 2 and if
 " ro root=/dev/sda1 rootdelay=1 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
  " disk:\boot\vmlinuz" to boot-device
  " disk:\boot\olpcrd.img" to ramdisk

2- modified etc/fstab as such:
#  mtd0                    /                      jffs2    defaults,noatime 1 1

/dev/sda1       /         ext3 noatime,errors=remount-ro 0 1
PROBLEM
Popped in usb key booted with chck button pressed
eventuallu tells me this
...
Boot device: /nandflash:\boot\olpc.fth Arguments:
<buffer@ff838c61>:0: Unrecognized program format
...
Soooo... what now ? How do I get past this or modify the olpc.fth to it's orginal state (and etc/fstab, I guess) Huh HELP!
Logged

#49 Re: Installing Ubuntu using compressed files

jmdeschamps
Commenter

Posts: 18


January 20, 2008, 08:58:16 AM

OK I managed to guse olpc.fth.nand, to restart and reset the one on nand so I can boot again.
But i still don't understand my error (see my previous post )

Thanks
Logged

#50 Re: Installing Ubuntu using compressed files

moocapiean
Master Contributor
***
Posts: 330


January 20, 2008, 10:06:52 AM

Hmm, it looks like it's trying to boot off of your nandflash instead of your USB drive.  I'm not really sure why.  In the olpc.fth file, where it says "root=/dev/sda1", try using "root=LABEL=OLPCRoot" instead.

If that doesn't work, then hopefully someone else can give you better advice.
Logged

#51 Re: Installing Ubuntu using compressed files

chibicthulhu
Commenter

Posts: 12


January 20, 2008, 03:30:38 PM

I'm not getting too far in getting this to work. I do have a developer's key, and I'm in root, but when I try the mount | grep /dev/sda1 | awk '{ print $1 }' command I get grep/dev/sda1: No such file or directory and awk{ print$1 }: command not found. I checked to see that sda1 was the location of my usb stick, so I don't see what I'm doing wrong. Any suggestions? (Preferably in a language the unix/linux-impaired can understand?) Also, is there anything else I need to do with my developer's key? I tried copying it onto my usb stick because I heard backing it up is important, but it kept saying that that directory didn't exist. I did do the whole disable-security bit that the wiki recommended. Thanks for any advice!
« Last Edit: January 20, 2008, 03:33:27 PM by chibicthulhu » Logged

#52 Re: Installing Ubuntu using compressed files

moocapiean
Master Contributor
***
Posts: 330


January 20, 2008, 03:36:57 PM

Maybe they're just typos when you were typing them in for the reply, but there have to be spaces between "grep" and "/dev/sda1", and between "awk" and "'{ print$1 }'"
Logged

#53 Re: Installing Ubuntu using compressed files

chibicthulhu
Commenter

Posts: 12


January 20, 2008, 04:05:24 PM

Thanks, that did it, and once I type that in it displays /dev/sda1, alas, when I try typing unmount /dev/sda1 I get unmount: command not found. Truly, I seem incapable of operating command-line driven interfaces.

Edit: Ha, nevermind. I seem incapable of typing the commands verbatim. However, now it's saying that the fdisk command is not found. And I'm pretty sure I'm typing it right this time. :-P
« Last Edit: January 20, 2008, 04:14:59 PM by chibicthulhu » Logged

#54 Re: Installing Ubuntu using compressed files

gameguy43
Commenter

Posts: 9


pyrak


WWW
January 20, 2008, 11:34:21 PM

my case may be interesting.  i hope it is, because then people will be more motivated to help me Smiley

first of all, i used gparted to format the sd drive.  it's ext3 and flagged as boot.  assuming that this isn't the root of my problems (i'm pretty sure) this is a quick and easy alternative to the command line for people with another ubuntu box

so then i was able to boot ubuntu from the sd card, but on startup it wasn't able to open a couple files, and i couldn't log in.  something about tty.  turns out i hadn't finished the process of getting my developer key Tongue

i got the devkey, and re-did the copying of the /security files.

but now that i have, i can't boot ubuntu any more!  here's the message:

Boot device: /sd/disk:\boot\olpc.fth Arguments:
Boot devide: /nandflash:\boot-alt\vmlinuz Arguments: ro root=mtd0 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22
<buffer@800000>:31:
Can't open boot device

i can boot sugar by either taking out the sd card, or press and holding the O game button.  i'm using the .fth and fstab's from
http://olpcnews.com/forum/index.php?topic=1525.0

help is greatly appreciated!!!!

edit: the card is sdhc.  could this be the issue?  keep in mind that i _was_ able to boot ubuntu before installing the devkey.
« Last Edit: January 20, 2008, 11:48:55 PM by gameguy43 » Logged

pyrak

#55 Re: Installing Ubuntu using compressed files

bcmiller
Commenter

Posts: 8


January 21, 2008, 08:47:23 AM

I have the same problem as the person above me (gameguy).  Except I got there by following the instructions to the letter.  I am not sure what is wrong.  I also have the issue of the partition type being 0x6 instead of 0x83 but I read in another thread that that might not prevent ubuntu from booting. 

If anyone knows why it would say <buffer@800000>:31:
Can't open boot device

please let me/us know.

Thanks
Logged

#56 Re: Installing Ubuntu using compressed files

DoubleK
New

Posts: 2


January 21, 2008, 01:21:09 PM

I managed to get Xubuntu running smoothly on my XO.   Also using atraw's multiboot olpc.fth and fstab (uncommented for boot from SD).

On booting:
My Ubuntu is on a SD card and it will boot only when I press the checkmark game button.  However, if I leave the SD card inside, and press the O game button, XO will try to boot Sugar but run into a "Boot Failure... powering down in 10 seconds".  If I don't press any buttons while booting, XO doesn't boot anything and just freeze on the XO splash screen.
I can get into Sugar now only if I remove the SD card.

Questions: I thought with atraw's multiboot olpc.fth, not pressing any buttons while booting will default to boot Ubuntu? Any ideas on my Sugar boot failure?

In Ubuntu:
It is quite fast and the UI seems more responsive than Sugar in terms of speed.  Some observations:
1. WPA-PSK works in Ubuntu with my problematic Linksys WRT54G.  Even with Build 653, Sugar won't connect to my Linksys AP, also tried the manual shell script with no success http://wiki.laptop.org/go/WPA_Manual_Setting.
2. Microphone is automatically 'on' as indicated by lighted green LED above microphone hole (left of XO's screen).
3. No way to adjust date and time on Ubuntu - I think someone has the same issue... any solution?
4. I tried to install Opera Gutsy through downloading from Opera's website, then running a terminal command to install it - but it gave up saying lacking some dependencies.  Anyone has tips on how to install Opera on Ubuntu on XO?
5. How to access USB flash disk while in Xubuntu? I plugged in my USB flash disk but can't seem to access it through the GUI.  Even in terminal, I can't seem to see it mounted.  If it's not auto, what is the device name in Ubuntu's environment to mount USB flash disk? 

I hope this post is not excessively long with too many diverging questions.  I am just really excited with XO, Sugar and Ubuntu all together.  Am not an expert as you can tell - just have been a Linux newbie on and off for some years.  Any advice on the above greatly appreciated!
Logged

#57 Re: Installing Ubuntu using compressed files

badaspirin
New

Posts: 4


January 21, 2008, 01:36:56 PM

I saw someone asking for the root password,  I'd like to know the same thing...
Logged

#58 Re: Installing Ubuntu using compressed files

ashtond33
Contributor
*
Posts: 85



January 21, 2008, 01:39:19 PM

For those having trouble finding fdsik, and other commands, you may want to try /sbins/COMMAND. Fedora often sorts things into the sbins folder. I've run into it for a few different commands.

/sbin/fdisk

-ashton
Logged

#59 Re: Installing Ubuntu using compressed files

ashtond33
Contributor
*
Posts: 85



January 21, 2008, 01:41:25 PM

5. How to access USB flash disk while in Xubuntu? I plugged in my USB flash disk but can't seem to access it through the GUI.  Even in terminal, I can't seem to see it mounted.  If it's not auto, what is the device name in Ubuntu's environment to mount USB flash disk? 

It should be noted I have similar problems. My USB install of Ubuntu cannot "find" usb devices, and cannot mount USB removable storage
Logged
Pages: 1 2 3 [4] 5 6 7 ... 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: 17
Total: 17