LinuxQuestions.org
Help answer threads with 0 replies.
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 03-11-2010, 11:16 AM   #1
TavoX
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Post Problem with a HDD Sata - Recgonized in Linux - Partially on Windows


Hi, I'm actually using both system, Ubuntu 9.04 and Windows XP, I got an HDD Western Digital (WD4000YR) with 400GB capacity, I have this weird problem (confirmed on other MoBo's with the same problem):

Power on the PC > In BIOS, disk capacity is 150GB > Start on Linux > In linux, disk capacity is correctly display: 400GB > Reboot > Start on Windows > disk capacity is correctly display: 400GB

BUT IF

Power on the PC > In BIOS, disk capacity is 150GB > Start on WINDOWS > in Windows, disk capacity is incorrectly display: 150GB

Linux its the solution to my problems, if I start on linux and then i REBOOT to windows works fine, but it doesn't if I turn OFF the PC. I need both systems due to incompatible software.

My question is: Why in LINUX the disk works fine and if I reboot the disk continues doing just fine? What linux do that windows doesn't on the disk thing?

Please don't tell me that this is a win question, because the answer is linux. I though maybe adding a line in windows option of the GRUB or something.

What I tried:

Fill with zeros using the WD tool, resign and format in Windows
Fill with zeros using the WD tool, resign and format in Linux
Format in Windows
Format in Linux

I have to say that the disk works great, when I do that (start linux then reboot to windows) the disk works just great, I had large movie files in there and works. So maybe the disk its not.

I saw something similar in this post: http://www.linuxquestions.org/questi...dd-size-96451/

Thanks!

Greetings
 
Old 03-11-2010, 12:04 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
I can tell you why linux works fine for starters. Your system bios is improperly detecting the hard drive size as 150GB instead of 400GB. I'm not sure why; older bioses had a maximum capacity of 137GB but any motherboard with sata shouldn't have that old of a bios. You may want to see if there is a bios update for your motherboard that corrects this problem. Translating from 150GB decimal to binary would give you about 137GB so it may be a bios size limit. Also, the drive may be jumpered in such a way to limit the size the bios can see.

At any rate, windows is bound to that bios size limit; linux is not. Once the linux kernel loads, it kisses the bios hard drive size limits good bye. You used to see this demonstrated all the time in older motherboards with the 137GB hard drive size limits. Windows couldn't handle an oversized drive and linux would see the full size of the drive beyond the bios limits.

More puzzling is what's happening on reboot. I have no idea why windows would see the full drive size on a reboot from linux. Windows should be bound by the size in your bios so I'm guessing that if you went into the bios setup on reboot from linux you would see the full 400GB in the bios. You might want to check that. Again, all this points to a problem with your system bios and there may be updates to correct this. You may also want to post your motherboard.
 
Old 03-11-2010, 12:21 PM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Quote:
Originally Posted by kilgoretrout View Post
You may also want to post your motherboard.
To China, or Mars or somewhere.
 
Old 03-11-2010, 04:04 PM   #4
TavoX
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kilgoretrout
More puzzling is what's happening on reboot. I have no idea why windows would see the full drive size on a reboot from linux. Windows should be bound by the size in your bios so I'm guessing that if you went into the bios setup on reboot from linux you would see the full 400GB in the bios.
Yes, I forgot about that, when I reboot from linux, the bios shows the full disk space (400GB), then windows recognize the full size.

I have a msi k9a2vm-f v2, but I guess its not the MoBo, I had another MoBo and it was the same problem, I tried the disk in an intel DG33FB and nothing.

In my k9a2vm-f v2 I have another sata disk, with 500 GB capacity and it works great, without any problems. I guess the bios and mobo its ok.

This is desesperating, you think if I install linux on the disk, it will be forced to be recognized at the GRUB point?

Last edited by TavoX; 03-11-2010 at 05:05 PM.
 
Old 03-11-2010, 11:07 PM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
I think your hard drive is defective, most likely a defective circuit board on the drive since other 500GB sata drives are detected properly in the bios. It's not clear from your post but if you put the drive in another system and it was not detected, then for sure the drive is bad. I think WD has a five year warranty so you may want to contact them and see if you can get a warranty replacement.
 
Old 03-12-2010, 12:47 AM   #6
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I thought Windows XP didn't really have full support for SATA HDDs? XP setup used to hang for me at "Setup in inspecting your hardware..." unless I connected the drive after that screen.

I remember when I first used Knoppix. I went in the bios to disable the HDD, and Knoppix still was able to find and mount the drives correctly.
 
Old 03-12-2010, 07:45 AM   #7
TavoX
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I have problems to send back the disk to WD, I just keep using like this, I'm using ubuntu more than windows, I think I will use the other one to transfer large files between win and linux, and the other one just to store on linux.

Thanks, I was trying to understand whats going on but I think its a puzzle! Thanks to everyone!
 
  


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
Linux sata hdd problem saran_sai Linux - Hardware 3 11-11-2008 08:09 AM
Linux (ubuntu 6.06) on HP Pavillion DV5118TX (SATA HDD) problem amanjsingh Linux - Desktop 10 12-01-2006 01:11 PM
move linux from IDE HDD to SATA HDD markmalcolm Linux - Hardware 2 05-07-2005 02:24 AM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
instal rh9 in SATA HDD keeping Windows in IDE arian Linux - Newbie 0 11-30-2004 02:19 PM

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

All times are GMT -5. The time now is 12:29 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