Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PegasosII can't boot

On Mon, 26 Sep 2011 21:34:23 +0900 (JST)
KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost> wrote:

> My PegasosII can't find root on latest -current.
> Maybe after this commit.
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/ofppc/ofppc/disksubr.c.diff?r1=1.22&r2=1.23&only_with_tag=MAIN&f=h

I don't hope so.
I spend some time to test my changes with an RDB and an MBR installation.

> My partition of HDD created 4 partitions on RDB with MorphOS.
>   | FFS(AmigaDOS?) | SFS        | Custom     | DOS        |
>   | 0x444f5301     | 0x53465300 | 0x4e444f53 | 0x4d534400 |
>                                  ^^^^^^^^^^^^
>     MorphOS                       NetBSD

0x4e444f53 = "NDOS". This is not a valid NetBSD partition.
Did that really work before my last changes? It shouldn't. :)

> MorphOS can't create these partitions.
> -- disklabel_rdb.h --
> #define DOST_NBR        0x4e425200      /* 'NBRx' NetBSD root partition */
> #define DOST_NBS        0x4e425300      /* 'NBS0' NetBSD swap partition */ 
> #define DOST_NBU        0x4e425500      /* 'NBUx' NetBSD user partition */

Why can't it create these partition? I could create them.

For a valid NetBSD root partition you should use 0x4e425207, IIRC.
You can also refer to the port-amiga documentation for partition
preparations, as the required steps are exactly the same.

Ususally you will select "Custom file system" and then enter the ID
0x4e425307. I'm currently at the office, but I can give you more detailed
instructions when I am back home, if you like. Do you run MorphOS 1.x or 2.x?

Frank Wille

Home | Main Index | Thread Index | Old Index