[126] in netbsd-help mailing list archive
Re: accessing DOS drive / uh oh...
daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Mar 28 02:51:20 1995
To: ericding@MIT.EDU
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Tue, 28 Mar 1995 01:58:23 EST."
<9503280658.AA08098@unca-donald.MIT.EDU>
Date: Tue, 28 Mar 1995 02:51:06 EST
From: Greg Hudson <ghudson@MIT.EDU>
> leaving out the -B flag... and now am in trouble, it seems.
It looks like you managed to label the disk your NetBSD partition is
on (not the DOS disk), and therefore NetBSD is going to be unhappy
about reading anything off of that disk (because it has a label with
incorrect geometry).
To recover, you need to re-label your NetBSD disk correctly. Probably
the easiest thing to do is boot off of the install disk, go through
the installation process like you normally would, and then when it
says "THIS IS YOUR LAST CHANCE", answer "no". (If you continue at
that point, it will newfs your filesystem, and you don't want that.)
The install process will have created an /etc/disktab file with an
entry with the correct geometry. Then do:
disklabel -w -B /dev/wd0 myide
^^^ ^^^^^
Make sure to get those last two parameters correct (I didn't
necessarily get them correct). "wd0" should be the same as you
entered at the "Which disk would you like to install on?" prompt, and
"myide" should be the same as you entered at the "What kind of disk is
it?" prompt.