Subject: Re: miniroot for netbsd/landisk [was: Re: install /landisk doc]
To: Joel CARNAT <joel@carnat.net>
From: Hubert Feyrer <hubert@feyrer.de>
List: port-sh3
Date: 04/24/2007 08:04:38
On Mon, 23 Apr 2007, Hubert Feyrer wrote:
>> landisk-miniroot2;txt goes:
> ...
>> NetBSD/landisk ffsv1 Primary Bootstrap
>> 
>> Error: Can't open /boot.
>
> Heh, that doesn't sound too bad. I'll see what I can do tonight.

No progress, but I've uploaded my sources:
http://www.feyrer.de/Misc/landisk-miniroot2.tgz
It creates src/distrib/landisk. Run 'make' (nbmake-landisk...) in there,
possibly after baking a INSTALL kernel.

When that's done, run 'make' in src/distrib/miniroot, there should be a 
'src/distrib/miniroot/obj*/miniroot.fs'.

One thing I don't understand is the last message of the process in 
distrib/miniroot, though:

 	...
 	Populating `miniroot.fs.tmp'
 	Image `miniroot.fs.tmp' complete
 	File system:         miniroot.fs
 	File system type:    ffs (blocksize 4096, needswap 0)
 	Primary bootstrap:   /disk5/cvs/src-current/obj.landisk/destdir/usr/mdec/bootxx_ffsv1
 	Secondary bootstrap: /boot
===>	Ignoring MBR with invalid magic in sector 0 of `miniroot.fs'

Maybe someone finds the problem there?

Looking at the miniroot.fs with "fdisk -F" it has an empty (MBR) partition 
table. No idea how to set this up properly... :-/


  - Hubert