From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 15:29:36 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 7C85B16A401 for ; Wed, 12 Apr 2006 15:29:36 +0000 (UTC) (envelope-from oliver-mailinglist@charter.net) Received: from mxsf28.cluster1.charter.net (mxsf28.cluster1.charter.net [209.225.28.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB0443D4C for ; Wed, 12 Apr 2006 15:29:35 +0000 (GMT) (envelope-from oliver-mailinglist@charter.net) Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net [209.225.28.139]) by mxsf28.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k3CFTYgB014556 for ; Wed, 12 Apr 2006 11:29:34 -0400 Received: from 24-205-236-185.dhcp.snlo.ca.charter.com (HELO linux.linux) ([24.205.236.185]) by mxip09a.cluster1.charter.net with ESMTP; 12 Apr 2006 11:29:35 -0400 X-IronPort-AV: i="4.04,115,1144036800"; d="scan'208"; a="5658501:sNHT30661432" From: Oliver Iberien To: freebsd-questions@freebsd.org Date: Wed, 12 Apr 2006 08:29:35 -0700 User-Agent: KMail/1.9.1 References: <200604102018.57042.oliver-mailinglist@charter.net> <44mzerdot8.fsf@be-well.ilk.org> In-Reply-To: <44mzerdot8.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604120829.35428.oliver-mailinglist@charter.net> 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 15:29:36 -0000 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...