[Cbe-oss-dev] [announce] Updated PS3 Linux Distro Kit released
Wang, Baojun
wangbj at lzu.edu.cn
Mon Aug 20 18:09:17 EST 2007
On Monday 20 August 2007, you wrote:
> Dear Wang
>
> > hi,
> >
> > The boot flag is only set on /dev/sda1, but it's for the /boot partition
> > (100M), and df can not found the the root partition with the latest
> > kboot
> > (20070817), but with the old one (comes from yellowdog), it's OK.
> >
> > here is the `fdisk -l' output:
> >
> > Device Boot Start End Blocks Id System
> > /dev/ps3da1 * 1 96 98288 83 Linux
> > /dev/ps3da4 97 44943 45923328 5 Extended
> > /dev/ps3da5 97 22032 22462448 83 Linux
> > /dev/ps3da6 22033 43968 22462448 82 Linux
> > /dev/ps3da7 43969 44943 998384 82 Linux swap
> >
> > ps3da1 /boot
> > ps3da4 Extended
> > ps3da5 /
> > ps3da6 /backup
> > ps3da7 swap
> >
> > I'm not sure why the new kboot don't try to mount the / partition. I've
> > used
> >
> > e2label /dev/ps3da5 /
>
> Old kboot use the file system label to search a root partiton.
> YellowDog kboot is old kboot based. So you can boot your Linux.
>
> But current kboot does not use the file system label.
> Current kboot configuration file search algorithm is as follows.
>
> - device search priority
> built-in BD drive, USB mass storage, built-in HDD
>
> - check if the media has more than one partitions, if no, try to
> examine boot configuration file on the media.
>
> - Otherwise, it checks if the partition is marked as "active" or
> not in
> ascending order. In the case of "active', try to examine boot
> configuration
> file on the partition.
>
> - check if format of the media(or partition) meet one of following;
> ext2, ext3 (on USB mass), FAT16/32 (on USB mass) or ISO9660 (on
> optical)
> (Caution) kboot mount ext3 file system by using "-t ext2" option
>
> - try to mount the selected media(or partition) and check a boot
> configuration file named either /etc/kboot.conf or /ETC/KBOOT.CNF.
>
> If the boot configuration file exists, kboot read it. If the boot
> configuration file does not exist, kboot umount the selected media
> (or patition) and check the next media(or patition).
>
> New kboot try to mount /dev/ps3da1 to '/' and seach '/etc/kboot.conf'
> file.
> But '/boot/etc/kboot.conf' does not exist, so you can not boot your Linux.
I've create /boot/etc/kboot.conf (ps3da1:/etc/kboot.conf), and use a symlink
let /etc/kboot.conf(ps3da5:/etc/kboot.conf) /boot/etc/kboot.conf (
ln -s /boot/etc/kboot.conf /etc/kboot.conf), Now it works! Great thanks for
your informative and detailed message!
> > I've also cat /etc/kboot.conf while I got the kboot prompt
> >
> > 1) If there is no network:
> >
> > root=LABEL=/
> >
> > 2) If network is avialiable (we have a dhcp server and also provide
> > diskless
> > linux)
> >
> > default=nfsboot
> > timeout=10
> >
> > nfsboot='tftp://192.168.1.1pxelinux.0 root=/dev/nfs ip=on
>
> nfsroot=192.168.1.1: '
>
> This setting is wrong.
> Correct setting is as follows.
>
> nfsboot='tftp://192.168.1.1/pxelinux.0 root=/dev/nfs ip=on
> nfsroot=192.168.1.1:/ '
> - -
> Regards,
> Hiroaki Fuse
Regards,
Wang
--
Wang, Baojun Lanzhou University
Distributed & Embedded System Lab http://dslab.lzu.edu.cn
School of Information Science and Engeneering wangbj at lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000 .P.R.China
Tel:+86-931-8912025 Fax:+86-931-8912022
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070820/22969c9a/attachment.pgp>
More information about the cbe-oss-dev
mailing list