Date: 22 Feb 1997 09:17:47 -0600 From: Dave Marquardt <marquard@zilker.net> To: freebsd-questions@freebsd.org Subject: Re: Surrender To SCSI Message-ID: <85zpwwuaxw.fsf@localhost.zilker.net> In-Reply-To: Keith Leonard's message of Sat, 22 Feb 1997 08:06:10 -0500 (EST) References: <Pine.LNX.3.95.970222075011.25738A-100000@wakko.gil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Keith Leonard <keithl@wakko.gil.net> writes:
> OK - I've surrendered to SCSI (Iomega Zip SCSI insider) - and removed my
> 3010 (floppy) tape backup. According to a search of the mail archives the
> above would work right out of the box (as of Nov 1996) [of course that
> would be with a GENERIC kernel]. I can get on boot-up a recognition of the
> SCSI controller and identification of the drive (correct). But when I try
> to mount the Zip drive (with every known letter combination) I get no
> where. Can someone give the the magic words to open the zip drive. It is
> the only SCSI device on my system (and the zip disk are IBM formated).
>
> 486DX4/100
> 1 - Western Digital 850 HD
> 1 - 3.5 Floppy (Now all alone on a floppy controller)
> 1 - 4x Cdrom (IDE/ATAPI)
> SoundBlaster 16 sound card
>
> my HD is mounted - FreeBSD /dev/wd0a
> DOS /dev/wd0s1
> cdrom /dev/wcd0c
> zip drive /dev/??????
> I'm using 2.1.5R
A few questions:
Does /dev/[r]sd0* exist? Maybe check that.
Try running
fdisk sd0
to see how the disk is partitioned. Here's what a virgin Zip disk has
for its partitioning:
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 32, size 196576 (95 Meg), flag 80
beg: cyl 0/ sector 1/ head 1;
end: cyl 95/ sector 32/ head 63
I can mount the DOS partition with
mount -t msdos /dev/sd0s4 /mnt
If you want to put UFS file system on a Zip disk, you'll have to
change the partition table using `fdisk -u sd0'. I generally dedicate
a full Zip disk to UFS and put it on partition 0, so I can use
/dev/sd0[a-h]:
localhost# fdisk -u sd0
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
Do you want to change our idea of what BIOS thinks ? [n]
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
Do you want to change it? [n] y
Supply a decimal value for "sysid" [0] 165
Supply a decimal value for "start" [0] 32
Supply a decimal value for "size" [0] 196576
Explicitly specifiy beg/end address ? [n]
sysid 165,(FreeBSD/NetBSD/386BSD)
start 32, size 196576 (95 Meg), flag 0
beg: cyl 0/ sector 1/ head 1;
end: cyl 95/ sector 32/ head 63
Are we happy with this entry? [n] y
The data for partition 1 is:
<UNUSED>
Do you want to change it? [n]
The data for partition 2 is:
<UNUSED>
Do you want to change it? [n]
The data for partition 3 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 32, size 196576 (95 Meg), flag 80
beg: cyl 0/ sector 1/ head 1;
end: cyl 95/ sector 32/ head 63
Do you want to change it? [n] y
Supply a decimal value for "sysid" [6] 0
Supply a decimal value for "start" [32] 0
Supply a decimal value for "size" [196576] 0
Explicitly specifiy beg/end address ? [n]
sysid 0,(unused)
start 0, size 0 (0 Meg), flag 80
beg: cyl 0/ sector 0/ head 0;
end: cyl 0/ sector 0/ head 0
Are we happy with this entry? [n] y
Do you want to change the active partition? [n] y
Supply a decimal value for "active partition" [3] 0
Are you happy with this choice [n] y
We haven't changed the partition table yet. This is your last chance.
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
Information from DOS bootblock is:
0: sysid 165,(FreeBSD/NetBSD/386BSD)
start 32, size 196576 (95 Meg), flag 80
beg: cyl 0/ sector 1/ head 1;
end: cyl 95/ sector 32/ head 63
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Should we write new partition table? [n] y
localhost# fdisk sd0
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 32, size 196576 (95 Meg), flag 80
beg: cyl 0/ sector 1/ head 1;
end: cyl 95/ sector 32/ head 63
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
localhost#
Next, you'll want to write a disklabel. I haven't done that in a
while and lost my canned disklabel in my 2.1.5->2.1.6 upgrade, but you
can probably find one in the FreeBSD mailing list archives.
-Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85zpwwuaxw.fsf>
