LinuxQuestions.org
Visit Jeremy's Blog.
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 01-13-2006, 05:26 PM   #1
spicyed
LQ Newbie
 
Registered: Jan 2006
Location: New Jersey
Distribution: Fedora Core 4, Slackware 10.2
Posts: 29

Rep: Reputation: 15
Hard Drive Partition Problem.


I can't seem to format, access, or delete this partition. (hda5) It fills up half of my hard drive and I'd like to be able to reclaim the space.

Code:
[root@localhost Ed]# /sbin/fdisk -l
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3813    30627891   83  Linux
/dev/hda2            3814        3889      610470   82  Linux swap / Solaris
/dev/hda3   *        3891        5810    15422400    7  HPFS/NTFS
/dev/hda4            3890        3890        8032+   f  W95 Ext'd (LBA)
/dev/hda5   ?      261803      252367  2071690107   f6  Unknown

Partition table entries are not in disk order
I'm running 2.6.14-1.1656_FC4smp.
 
Old 01-13-2006, 07:12 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
i'v never heard of f6.. maybe it is an anomoly.. or a hidden nfts-- the way you have the other two ntfs/win-lbas behind it.

i'd delete the previous two win partitians.. and i'd never put them in the middle of any disk (or any disk with another partitian that i cherish).

good luck.

Last edited by halvy; 01-13-2006 at 10:25 PM.
 
Old 01-13-2006, 07:42 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Looks like a sick Partition Table. /dev/hda4 has an ID of "f". That should be an Extended Partition, but the End is probably wrong, as it would normally be much higher than the Start. Maybe both are actually correct, or maybe both wrong, because if that was an Extended, then it either can only be length 1 if /dev/hda3 is correct, or if it was bigger, then /dev/hda3 coudn't start where it does.

Also, the Start/End for /dev/hda5 are way too big for the drive, and they must also be contained within an Extended partition. Plus, End is greater than Start.

Try deleting 3, 4, and 5. Try different orders if the first doesn't work. But remember to back stuff up first, as you might end up trashing the whole disk.

halvy: Hidden ntfs partitions are usually Id 17, but that's not to say it can't be that.

Cheers,
Eddie

Last edited by MQMan; 01-13-2006 at 07:50 PM.
 
Old 01-13-2006, 07:46 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you find a solution, please post it here. I had a similar problem recently but couldn't solve it so I ended up backing up the data, blowing it away and re-creating from scratch.

One of the boxes in my test lab had been set up with the corporate SOE. It had 4 primary partitions, the first 2 were NTFS (drives C & D), the 3rd was fat32 (held a powerquest backup image for fast restore) and the 4th was NTFS (Netware NAL cache). Partitions 3 and 4 were not visible to users.

I booted the PC with a Fedora core 4 CD, blew away the partitions and installed FC4 without any problems. Oddly, fdisk correctly reported that the disk was a 20GB disk but only the first 8 were available. That 8GB was about the size of the first primary partition prior to the install (yes, fdisk definitely deleted the partitions and I definitely saved at exit). fdisk also reported 2 partitions of unknown type and 0 size as well as one where the ending sector was before the starting sector. I couldn't delete these partitions or extend the 'good' ones.

Ended up I had to backup, blow away and re-partition with a 3rd party tool and re-install, this time with Slackware although I doubt that had anything to do with it.
 
Old 01-13-2006, 08:38 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would *very* quickly back up anything I cared about, ensure the BIOS was set to LBA (AUTO should work too), and blow it all away.
Looks seriously fsck'd up to me.

If it was my box I'd go play around in the partition table, and the first couple of sectors within the extended, but I'm not going to attempt to describe how.
Just back it up and start over.

Fedora and Mandrake had some issues with parted early on in 2.6, but all should be o.k. now. I had the early Mandrake 10 code chew up a partition table so bad it was inaccessable. Cost me a re-install of two systems.
 
Old 01-13-2006, 09:20 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Agreed - backup any important data, then drop the mutant partitions and redefine them. Good luck with it
 
Old 01-13-2006, 09:55 PM   #7
spicyed
LQ Newbie
 
Registered: Jan 2006
Location: New Jersey
Distribution: Fedora Core 4, Slackware 10.2
Posts: 29

Original Poster
Rep: Reputation: 15
Luckily I do have a back up from 2 weeks ago already, so I just deleted both hda3 and hda4..when I deleted hda4 hda5 disappeared as well, so I believe that that was the problem. Drives running smooth now, thanks guys.
 
Old 01-13-2006, 10:25 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Cool - thanks for posting back with the followup spicyed
 
Old 01-13-2006, 10:27 PM   #9
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Quote:
Originally Posted by MQMan
halvy: Hidden ntfs partitions are usually Id 17, but that's not to say it can't be that.

Cheers,
Eddie
i was refering to my cfdisk info-- which i guess is pretty up2date.. but who noze :/

i was calculating from win95 lba (0F), down 6 on cfdisk chart, which would be f6 (if it wasn't called l7

i know, sometimes i'm a little 'too' nerdy even for my own sanity

Last edited by halvy; 01-13-2006 at 10:38 PM.
 
Old 01-13-2006, 11:08 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by spicyed
..when I deleted hda4 hda5 disappeared as well, so I believe that that was the problem.
Friendly warning - don't confuse symptom with problem.
hda4 was an extended partition - nothing more than a container for every logical partition you define. If you get into the habit of deleting extended partitions whilst it still contains other (logical) partitions, you are eventually going to be extremely pissed off.
Was a solution this time, but multiple partitions occupying the same extent is not necessarily/usually a problem where they are logical(s) within extended.

halvy:
I believe you'll find the (M$oft) hidden partitions are x'10' higher than the equivalent non-hidden.
 
Old 01-14-2006, 01:11 AM   #11
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Quote:
Originally Posted by syg00
halvy:
I believe you'll find the (M$oft) hidden partitions are x'10' higher than the equivalent non-hidden.
ok, soooo how do we explain the weird f6 (not even capitalized)..

at least i may have 'theoreticaly' answered that one..

(come on guys, humor me) lol
 
Old 01-14-2006, 03:30 AM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by halvy
ok, soooo how do we explain the weird f6 (not even capitalized)..
Don't know, don't care - anything that hosed up ain't worth the worry.
I'd write it off as a one-off; or "never happened" maybe.
 
  


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
Xauthority timeout problem and hard drive partition troubles (related) W0bbles Linux - General 1 12-31-2005 08:56 PM
Hard drive and partition problem... Nazxul Linux - Hardware 1 04-01-2004 02:31 AM
problem with hard drive partition giors Linux - Hardware 4 03-21-2004 03:35 AM
ok slight hard drive / partition problem general4172 Linux - Hardware 20 10-03-2003 04:54 PM
Hard drive partition problem Pres Linux - Hardware 6 10-07-2002 08:43 AM

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

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