From owner-freebsd-questions@FreeBSD.ORG Sun Mar 12 09:20:01 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 E081416A45A for ; Sun, 12 Mar 2006 09:20:01 +0000 (GMT) (envelope-from duncan.fbsd@gmail.com) Received: from smtp110.sbc.mail.re2.yahoo.com (smtp110.sbc.mail.re2.yahoo.com [68.142.229.95]) by mx1.FreeBSD.org (Postfix) with SMTP id A4D32440B9 for ; Sun, 12 Mar 2006 04:36:28 +0000 (GMT) (envelope-from duncan.fbsd@gmail.com) Received: (qmail 69135 invoked from network); 12 Mar 2006 04:36:28 -0000 Received: from unknown (HELO ?192.168.1.197?) (donaldj@ameritech.net@68.76.158.23 with plain) by smtp110.sbc.mail.re2.yahoo.com with SMTP; 12 Mar 2006 04:36:27 -0000 From: "Donald J. O'Neill" To: Peter Date: Sat, 11 Mar 2006 22:36:16 -0600 User-Agent: KMail/1.9.1 References: <20060312030824.6098.qmail@web60013.mail.yahoo.com> In-Reply-To: <20060312030824.6098.qmail@web60013.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603112236.16471.duncan.fbsd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0) 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: Sun, 12 Mar 2006 09:20:02 -0000 On Saturday 11 March 2006 21:08, you wrote: > Hi Donald. It's me again. I sent this to the list and saw I didn't > include you. > I haven't seen the one on the list yet, this one got here first. > ............. > > Ok, I have narrowed down my problem a great deal. It appears that > FreeBSD cannot read the partition table of my 300 GB Seagate > Barracuda. My dos diagnostic utility works because it accesses the > disk in a different way. > > I used the entire disk (one slice/partition) and attempted to format > it. This is what I get after it reaches the end of the disk: > > "cg 0: bad magic number" > > It also slows down significantly about 3/4 through the procedure. > Are you doing this through sysinstall or are you manually running fdisk and bsdlabel. Well, maybe with a disk that big , it was getting tired and wanted to rest up before giving you the bad news. > Now the funny part. I create two partitions and the newfs output is > exactly the same as before when I try to format the first partition! > It tries to format as if there is only one partition and produces the > same error. > > If I remove the slice via sysinstall and then try fdisk I get this: > > # fdisk -vBI ad3 > ******* Working on device /dev/ad3 ******* > parameters extracted from in-core disklabel are: > cylinders=581421 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=581421 heads=16 sectors/track=63 (1008 blks/cyl) > > Information from DOS bootblock is: > 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 586072305 (286168 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 812/ head 15/ sector 63 > 2: > 3: > 4: > fdisk: Geom not found > > Anyone? > > -- > Peter > > __________________________________________________ Peter, Is this a brand new disk? Has it ever been used before? Is it still under warrantee? If it is, take it back and get it replaced. Hey, I just saw it. You made Google search. It looks to me like things just went through the motions and not the actuality of installing ufs on the drive. That's happened to me a couple of times and from what I remember, I had to start the install over from the beginning - and I seem to recall something about having to install windows first and reformatting all the hard-drives with NTFS, then I could go back in and install FreeBSD. Otherwise, I couldn't get FreeBSD to install, it just went through the motions, wiping out whatever was on the hard-drives but not putting in FreeBSD. Without a CDROM, it's going to be a little bit rough to do. Don