Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 00:56:44 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        chip <chip@wiegand.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I'm at a loss for a way to mount this second harddrive
Message-ID:  <20000412005644.F4381@fw.wintelcom.net>
In-Reply-To: <00041121362901.01762@chip.wiegand.org>; from chip@wiegand.org on Tue, Apr 11, 2000 at 09:09:31PM -0700
References:  <20000411211711.C4381@fw.wintelcom.net> <00041121362901.01762@chip.wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* chip <chip@wiegand.org> [000411 22:01] wrote:
> Okay, here are my results:
> chip# fdisk wd3
> ******* Working on device /dev/rwd3 *******
> parameters extracted from in-core disklabel are:
> cylinders=341 heads=192 sectors/track=63 (12096 blks/cyl)
> 
> parameters to be used for BIOS calculations are:
> cylinders=341 heads=192 sectors/track=63 (12096 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 165,(FreeBSD/NetBSD/386BSD)
>     start 63, size 4124673 (2014 Meg), flag 80 (active)
>         beg: cyl 0/ sector 1/ head 1;
>         end: cyl 340/ sector 63/ head 191
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> chip#
> chip# disklabel wd3s1
> # /dev/rwd3s1:
> type: ESDI
> disk: wd1s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 192
> sectors/cylinder: 12096
> cylinders: 340
> sectors/unit: 4124673
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # milliseconds
> track-to-track seek: 0  # milliseconds
> drivedata: 0
> 
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   a:   204800        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 16*)
>   b:   262144   204800      swap                        # (Cyl.   16*- 38*)
>   c:  4124673        0    unused        0     0         # (Cyl.    0 - 340*)
>   e:  3657729   466944    4.2BSD     1024  8192    16   # (Cyl.   38*- 340*)
> chip#
> And my fstab -
> # Device		Mountpoint	FStype	Options		Dump	Pass#
> /dev/wd1s1b		none		swap	sw		0	0
> /dev/wd1s1a		/		ufs	rw		1	1
> /dev/wd1s1e		/usr		ufs	rw		2	2
> /dev/acd0c		/cdrom		cd9660	ro,noauto	0	0
> /dev/fd0		/usr/floppy	msdos	rw,noauto	0	0
> /dev/wd0s1		/usr/windows	msdos	rw		0	0
> 
> proc			/proc		procfs	rw		0	0                     
> 
> I may be wrong here but it looks like something is wrong in the
> second section - disklabel wd3s1. It shows disk wd1s1 which is
> already mounted as my working fbsd drive, as shown in the fstab file
> above.
> Then you last instruction is to mount the drive with the partition
> number and letter, in my case
> wd3s1a
> but that doesn't exist if the /dev directory. wd3s1 and wd3a both
> exist though. There are no wd_x_s_x_?_ types listed.  And I get
> failure messages trying any of the above.
> 
>  Maybe my system is missing something?

You almost made it. :)

Yes, you're missing /dev/ entries for your disks, just do this:

cd /dev
sh MAKEDEV wd3s1a

and they will be created, then you can mount them.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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