From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 13:40:30 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 8C3C716A404 for ; Thu, 13 Apr 2006 13:40:30 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E03243D48 for ; Thu, 13 Apr 2006 13:40:30 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 21754 invoked from network); 13 Apr 2006 13:40:29 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Apr 2006 13:40:29 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A0C3A28423; Thu, 13 Apr 2006 09:40:28 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Oliver Iberien References: <200604102018.57042.oliver-mailinglist@charter.net> <44mzerdot8.fsf@be-well.ilk.org> <200604120829.35428.oliver-mailinglist@charter.net> From: Lowell Gilbert Date: 13 Apr 2006 09:40:28 -0400 In-Reply-To: <200604120829.35428.oliver-mailinglist@charter.net> Message-ID: <448xq9y4oj.fsf@be-well.ilk.org> Lines: 41 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: Thu, 13 Apr 2006 13:40:30 -0000 Oliver Iberien writes: > On Wednesday 12 April 2006 04:18, Lowell Gilbert wrote: > > 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... > > I used the disklabel tool in sysinstall. But it did not seem to do anything... Try doing the disklabel from the command line, so you can show an exact transcript.