From owner-freebsd-questions Mon Jun 30 01:20:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA12143 for questions-outgoing; Mon, 30 Jun 1997 01:20:48 -0700 (PDT) Received: from kelly.prima.ruhr.de (root@kelly.prima.ruhr.de [141.39.232.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA12138 for ; Mon, 30 Jun 1997 01:20:43 -0700 (PDT) Received: from chokepnt.prima.ruhr.de (DialPPP-1-101.rz.ruhr-uni-bochum.de [134.147.1.101]) by kelly.prima.ruhr.de (8.6.11/8.6.9) with SMTP id KAA11675 for ; Mon, 30 Jun 1997 10:20:38 +0200 Message-ID: <33B76B4E.41C67EA6@prima.ruhr.de> Date: Mon, 30 Jun 1997 10:16:14 +0200 From: Philipp Reichmuth X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2-STABLE i386) MIME-Version: 1.0 To: FreeBSD Questions Subject: EZ230 removable drive Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi everyone! I've got an EZflyer removable SCSI drive, and I seem to be unable to initialize it for use with FreeBSD. /stand/sysinstall (from 2.1.7 since I ctm'ed to 2.2-stable) says "No disks found, check if your controller is configured aat boot time". I happen to know that it is because otherwise I wouldn't be able to boot my fs'es on sd0, and in fact it says: ======> begin dmesg output <============= Probing for devices on PCI bus 0: ahc0 rev 0 int a irq 10 on pci0:8 ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "QUANTUM FIREBALL_TM3200S 300X" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 3067MB (6281856 512 byte sectors) (ahc0:1:0): "TOSHIBA CD-ROM XM-5701TA 3136" type 5 removable SCSI 2 cd0(ahc0:1:0): CD-ROM cd present [257675 x 2048 byte records] (ahc0:5:0): "SyQuest EZ230S 6722" type 0 removable SCSI 2 sd1(ahc0:5:0): Direct-Access 220MB (450560 512 byte sectors) ======> end dmesg output <============= There it is - /dev/sd1. Abandoning the thought of /stand/sysinstall I chose to use disklabel instead. I overwrote the first 512 sectors using dd, then did a "disklabel -Brw sd1 auto" (at which it complained about an "invalid primary partition table"; on a second try it remained quiet) and then did a "disklabel -e sd1". It reported the following: ======> begin disklabel output <=========== # /dev/rsd1c: type: unknown disk: label: flags: bytes/sector: 512 sectors/track: 107 tracks/cylinder: 1 sectors/cylinder: 107 cylinders: 4210 sectors/unit: 450560 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize bps/cpg] c: 450560 0 unused 0 0 # (Cyl. 0 - 4210*) ======> end disklabel output <============= I tried to add an entry at the end for a FreeBSD slice "e", spanning the whole of "c" and looking like the following: =========================================== 3 partitions: # size offset fstype [fsize bsize bps/cpg] c: 450560 0 unused 0 0 # (Cyl. 0 - 4210*) e: 450560 0 4.2BSD 1024 8192 # (Cyl. 0 - 4210*) =========================================== Now disklabel complains about a "bad partition name in line 23" which happens to be the line with the new "e" partition. Three Questions: (1) What's Wrong with /stand/sysinstall? (2) What am I doing wrong with disklabel? (i.e. Do I have reason to feel silly?) (3) If /stand/sysinstall can't be fixed: is there any other way to quick'n'dirty initialize a disk for FreeBSD? Oh, and BTW: Can I use 4.4LFS filesystems, what is the difference/advantage over 4.2BSD and what consequences do I have to dread? ;) Hoping I specified my problem in enough detail... Philipp