*BSD News Article 17361


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!brunix!cs.brown.edu!mhw
From: mhw@cs.brown.edu (Mark Weaver)
Subject: Re: Using Disklabel
In-Reply-To: jbw@bbin.uucp's message of 20 Jun 93 15:01:36 GMT
Message-ID: <MHW.93Jun21022501@vegas.cs.brown.edu>
Sender: news@cs.brown.edu
Organization: Dept. of Computer Science, Brown University
References: <C8xDqr.33K@bbin.uucp>
Date: Mon, 21 Jun 1993 07:25:01 GMT
Lines: 22

> I am trying to install a second SCSI device on my machine.  It is reconized
> as sd1 on bootup.  I can 'disklabel -w' it and mount and use the paritions
> I set up.  I can not 'disklabel -w -r' it, I just get a message that 
> Bootstrap does not leave room for disk label.  

I had the same problem and there is a simple solution.  I'm not sure why
this works, but it does.

Instead of specifying the entire device path name (ie /dev/rsd0c), only
specify the two letters of the device type and the unit number (ie "sd0").
Disklabel figures out the rest, and it works.

For instance, the following line works for me:

disklabel -w -r sd0 <drivetype>

assuming of course that the boot block files are in /usr/mdec/
--
--------------------------------------------------------------------
Internet/CSnet: mhw@cs.brown.edu        | Mark Weaver
BITNET: mhw@browncs                     | Box 2160, Brown University
UUCP: uunet!brunix!mhw                  | Providence, RI 02912-2160