Subject: RE: NetBSD Hang after disklabel, xsm crash
To: None <port-i386@NetBSD.ORG>
From: Harald Bjoroy <harald@bitcon.no>
List: port-i386
Date: 07/28/1998 10:02:24
> > I have booted MSDOS and done a "fdisk" on the disk, including
> > formatting, this has gone well, but it doesn't help; NetBSD will not
> > boot with this disk enabled.
> > 
> > I have tried to use the NetBSD install disk to write a new 
> disklabel to
> > the disk, but when I try disklabel on wd1 it hangs 
> immediately, there is
> > no problems when I do a "disklabel -r wd0".
> 
> Make sure that you do not have wd1 entry in you 
> /etc/fstab while wd1 is hammered, that might cause a problem.

I haven't gotten to the fstab yet with this disk, since I haven't gotten
a valid filesystem on it yet.

> 
> Did you go into the BIOS and turn off boot sector virus 
> protection before
> doing FDISK /MBR  ?  (It will fail without warning you.)
> 

There is no BIOS boot-sector virus active, also remember this is wd1,
not wd0 (which I have installed NetBSD generic on w/o problems).

I don't know any way to do a fdisk /mbr to the second IDE disk, fdisk
/mbr will work on the first disk as far as I know.

I may try to jump the disk as a master and connect only this disk to the
system to do a fdisk /mbr if you feel that will remove whatever make
NetBSD freeze.

Thanks for suggestions!

Harald.