All times are UTC-06:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Ubuntu
PostPosted: Thu Jul 14, 2005 4:13 am 
Offline

Joined: Thu Nov 11, 2004 4:18 pm
Posts: 8
Is it possible to install ubuntu on pegasos? If yes, how can I do it?


Top
   
 Post subject: Re: Ubuntu
PostPosted: Thu Jul 14, 2005 8:40 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 17
Yes it works very well.

You need the Hoary Install CD for PPC which you can download from http://www.ubuntu.com/.

Then you can boot the system with a kernel Sven Luther has made,
http://people.debian.org/~luther/pegasos/pegasos. And have the CD in the drive.

At least it should work, I have not tried this kernel myself since I used my own kernel I made. Anyway it works very well when up and running. The only "problem" is that you have to fix the kernel yourself afterwards.


Last edited by Kozz on Tue Aug 09, 2005 1:59 am, edited 1 time in total.

Top
   
 Post subject: Re: Ubuntu
PostPosted: Thu Jul 14, 2005 9:33 am 
Quote:
Yes it works very well.

You need the Hoary LiveCD for PPC which you can download from http://www.ubuntu.com/.

Then you can boot the system with a kernel Sven Luther has made,
http://people.debian.org/~luther/pegasos/pegasos. And have the CD in the drive.

At least it should work, I have not tried this kernel myself since I used my own kernel I made. Anyway it works very well when up and running. The only "problem" is that you have to fix the kernel yourself afterwards.

It works indeed, but there is one manual step needed.

When all is done, and before the reboot, you need to alt+f2 to the second console, and press enter, and then chroot /target.

There you need to apt-get install mkvmlinuz, and run mkvmlinuz.

And after the reboot you need to boot the kernel in boot generated by mkvmlinuz, this is the one with the Z, not the one with the X.

Friendly,

Sven Luther


Top
   
 Post subject: Re: Ubuntu
PostPosted: Thu Jul 14, 2005 6:44 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 7
Ubuntu gives away free CDs (even without P&P), if you register on ubuntulinux.org.


Top
   
 Post subject: Re: Ubuntu
PostPosted: Fri Jul 15, 2005 9:42 am 
Offline

Joined: Thu Nov 11, 2004 4:18 pm
Posts: 8
Thanks for help - i'm writting this post from Ubuntu on pegasos :-).

I had some minor problems with installing it, but the most important thing is that it works :-)


Top
   
 Post subject: Re: Ubuntu
PostPosted: Fri Jul 15, 2005 2:58 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 12
OK, I managed the first step of the install. Before rebooting it displayed that to boot I would need to:
boot /pci@80000000/ide@C,1/disk@0,1:0 boot/yaboot

Which I did, now I am in yaboot. If I press enter it displays:
Please wait, loading kernel...
':-1,/vmlinux: Unable to open file, Invalid device

Why does it try from part -1 ?

I tried to:
/pci@80000000/ide@C,1/disk@0,1:0,/vmlinux with the same results
:?

At this point I am stuck.
-------------------------------------------------------
UPDATE
I missed Sven's post when I first replied. So, since then, I restarted the installation but when I try to apt-get install mkvmlinuz it says it can not find the package ???

-------------------------------------------------------
UPDATE
OK, I have changed the apt source file and added unstable and installed mkvmlinuz and ran it mkvmlinuz -k /boot/vmlinux
Sorry, I do not know how to handle PowerPC sub-architecture chrp in version .

If I run mkvmlinuz -k /boot/vmlinux-2.6.10-5-powerpc -v
I get some errors:
objcopy: '/boot/obj/dummy.o' : no such file
objcopy: '/tmp/tmp.QjwMUZ/image.o' no such file

A step by step guide would be more than welcome :)


Top
   
 Post subject: Re: Ubuntu
PostPosted: Fri Jul 15, 2005 7:50 pm 
Offline

Joined: Thu Nov 11, 2004 4:18 pm
Posts: 8
Quote:
UPDATE
OK, I have changed the apt source file and added unstable and installed mkvmlinuz and ran it mkvmlinuz -k /boot/vmlinux
Sorry, I do not know how to handle PowerPC sub-architecture chrp in version .

If I run mkvmlinuz -k /boot/vmlinux-2.6.10-5-powerpc -v
I get some errors:
objcopy: '/boot/obj/dummy.o' : no such file
objcopy: '/tmp/tmp.QjwMUZ/image.o' no such file

A step by step guide would be more than welcome :)
I also had problems with downloading and finding right version of mkvmlinuz. I didn't want to mess with apt-sources so i wgeted and installed this version of mkvmlinuz http://mirror.isp.net.au/ftp/pub/ubuntu ... owerpc.deb
Then just type mkvmlinuz and you'll have right kernel in /boot


Top
   
 Post subject: Re: Ubuntu
PostPosted: Sat Jul 16, 2005 2:22 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 12
OK I went a little further with your advice. The vmlinuz file has been generated
I rebooted and then:
boot /pci@80000000/ide@C,1/disk@0,1:0 boot/vmlinuz-2.6.10-5-powerpc

And then after displaying the HD informations:
Stopping tasks: =1
Freing memory... done (362 pages freed)
Restarting tasks... done
pivot_root: No such file or directory
/sbin/init: 428: can not open dev/console: No such file
Kernel Panic not syncing: Attempted to kill init !
<0>Rebooting in 180 seconds..


Top
   
 Post subject: Re: Ubuntu
PostPosted: Sat Jul 16, 2005 4:31 am 
Quote:
OK I went a little further with your advice. The vmlinuz file has been generated
I rebooted and then:
boot /pci@80000000/ide@C,1/disk@0,1:0 boot/vmlinuz-2.6.10-5-powerpc
You need to add to bootline "root=/dev/hdXX" where hdXX is partition where you installed ubuntu.


Top
   
 Post subject: Re: Ubuntu
PostPosted: Sat Jul 16, 2005 6:36 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 12
Doh !
Thanks, that was it: root=/dev/hdb1
Now I have another problem.

I am at the ubuntu login: and my (ps2) keyboard is not working (i can type whatever nothing happens, not even numlock or caps work).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group