Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 20:42:41 -0700
From:      chip <chip@wiegand.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I'm at a loss for a way to mount this second harddrive
Message-ID:  <00041120435000.01762@chip.wiegand.org>
References:  <20000411205406.B4381@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Apr 2000, Alfred Perlstein wrote:
> * chip <chip@wiegand.org> [000411 20:35] wrote:
> > I have tried literally dozens of ways to mount my second harddrive
> > and cannot get it mounted. It is a fbsd drive with data that I have
> > to have and was able to access in the past.  I have a mnt
> > directory with rwx permissions for everyone (I'm the only user on
> > this machine).  Below is the relevant information - 
> > 
> > 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
> > 
> > Message file ~
> > Apr 10 22:24:05 chip /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
> > Apr 10 22:24:05 chip /kernel: wdc0: unit 0 (wd0): <FUJITSU M1636TAU>
> > Apr 10 22:24:05 chip /kernel: wd0: 1225MB (2509920 sectors), 2490 cyls, 16 heads, 63 S/T, 512 B/S
> > Apr 10 22:24:05 chip /kernel: wdc0: unit 1 (wd1): <FUJITSU M1636TAU>
> > Apr 10 22:24:05 chip /kernel: wd1: 1225MB (2509920 sectors), 2490 cyls, 16 heads, 63 S/T, 512 B/S
> > Apr 10 22:24:05 chip /kernel: wdc1 at 0x170-0x177 irq 15 on isa
> > Apr 10 22:24:05 chip /kernel: wdc1: unit 1 (wd3): <ST32122A>
> > Apr 10 22:24:05 chip /kernel: wd3: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
> > Apr 10 22:24:05 chip /kernel: wdc1: unit 0 (atapi): <CD-ROM CDU55E/1.0u>, removable, accel, dma, iordy
> > Apr 10 22:24:05 chip /kernel: acd0: drive speed 344KB/sec, 256KB cache
> > 
> > The two drives Fujitsu are on the primary controller and the drive
> > ST32122a is the secondary master with the cd drive the slave.
> 
> ok, here's what you do:
> 
> fdisk wd3
> <prints out partition info>
> 
> pick the one partition that's "sysid 165,(FreeBSD/NetBSD/386BSD)"
> 
> then do this:
> 
> disklabel wd3sX
> 
> where 'X' is the number you got above.. then take the letter of the
> partition... a,e,f or g and just do this:
> 
> mount /dev/wd3sXx
> 
> where 'x' is the letter of the partition.
> 
> Let's walk through the process on my machine:
> 
> these are my probe messages:
> 
> ad0: 2442MB <Maxtor 82560A4> [4962/16/63] at ata0-master using WDMA2
> 
> ok, now for fdisk:
> 
> /home/bright # fdisk ad0      
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=4962 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=4962 heads=16 sectors/track=63 (1008 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 5001633 (2442 Meg), flag 80 (active)
>         beg: cyl 0/ sector 1/ head 1;
>         end: cyl 1023/ sector 63/ head 15
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> 
> ok, so that's 1
> 
> ok... now...
> 
> /home/bright # disklabel ad0s1
> # /dev/rad0s1c:
> type: ESDI
> disk: wd0s1
> label: 
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 4961
> sectors/unit: 5001633
> 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:   245760        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 243*)
>   c:  5001633        0    unused        0     0         # (Cyl.    0 - 4961*)
>   e:   614400   245760    4.2BSD     1024  8192    16   # (Cyl.  243*- 853*)
>   f:  4141473   860160    4.2BSD     1024  8192    16   # (Cyl.  853*- 4961*)
> 
> hmmm, i've got several subpartitions...
> 
> mount /dev/ad0s1a /mnt
> 
> should work...
> 
> best of luck,
> -- 
> -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
Okay, just to make sure I won't loose my existing data, I can do what
you instructed above without any data lose, correct?

--
Chip 
www.wiegand.org
*****
Visit my web site -
Alternative Operating Systems - MS Windows isn't the only OS in town.


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?00041120435000.01762>