Subject: netwinder & mbr & bsdffs partition
To: None <>
From: matthew green <>
List: port-arm
Date: 01/15/2003 18:26:37
hi folks.

i'm trying to install netbsd on a disk in a netwinder.  i have a disk
with 4 mbr partitions defined - linux, linux swap & netbsd, linux.
the last is a 10MB ext2fs partition used for booting (netwinder
"firmware" can read ext2fs).  the first is unused (and overlaps
other partitions).  when the machine boots, we get this from

	8 partitions:
	#        size    offset     fstype  [fsize bsize cpg/sgs]
	 c:   8452080         0     unused      0     0         # (Cyl.    0 - 8943)
	 e:   4147542        63 Linux Ext2      0     0         # (Cyl.    0*- 4388)
	 f:    307200   8122200     unused      0     0         # (Cyl. 8594*- 8919)
	 g:   8122137        63     unused      0     0         # (Cyl.    0*- 8594*)
	 h:     22680   8429400 Linux Ext2      0     0         # (Cyl. 8920 - 8943)

i don't seem to be able to edit this disklabel any.  in particular,
i seem to be unable to create a BSDFFS partition i can use to install
netbsd on...

for now, i think i'm going to go for a patch to arm/arm/disksubr.c
to (a) convert linux swap partitions into (bsd) swap and (b) convert
"netbsd" partitions into "4.2BSD" partitions, but this is a hack (well
the swap thing might be a good thing to do but i don't really want
to think about that too much...) and certainly not something i'd want
to commit...

comments or suggestions?