LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-16-2004, 08:15 AM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Freebsd 5.2.1 and hard disk geometry incorrect


Hey guys I just downloaded a copy of freebsd 5.2.1 (sounding interesting) I burnt the image to a cd and booted it. First problem I had was I had to disable acpi (I think its acpi) otherwise my comptuter froze during the boot up.

My real problem is that I start the install and then I get an error that the hard disk geometry has not be correctly detected so I wrote down what freebsd though it should be and looked in my bios and its DEFINITLY not right.

I have had a bit of a search on but only found other people have an the same problem, but no fix.

Does anyone have any idea how I can get around this, without formatting my hdd as I also have Slackware, Suse and windows on this hd!

Adam
 
Old 03-16-2004, 09:22 PM   #2
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Rep: Reputation: 15
It screams that my hardrvie geometry is incorrect as well, and I noticed that its partitioning program is missing several of my partitions, so I just said the hell with it. I'd be happy if I could fix it and get FreeBSD installed, though.
 
Old 03-17-2004, 10:27 AM   #3
leeach
Member
 
Registered: Sep 2003
Location: /dev/null
Distribution: FreeBSD 5.4, OpenBSD 3.7
Posts: 95

Rep: Reputation: 15
Sorry to hear that, I've had the same problem myself. Partition Magic corrects these harddrive issues instantly upon the program's execution. I'm not sure if the demo allows you to do pretty much anything, let alone fix error, so if it doesn't PM me and I'll send you a link for it.
 
Old 03-17-2004, 11:44 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hey leeach what do you mean that partition magic corrects these errors??

I have partition magic but the last time I played with it, it screw up my boot loader (As I currently have Slackware 9.1 and Suse 9 installed as well) I spose its not a big thing to re-install my bootloader...



Thanks
Adam

Last edited by jimdaworm; 03-17-2004 at 11:51 AM.
 
Old 03-17-2004, 06:23 PM   #5
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hey I read somewhere that you could just use the option G (in Fdisk) and change the set Geometry of the disk, so I tried that and entered what it has in my bios 58853/16/255 but when I chose ok, it told me that this wasnīt a correct setting and that it would set it to a more probable setting

Adam
 
Old 03-17-2004, 06:41 PM   #6
leeach
Member
 
Registered: Sep 2003
Location: /dev/null
Distribution: FreeBSD 5.4, OpenBSD 3.7
Posts: 95

Rep: Reputation: 15
I mean that once you start it up, if your HD has any errors on it then Partition Magic will alert you with a pop-up and ask you if you want it fixed. If it is not doing that, then you're going to need to play with the PTedit program that comes with it, I believe thats what its called. Or you may need a whole other program entirely.
 
Old 03-17-2004, 11:52 PM   #7
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
hmmm...odd!

Whats all your hard drive configs(for those haveing problems)?


Im useing 4 scsi 320 disks from segate on a adptec card...in raid 5.

cd booted and recognised my disks no problem...err and my card.

when fdisking i gave the entire disk bsd file system and then labled it with "a" option giveing me the freebsd defaults....cept' i removed /usr and resized and gave myself a seperate /home dir with 60gigs.

Other than that,my first time ever with bsd i got it up and running following the ever so simple install setup menu.

reboot with no disk was a success.

I'm curious as if this problem is with certain disks only??
 
Old 03-18-2004, 09:22 AM   #8
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hey guys my hdd is a Maxtor 6Y120L0 I think I may have figured out what the problem is. I have been trying to enter the PHYSICAL hard drive specs apparently normally the bios only shows the Logical ones but I guess being relitivly new mine shows the Physical.

So look at my hdparm readout:

hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 240121728, start = 0

If I enter this geometry Freebsd lets me use them... I havenīt continued on and acually installed it yet as I wasnīt sure.

What do you guys think?? I should go ahead and use the above geometry for fdisk??

Adam
 
Old 03-19-2004, 02:02 PM   #9
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Oh well held my breath and installed went though all the fdisk stuff and installed everything, didnīt install the bootloader and changed my lilo bootloader from slack.

And guess what it works!

Now to try and set it up and so I can do things like connect to the net!

Adam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 5.3 hard disk boot problem kpachopoulos *BSD 0 12-31-2004 09:23 AM
Hard Disk Geometry Problem NoviceW Linux - Hardware 1 03-02-2004 06:03 AM
Changing The Disk Geometry ToeShot Linux - Hardware 2 09-18-2003 10:48 PM
Linux 2.4 Kernels showing incorrect IDE disk geometry plambrechtsen Linux - Hardware 0 09-14-2003 07:18 PM
Confused about disk geometry rdaves@earthlink.net Linux - General 1 09-20-2001 09:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration