[Cbe-oss-dev] [announce] Updated PS3 Linux Distro Kit released
Hiroaki Fuse
Hiroaki_Fuse at hq.scei.sony.co.jp
Mon Aug 20 15:35:29 EST 2007
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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070820/623fd7ad/attachment.htm>
More information about the cbe-oss-dev
mailing list