[Cbe-oss-dev] Custom partition layout troubles with Kboot?

Geoff Levand geoffrey.levand at am.sony.com
Thu Dec 13 05:39:26 EST 2007


On 12/12/2007 09:26 AM, Edward Strong wrote:
> I know this question is probably beneath you guys but I've been trying to
> figure this out for 2 days now and nobody else at the various resources I
> looked at have a clue.


I have some recovery info here that I just uploaded yesterday:
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-boot-recovery-howto.txt

 
> I'm trying to set-up F8 on my PS3 using a custom partitioning layout.  It
> currently looks something like this:
> 
> ps3da1: ext3, 128MB, mount point=/boot
> ps3da2: swap, 512MB
> ps3da3: ext3, remaining space, mount point=/
> 
> However it seems no matter what I try, I get a "mount: could not find
> filesystem at '/dev/root'" error at nash stage after kboot boots the
> kernel.
> 
> I'm assuming that "LABEL=/" is the root filesystem alias passed on from
> kboot to Fedora and is used in both yaboot.conf and fstab. 


Note that initrd is the thing that processes the 'LABEL=' in a command line,
so to use it you need to be booting with an initrd.  As a check you could
try to put 'root=/dev/ps3da3' on the command line via the kboot prompt.


> Upon looking
> in these files (via a Gentoo rescue disc) I found that this alias had been
> changed to "LABEL=/1".  I read elsewhere that this can be caused by a bug
> in the manual partition layout tool and can be fixed by simply removing
> the offending "1", however I still get the same error.


Did you change both the disk label with e2label, and edit your /etc/fstab?
Both need to match what is passed on the command line from kboot. 


> I also noticed that since /boot is now mounted on a separate partition,
> yaboot.conf has now been moved from /etc to /boot/etc/, is this normal?


I guess because ps3da1 is marked as bootable in the partition table.  Use
fdisk to look.  I think you can change it to ps3da3, so /etc/XXXXX.conf.
See my ps3-boot-recovery-howto.txt for more info.

You might get your problem solved faster with help from the #cell IRC
channel at irc.iftc.net.

-Geoff




More information about the cbe-oss-dev mailing list