*BSD News Article 8168


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!news.itd.umich.edu!nosegoblin.css.itd.umich.edu!pauls
From: pauls@css.itd.umich.edu (Paul Southworth)
Newsgroups: comp.unix.bsd
Subject: Disklabel
Date: 26 Nov 1992 22:01:29 GMT
Organization: University of Michigan ITD Consulting and Support Services
Lines: 40
Distribution: world
Message-ID: <1f3hfpINN1r0@terminator.rs.itd.umich.edu>
NNTP-Posting-Host: stimpy.css.itd.umich.edu
Originator: news@stimpy.css.itd.umich.edu

OK, some kind person reminded me that I could just do a regular install
and then shrink the root partition with disklabel.  I did that, no problem
but now I want to add an additional partition (and no, I'm not trying to
call it wd0d) but no matter what I do, it always reports "warning:
unused partition <x>" and then when I read disklabel again, all of my
editing of the new partition has been deleted.  I tried just doing it,
and then running newfs, but it always reports "/dev/rwd0<x> device not
configured" which must be pointing to my failure to disklabel it
properly.  All I want to do is make one partition (~60Mb) for the
entire system, and then another one for user files, including ftp.

This is what I am doing:

disklabel -e wd0

then inserting a line in the partition data section (have tried putting
it so that cylinders run contiguously through the new partition, and also
so that partition letters run continuously -- doesn't seem to make a
difference).  I have tried calling the new partition "unused" or
"4.2BSD" -- when I did the latter I just gave it the same filesize
specs (etc) as wd0a.  I sort of assumed that I should just call it 
unused and let newfs decide what to call it when the filesystem is
installed, but anyway, neither of those resulted in different outcomes.

Then I tried

newfs rwd0<x> and got the error mentioned above.

I also found that fdisk utility, which always says that there is nothing
on the partition table (not very useful) but the drive is bootable, so
I know that is not true.



Paul Southworth                    |           ftp ftp.css.itd.umich.edu
(Not speaking for)                 |         Political Archives in /poli
Information Technology Division    |     Writable incoming directory on:
University of Michigan, Ann Arbor  |         redspread.css.itd.umich.edu 

  <Representing myself.  Everything I say is for educational use only.>