Subject: Re: Re: Re: Re: how to install NetBSD/landisk
To: None <port-sh3@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sh3
Date: 03/23/2007 01:45:19
On Thu, Mar 22, 2007 at 23:02:57 +0100, Joel CARNAT wrote:

> I have build a netbsd-4 release (from my i386 laptop).

BTW, releng now builds landisk netbsd-4.


> Now... the stupid question... how do I install it ?
> Because neither my build nor the releng/HEAD seem to provide INSTALL
> kernel... :-)

Can you tell sh-ipl+g to boot off something else except the internal
hdd?  I can't seem to get to the sh-ipl+g prompt on my usl-5p, it
"autotypes" 'b' and loads netbsd mbr boot off the disk (CF).


> Is it to be done "by hand" - making partitions and untaring things ?

That's what I did for my USL-5P.


> And then... how do I install the boot loader ?

fdisk(8) and installboot(8).  I have to check the man page every time
I need to use installboot, b/c I do it may be once in a few years
only.  IIRC, assuming TOOLDIR in path and disk connected as, say, sd7,
something like

    $ shle--netbsdelf-fdisk -c /path/to/.../usr/mdec/mbr sd7

to write mbr boot code.  Don't forget to mark the netbsd partition
active.  And to install bootloader:

    $ nbinstallboot -m landisk /dev/rsd7c \
	/path/to/.../usr/mdec/bootxx_ffsv1

I honestly don't remember. :)

This link might help: http://www.tokuda.net/diary.gns/200609b.html#1602


SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen