You are not logged in.

#1 2008-02-20 17:05:41

Erroneous
Member
Registered: 2006-08-28
Posts: 35

Generating initrd on PS3, any ideas?

I have compiled a working kernel for the PS3, but am having trouble using mkinitcpio and getting a working initrd image. Because of restraints of the version of GCC I am using, I had to compile the kernel without loadable module support. I then edited /etc/mkinitcpio.conf and removed 'autodetect' from HOOKS. Finally, I ran

mkinitcpio -k 2.6.25-ps3 -g /boot/kernel26-ps3.img

When I boot to the kernel it freezes at "kinit: mounting root filesystem (ext3)". I left this for 12+ hours and didn't go past it. I can try booting without the initrd image, but it seems like this is not the recommended way to go. All I have to do for that is create the console, null, and zero devices on /dev and then boot without the initrd. Any ideas how to fix this?

Offline

#2 2008-02-20 18:03:06

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Generating initrd on PS3, any ideas?

I think if you have all necessary modules compiled into the kernel, you shouldn't need an initrd at all. After all, the point of an initrd is to load all modules necessary to access the root partition, isn't it?

Offline

#3 2008-02-21 05:04:57

Erroneous
Member
Registered: 2006-08-28
Posts: 35

Re: Generating initrd on PS3, any ideas?

Thanks. Another thing that the initrd does (I believe, though I'm very new at doing much of this kind of thing) is create (or rather load into memory) devices necessary to boot initially. Either way, by porting the makedev package over to ppc, chrooting into the install, and running groupadd uucp; MAKEDEV console zero null, I can then boot without the initrd but rather just specifying "init=/sbin/init 4".

Offline

#4 2008-06-08 15:44:05

Skatox
Member
From: Venezuela
Registered: 2006-08-25
Posts: 64
Website

Re: Generating initrd on PS3, any ideas?

Did you managed to install arch on the ps3?


https://www.skatox.com/blog -> Visit my blog about (Linux, Hacking, Open Source, Web Development,  Windows, Mac Os X, Internet and more......)

Offline

Board footer

Powered by FluxBB