Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 1996 08:54:17 +1000 (EST)
From:      Clary Harridge <clary@s4.elec.uq.edu.au>
To:        freebsd-questions@freebsd.org
Subject:   disklabel -B => Device not configured on FreeBSD 2.1-STABLE
Message-ID:  <199602142254.IAA20749@s4.elec.uq.edu.au>

next in thread | raw e-mail | index | archive | help
Hi
having installed FreeBSD 2.1-STABLE across 2 scsi disks and dedicating
the whole of the disks to FreeBSD my fstab looked like

/dev/sd0s1b                     none            swap    sw 0 0
/dev/sd0a                       /               ufs     rw 1 1
/dev/sd1s1g                     /export         ufs     rw 1 1
/dev/sd0s1f                     /export/swap            ufs     rw 1 1
/dev/sd1s1a                     /sd1a           ufs     rw 1 1
/dev/sd0s1e                     /u5             ufs     rw 1 1
/dev/sd1s1e                     /usr            ufs     rw 1 1
/dev/sd1s1h                     /usr/local              ufs     rw 1 1
/dev/sd1s1f                     /var            ufs     rw 1 1

I had no problem booting this system via the boot floppy but found that
I had to do a 
	disklabel -B sd0
to boot from disk sd0a.

After the disklabel I found that some partitions caused 
	Device not configured

I had to change some of the fstab entries

/dev/sd0b                       none            swap    sw 0 0
/dev/sd0f                       /export/swap    ufs     rw 1 1
/dev/sd0e                       /u5             ufs     rw 1 1

This fixes the "Device not configured" errors for these partitions.

sd0 label
---------
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    65536        0    4.2BSD        0     0     0   # (Cyl.    0 - 31)
  b:   131072    65536      swap                        # (Cyl.   32 - 95)
  c:  1309896        0    unused        0     0         # (Cyl.    0 - 639*)
  e:   292864   196608    4.2BSD        0     0     0   # (Cyl.   96 - 238)
  f:   820424   489472    4.2BSD        0     0     0   # (Cyl.  239 - 639*)

What has the disklabel command done that would cause the "Device not configured"
messages?

-- 
regards			Dept. of Electrical Engineering,
Clary Harridge		University of Queensland, QLD, Australia, 4072
			Phone: +61-7-3365-3636	Fax:   +61-7-3365-4999
			INTERNET: clary@elec.uq.edu.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602142254.IAA20749>