From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 11:19:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67A6F16A405 for ; Wed, 12 Apr 2006 11:19:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB3443D46 for ; Wed, 12 Apr 2006 11:19:01 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 31832 invoked from network); 12 Apr 2006 11:19:01 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Apr 2006 11:19:00 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 77B7028425; Wed, 12 Apr 2006 07:18:59 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Oliver Iberien References: <200604102018.57042.oliver-mailinglist@charter.net> From: Lowell Gilbert Date: 12 Apr 2006 07:18:59 -0400 In-Reply-To: <200604102018.57042.oliver-mailinglist@charter.net> Message-ID: <44mzerdot8.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: sysinstall won't write fs to new disk, bad magic number X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 11:19:02 -0000 Oliver Iberien writes: > There was a thread about this a while ago, but it did not seem to end in a > solution... In any case, I have a 160GB Seagate drive that I was trying to > mount a partition on as /disk2. I went through the instructions in the > Handbook under "Formatting Media for Use With FreeBSD." No formatting seemed > to be happening, though. When I added it to fstab, something in KDE found it > and then failed to open it. mount shows that it has not been mounted, and if > I try to mount it: > > bsd# mount -u /dev/ad1s2c /disk2 > mount: /dev/ad1s2c on /disk2: specified device does not match mounted device > bsd# mount /dev/ad1s2c /disk2 > mount: /dev/ad1s2c: Input/output error > > I looked at the previous thread and then tried: > > bsd# newfs /dev/ad1s2c > /dev/ad1s2c: 52627.0MB (107780084 sectors) block size 16384, fragment size > 2048 > using 287 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, > ... > 107260480, 107636832 > cg 0: bad magic number > > I had two partitions on it, one to be used for linux later on. I tried > swapping them out, but no difference. > > This drive worked under linux. Any ideas? Sounds like you didn't write a disklabel on it. That's covered in the tutorial you mentioned...