Power Developer
https://powerdeveloper.org/forums/

Ubuntu
https://powerdeveloper.org/forums/viewtopic.php?f=25&t=301
Page 1 of 1

Author:  marcik [ Thu Jul 14, 2005 4:13 am ]
Post subject:  Ubuntu

Is it possible to install ubuntu on pegasos? If yes, how can I do it?

Author:  Kozz [ Thu Jul 14, 2005 8:40 am ]
Post subject:  Re: Ubuntu

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.

Author:  Guest [ Thu Jul 14, 2005 9:33 am ]
Post subject:  Re: Ubuntu

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

Author:  analogkid [ Thu Jul 14, 2005 6:44 pm ]
Post subject:  Re: Ubuntu

Ubuntu gives away free CDs (even without P&P), if you register on ubuntulinux.org.

Author:  marcik [ Fri Jul 15, 2005 9:42 am ]
Post subject:  Re: Ubuntu

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 :-)

Author:  cdfr [ Fri Jul 15, 2005 2:58 pm ]
Post subject:  Re: Ubuntu

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 :)

Author:  marcik [ Fri Jul 15, 2005 7:50 pm ]
Post subject:  Re: Ubuntu

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

Author:  cdfr [ Sat Jul 16, 2005 2:22 am ]
Post subject:  Re: Ubuntu

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..

Author:  Guest [ Sat Jul 16, 2005 4:31 am ]
Post subject:  Re: Ubuntu

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.

Author:  cdfr [ Sat Jul 16, 2005 6:36 am ]
Post subject:  Re: Ubuntu

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).

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/