*BSD News Article 71260


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!uwm.edu!fnnews.fnal.gov!unixhub!news.Stanford.EDU!raptor2.Stanford.EDU!sparkles
From: Robert James Williamson <sparkles@leland.Stanford.EDU>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Mounting Hard Drive?
Date: Mon, 17 Jun 1996 17:48:39 -0700
Organization: Stanford University
Lines: 67
Sender: sparkles@raptor2.Stanford.EDU
Message-ID: <Pine.SGI.3.93.960617173547.14676A-100000@raptor2.Stanford.EDU>
NNTP-Posting-Host: raptor2.stanford.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


	In theory, this should be pretty simple. In theory. My situation
is that I have my hard drive which I've been using so far, and I also have
a new hard drive, which I have just added. I want to be able to use that
additional hard drive. Ok, here is what I've tried:

	I use /stand/sysinstall to prepare the hard drive, first selecting
the custom menu, then the partition item. I select only sd1, and I ask it
to use the entire disk. Yes, I want to make it a true partition entry.
Then I write changes, and yes, I know EXACTLY what I'm doing. I tell it to
use BootMgr, and it says that it wrote the FDISK partition information out
successfully. So now I have:

	Size	Desc
	32	unused
	2058208	freebsd
	900	unused

	Now I select the label menu item. Here is where I start to get
confused. It comes up as:

	Disk sd0	partition name: sd0s1	Free 0 blocks (0MB)
	Disk sd1	partition name: sd1s1	Free 2058208 blocks (1004MB)

	Part	Mount	Size	Newfs
	sd0s1a	<none>	32MB	*
	sd0s1b	<none>	139MB	SWAP
	sd0s1e	<none>	30MB	*
	sd0s1f	<none>	829MB	*

	Interesting that all my regular partitions don't have mount points
anymore. I can only surmize that the partition or sysinstall program has
unmounted all my partitions. So I hit C (Create) on sd1 and press return
when the block numbers requester comes up (because it just uses all the
block by default, which is what I want). I want it to use a File System,
and I make the mount point /binky. I write, and yes, I know EXACTLY what
I'm doing. It replies: No root device found - you must label a partition
as / in the label editor.

	So I go back and mount the '/' partition. I happen to know which
partition is the / partition, because before I ran /stand/sysinstall, I
did df and found

	Mounted on	Size	Filesystem
	/		32MB	/dev/sd0a
	/usr		139MB	/dev/sd0s1f
	/var		30MB	/dev/sd0s1e

	So I set the 32MB partition to be the / partition as it should be.
Now I try to create again, and it says 'warning, no /usr partition',
followed by 'warning, Root device selected is read only. It will be
assumed that you have the appropriate device entries already in /dev'.
Then it reports that it is checking the integrity, followed by 'Error
mounting /dev/sd0a on /mnt: Device is busy'. Then: 'Unable to mount the
root file system on /dev/sd0a! Giving up.'.

	Maybe some of you know what my problem is, and how I can correct
it? Any help warmly received!

	Rob	

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert James Williamson                          #include <ASCI_Pic.h>
sparkles@leland.stanford.edu                     #include <Witty_Phrase.h>
HTTP://www-leland.stanford.edu/~sparkles/        #include <Soft_Sell.h>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~