LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-07-2005, 05:10 AM   #1
msjenkins
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
137Gb Hdd Limit


I am trying to work out what the largest possible hard dirve my Centos 3.3 (RHEL 3 Clone) will detect.

I know the motherboard is limited to 137GB, but I remember reading some where that once linux has booted it does not need the bios to read or write to the hard drive. Thus getting around the Motherboard's 137GB barrier.

Can anyone verify this?

Thanks in advance.

Matthew
 
Old 02-07-2005, 11:59 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
I've read the same thing. In my personal experience, I slaved a 160GB drive for extra storage to box with a bios limit of 137GB and linux saw the entire 160GB. The main limitation I've read about is if you intend to boot from the oversized drive. There you should create a partition within the bios size limits containing your /boot. As I understand it, once the kernel loads from /boot, linux kisses the bios and its hard drive size limits goodby.
 
Old 02-07-2005, 02:38 PM   #3
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Back in the '90s when this was much more of an issue (512MB limits, 2GB limits, etc.) I often worked around it using LILO boot parameters which bypassed the BIOS entirely. Since the MBR is always going to be within the first xxxMB/GB limitation you could look up older howtos and pass on the HDD geometry at the prompt, and then once the system is installed add the line to your lilo.conf file and re-install LILO to the MBR.

As far as the 137GB limit goes, specifically, look for BIOS hacks. On my Abit VP6, for example, there was a 137GB limit when I bought a 160GB drive so I was going to take a RAID controller I had on hand to run the drive, but decided that was overkill so I did some googling and found Paltrude's BIOS modes. There's a guy patching all kinds of BIOS images for various boards to overcome the 137GB limitation. I applied this BIOS image to my board and was able to see all 160GB of the drive - and I've since tried 250GB drives and was able to see the entire drives on those as well. There may very well be a BIOS hack for your board as well.
 
Old 02-07-2005, 06:59 PM   #4
rushtrader
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
The limit has to do with the drivers, not the hardware. So in some cases the BIOS can only boot off the first part of a larger disk, that is how the /boot partition as hda1 came to be. Once the kernel is in memory the linux drivers are used and the drive can be almost any size. On a large drive the block number is sent in 2 pieces after a certain command is sent to it, meaning that the physical interface has not changed, just the way the driver sends the addressing commands.

So put your kernels into /boot (hda1, 128MB or something small like that) and use any size drive you like.

RT
 
Old 02-07-2005, 07:16 PM   #5
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Quote:
Originally posted by rushtrader
The limit has to do with the drivers, not the hardware. So in some cases the BIOS can only boot off the first part of a larger disk, that is how the /boot partition as hda1 came to be.
Okay, if you want to play semantics, the BIOS is not hardware. From a practical perspective it is, and msjenkins' best solution would be to apply a BIOS update if there is one available.
 
Old 02-07-2005, 09:19 PM   #6
msjenkins
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the help everyone.

I had a look for bios updates and found none that would fix the 137Gb limit.
I will buy a WD 200Gb hard drive and give that a whirl.



Edit: Spelling

Last edited by msjenkins; 02-07-2005 at 09:20 PM.
 
Old 02-07-2005, 10:53 PM   #7
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
What motherboard do you have?
 
Old 02-08-2005, 04:10 AM   #8
msjenkins
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Intel® Desktop Board D815EFV or D815EPFV.

http://support.intel.com/support/mot...sktop/d815efv/

Edit: Add link to intel website

Last edited by msjenkins; 02-08-2005 at 04:15 AM.
 
Old 02-08-2005, 12:28 PM   #9
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
I can't find any for that board either. Have you considered using a Promise ATA controller with native 48bit LBA support? The cards are under $40.
 
Old 02-08-2005, 06:30 PM   #10
msjenkins
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I will try the Hard drive first. If I don't get the full 200Gb I will probably get an ATA controller of some sort.

Thanks for your help once again.
 
Old 03-08-2005, 10:38 PM   #11
msjenkins
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
The 200Gb Hard Drive was installed and worked like a charm.
It was mounted with mount -t ext3 /dev/hdb1 /home/share

The drive would need to be partitioned if I were to boot from this drive.

No add in cards were required.

Once again thanks for all of your help.

Cheers,


Matt
 
Old 03-09-2005, 12:14 AM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If you want to use hard drives reaching to 400 GB or more, you have to configure the kernel to support large devices. Each kernel version is different. You have to look closely at the kernel options to spot it. Right now it seems the option will give support for drives reaching to 2 TB which is big at this time, but it will soon change very, very soon.

Next time search this forum because there are several under this topic.
 
  


Reply



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
HDD size limit voyciz Linux - Hardware 3 01-10-2005 07:23 PM
HDD < 137GB is giving me trouble! ming0 Linux - Hardware 0 11-19-2004 04:06 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
Quota issue, hard limit doesn't limit users Gratz Linux - Software 2 09-16-2003 07:35 AM
137GB max? justin9 Linux - Hardware 4 07-10-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:49 PM.

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