Subject: Re: can't boot boot.fs NetBSD-4.0
To: None <kiyohara@kk.iij4u.or.jp>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-news68k
Date: 12/21/2007 21:50:58
kiyohara@kk.iij4u.or.jp wrote:

> > >   Booting fh(0,0,0)
> > >   887128read text
> > 
> > Looks disk read error.
> > Try another fd or clean up your drive.
> 
> I could to boot with NetBSD-3.1.1 boot.fs.  Also 3.1 and 2.1 is OK.
> But 4.0 and HEAD can't boot.

Hmm, okay, it also happens on my NWS-1460.

It looks newer secondary boot can't load gzipped kernel
even from ffs on sd0 (gcc4 problem?). I'll take a look later.

For workaround, you can replace boot in 4.0 boot.fs with 3.1.1's one:

% dd if=4.0/boot.fs bs=512 skip=16 | tar xf - netbsd
% dd if=3.1.1/boot.fs bs=512 skip=16 | tar xf - boot
% cp 4.0/boot.fs boot-fixed.fs
% tar cf - boot netbsd | dd of=boot-fixed.fs seek=16 bs=512

---
Izumi Tsutsui