[803] in netbsd-help mailing list archive
Re: Partition mistaken identity
daemon@ATHENA.MIT.EDU (Yoav Yerushalmi)
Sat Feb 17 12:09:38 1996
To: Daniel P Kamalic <pocky@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Fri, 16 Feb 1996 23:28:21 EST."
<199602170428.XAA00715@pockyfiend.MIT.EDU>
Date: Sat, 17 Feb 1996 12:05:35 EST
From: Yoav Yerushalmi <yoav@MIT.EDU>
Okay.. it looks like it's having problems finding space to put the
partitions on. This could be a real problem with the Hard Drive,
or NetBSD could be a just a little confused.
The easiest way to get around this is by making the partition yourself,
and telling NetBSD where it goes.
What you should do, is get pfdisk. It is a program which lives in
/mit/netbsd/i386/utils. Run it (under DOS of course), and look for
whatever free cylinders you want to allocate (so if for example your
DOS partition is from cylinder 0 -> 200, and your disk has 400
cylinders, you might want to make the NetBSD partition from 201 -> 399
or so.)
To do so, run pfdisk 0 (or whatever disk you want to edit).
The partition ID you want is 165 (that's the code for NetBSD).
Name is unimportant. (use 'l' to view the current disk, then something like
2 165 201 399
to make partition 2 be ID 165, from cyl 201 to 399.
then use 'w' to write it out.)
Then, try to install NetBSD again. IT should have less problems finding
your partition.
-- yoav
--
-----------------------------------------------------------------
| Yoav Yerushalmi | My opinions are mine.. |
| M.I.T student at large | (I hope.. don't sue) |
| http://www.mit.edu:8001/afs/sipb/user/yoav/html/homepage.html |
-----------------------------------------------------------------