Dual Boot on a PS3

John Frankish frankish at dubai.oilfield.slb.com
Wed Nov 19 15:41:49 EST 2008


At 13:19 18-11-08, Przemyslaw Iskra wrote:
>On Tue, Nov 18, 2008 at 09:24:43AM +0400, John Frankish wrote:
> > At 18:11 16-11-08, you wrote:
>
> >> Even if it were possible you're doing it wrong.
> >>
> >> It should be something like:
> >>
> >>         append="video=ps3fb:mode:13 rhgb quiet root=/dev/ps3da2/clfs
> >> init=/clfs/sbin/pre-init"
> >>
> >> -----------------
> > Thanks for the suggestion.
> >
> > I tried several variations on the theme, but no luck.
>
>I'm using something similar on my iBook. I have two different versions
>of linux, one is installed directly on /, and annother is in /TH.
>Following configuration works for me:
>
>[yaboot.conf snippet]
>
>image=/TH/boot/vmlinuz
>         label=th
>         root=/dev/hda5
>         append="5 noisapnp i8042.nopnp init=/TH/boot/init"
>         read-only
>         initrd=/TH/boot/initrd
>
>[/TH/boot/init]
>
>#!/bin/sh
>
>/sbin/fsck /dev/hda5 -C -T -a
>mount -o remount --rw /
>mount -o bind / /TH/mnt/root
>exec /usr/sbin/chroot /TH /sbin/init
>
>
>I have no idea about lfs, but you probably need working
>initrd/initramfs, thing I haven't seen in your config.
---------
Thanks, at last it boots with this:

image=/vmlinux
label=clfs
root=/dev/ps3da2
append="init=/clfs/sbin/pre-init video=ps3fb:mode:13 rhgb quiet"
read-only

where /clfs/sbin/pre-init (probably) serves the same purpose as your 
/TH/boot/init script.

I appreciate the help

John 




More information about the Yaboot-users mailing list