Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FDisk Shows Incorrect HD Size
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
daveteusink
n00b
n00b


Joined: 07 Jan 2004
Posts: 41

PostPosted: Wed Nov 02, 2005 5:44 am    Post subject: FDisk Shows Incorrect HD Size Reply with quote

Ok, I'm no expert with linux, but I have installed gentoo on a number of different machines and never seen anything like this. When I fdisk my /dev/hda everything appears fine except that it shows up as 62mb and not 30GB, Also has something about how the sector size is 2048 and an error flag of "Invalid Flag 0x0000 of partition table 4 will be corrected by write. Yet the write command comes back as unable to write table. Anyone had this problem before. I know the Hard drive is working, I just had it attached to my XP machine and did a full format and even some file transfers. Any help would be appreciated.

Dave
Back to top
View user's profile Send private message
kands
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2003
Posts: 138
Location: Vancouver Island, Canada

PostPosted: Wed Nov 02, 2005 7:41 am    Post subject: Reply with quote

Maybe your BIOS is not detecting the drive correctly in that machine?

Try setting the drive geometry manually in the BIOS. Setting 'should' be on the drive label on top of the actual harddrive.

Try hdparm -g /dev/yourdrive to see what the drive geometry is. Then use different combinations of these in fdisk and see what the results are (errors etc). The fdisk switches are: -H and -S. man fdisk and hdparm for more info and switches.

That would be a start anyway...
_________________
http://www.brokenspoke.ca
Have you broken your spoke today?
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Wed Nov 02, 2005 4:25 pm    Post subject: Reply with quote

if you dont care about data on the drive low level format it
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 481
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Wed Nov 02, 2005 5:11 pm    Post subject: Reply with quote

You're fdisking the live CD

BTDT

most likely you have primary & secondary ide cables reversed.

try
Code:
fdisk -l


and see if any (my guess is hdc) drives report 30 GB

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Nov 02, 2005 8:03 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads
See here: https://forums.gentoo.org/viewtopic-t-312242.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum