[Cbe-oss-dev] PS3 NFS root filesystem HOWTO

Geoff Levand geoffrey.levand at am.sony.com
Thu Jan 11 08:50:19 EST 2007


Geert Uytterhoeven wrote:
> On Tue, 9 Jan 2007, Geoff Levand wrote:
>> I put a first draft of my 'PS3 NFS root filesystem HOWTO' here:
>> 
>>   http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-nfs-root-howto.txt
>> 
>> This note describes how to setup your PS3 to load the second stage kernel from a
>> TFTP server and how to setup an NFS mounted root filesystem.
> 
> Looks OK.
> 
>> I would appreciate comments and corrections based on user experiences, as well as
>> additional tips anyone would like to contribute.
> 
> You can also test TFTP using the `tftp' command.
> 
> You may want to emphasize the importance of the `-s' option for tftpd. On my
> Debian server (which already was being used for TFTP), it wasn't enabled by
> default.


I added something here, let me know if it meets with what you expect.


> BTW, when I copied my FC5 install from hard disk to my NFS server, I didn't
> manage to boot from it: it always hung when starting udev.  This problem is not
> present in the (older) FC5 NFS root I copied from you. That one worked fine.


I did some fixups to that (my) fs to support NFS use.  It could be you need
to fix the PS3's remote fstab file:

+++ /target/ps3/etc/fstab
@@ -1,4 +1,4 @@
-LABEL=/                 /                       ext3    defaults        1 1
+/dev/nfs                /                       rootfs  defaults        0 0

and/or remove the eth0 config file, since the startup scripts in some distros (FC)
will try to re-initialize the interface, which then disconnects the root fs.

For FC5, this is /target/ps3/etc/sysconfig/network-scripts/ifcfg-eth0

I'll add some notes regarding this to the HOWTO.  If you try these, let me know
if they work.

-Geoff




More information about the cbe-oss-dev mailing list