You are not logged in.

#1 2006-11-22 14:22:52

Harr1l
Member
From: Finland
Registered: 2006-11-22
Posts: 8

Partition table messed up [SOLVED]

So my problem is that the other one of my hard disks losed it's partition table after I installed Windows XP on it. I deleted partition to get space for XP and installed it on empy partition. Then in Arch I did grub-install. This got me into this so I can't view my partitons on either gParted or QTParted (which crashes when trying to watch hda). Also I can't use command "ls" in /home or it's subdirectories which is on different, fully working disk.

So, I can use and mount these partitons which I can't see with gParted.

fdisk tells me this:

Disk /dev/hda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders, total 398297088 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *          63    40965749    20482843+   7  HPFS/NTFS
/dev/hda2        40965750   398267414   178650832+   f  W95 Ext'd (LBA)
/dev/hda3       286728183   398267414    55769616    b  W95 FAT32
/dev/hda5        40965876   286728119   122881122   83  Linux

hda3 should be ext3 like hda5.

So is there any way to get my partitons back without losing any data?

Offline

#2 2006-11-22 14:30:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Partition table messed up [SOLVED]

Try gpart - it's on Knoppix, and many other Live CDs.

Offline

#3 2006-11-22 20:35:38

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Partition table messed up [SOLVED]

you should try testdisk, it's in the AUR.
worked fine for me when i lost my partition table. no data loss at all.

Offline

#4 2006-11-23 05:56:32

Harr1l
Member
From: Finland
Registered: 2006-11-22
Posts: 8

Re: Partition table messed up [SOLVED]

The gpart did it well. Only the NTFS partition lost but that doesn't matter anyway. Thanks for help!

But is there any help for that I can't use "ls" in certain directories?

Offline

#5 2006-11-23 09:40:23

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Partition table messed up [SOLVED]

Harr1l wrote:

But is there any help for that I can't use "ls" in certain directories?

I don't know. Are you sure that filesystem has no errors? Did you do fsck?
IIRC testdisk can rebuild filesystem from scratch.


to live is to die

Offline

#6 2006-11-23 09:48:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Partition table messed up [SOLVED]

Make sure you have the most recent coreutils package. 6.5-1 was broken, 6.5-2 is fixed.

Offline

#7 2006-11-23 10:56:30

Harr1l
Member
From: Finland
Registered: 2006-11-22
Posts: 8

Re: Partition table messed up [SOLVED]

Updating system helped! Now my Arch is running fine.

Offline

Board footer

Powered by FluxBB