[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repair a GPT
From: |
Bart Hakvoort |
Subject: |
Re: Repair a GPT |
Date: |
Mon, 04 Dec 2006 10:31:47 +0100 |
Hi,
you could start e2fsck with the -b flag and supply an alternate
superblock. Use mke2fs -n to find the location of these alternate
superblocks.
Good luck!
Bart (plors)
On Mon, 2006-12-04 at 10:21 +0100, Gilles AURIC wrote:
> address@hidden a écrit :
> > Hello Gilles,
> >
> > On Thu, Nov 30, 2006 at 09:04:07AM +0100, Gilles AURIC wrote:
> >
> >
> >>Hi I have setup a GPT ext2 4TByte partition with parted it works
> >>fine but after a powerfail I'm unable to repair the partition. How
> >>can I repair the partition with
> >>fsck ?
> >
> > fsck and Parted can only repair file systems, not partition tables. You
> > may want to use 'gpart' for that.
>
> Many thanks
> My partition is ok, I just want to repair the file system but :
>
> #fsck mess up with the superblocks
> Restarting e2fsck from the beginning...
> Group descriptors look bad... trying backup blocks...
> fsck.ext2: Bad magic number in super-block while trying to open /dev/sda1
>
> and #gpart give me an error message
> # gpart /dev/sda1
> *** Fatal error: ioctl(BLKGETSIZE) failed: File too large.
>
> Any hint wellcome
> Gilles
>
> >
> > Leslie
> >
>
--
---
plors