Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- From: Peter <petermatulis@xxxxxxxx>
- Date: Sun, 12 Mar 2006 00:51:09 -0500 (EST)
--- "Donald J. O'Neill" <duncan.fbsd@xxxxxxxxx> wrote:
Ok, I have narrowed down my problem a great deal. It appears thatformat
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
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.
Through sysinstall. Both disklabel and fdisk don't work. The former
gives "input/output error" and output to the latter I gave in my last
post.
Now the funny part. I create two partitions and the newfs outputis
exactly the same as before when I try to format the firstpartition!
It tries to format as if there is only one partition and producesthe
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: <UNUSED>
3: <UNUSED>
4: <UNUSED>
fdisk: Geom not found
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.
Yeah, I'm leaning that way too.
Hey, I just saw it. You made Google search.
Huh?
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.
I don't understand why you mention Windows. Surely I don't require
Windows to get this drive to work. As for the cdrom, I can always put
it back to do an install. It doesn't cause trouble -just slows down
the boot drive.
--
Peter
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- From: Donald J. O'Neill
- Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- References:
- Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- From: Donald J. O'Neill
- Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- Prev by Date: Re: disklabel messup.
- Next by Date: Re: Re: GNOME & Gdk
- Previous by thread: Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- Next by thread: Re: "cg 0: bad magic number" (used to be Disappointed with version 6.0)
- Index(es):
Relevant Pages
|