FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-23-2008, 10:01 AM
"pat"
 
Default HELP! partition table is corrupted

Hello,

My brother has a second disk where was two partitions formated as NTFS (the
big one) and FAT32 (small one), but something brakes the partition table and
now there are two linux partition tables +/- the size of the previous logical
drives.

Which SW should I use to recover the original partition table? I think about
gpart, but does it has a GUI? I'm not guru at this :-

I know the next version is to format whole drive, but there are photos of his
daughter and not backup ... .

Thanks a lot for all suggestions !!!

Pat
--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-23-2008, 10:08 AM
Michal 'vorner' Vaner
 
Default HELP! partition table is corrupted

Hello

On Sun, Mar 23, 2008 at 12:01:08PM +0100, pat wrote:
> My brother has a second disk where was two partitions formated as NTFS (the
> big one) and FAT32 (small one), but something brakes the partition table and
> now there are two linux partition tables +/- the size of the previous logical
> drives.
>
> Which SW should I use to recover the original partition table? I think about
> gpart, but does it has a GUI? I'm not guru at this :-

Recovering will be really hard think, if you do not know the exact
numbers there, it is probably impossible.

But you may be lucky and nothing wrote to the data part. In that case,
it should be relatively easy to save the first partition of the two.
Grab fdisk (the unix one is probably better, it does exactly what you
tell it to do and has better help) and create a single partition over
the whole disk, then mount it read-only (so nothing can get corrupted,
if you do something wrong). You should be able to get the data from
there.

I wish you luck

--
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner
 
Old 03-23-2008, 10:21 AM
Neil Bothwick
 
Default HELP! partition table is corrupted

On Sun, 23 Mar 2008 12:01:08 +0100, pat wrote:

> My brother has a second disk where was two partitions formated as NTFS
> (the big one) and FAT32 (small one), but something brakes the partition
> table and now there are two linux partition tables +/- the size of the
> previous logical drives.
>
> Which SW should I use to recover the original partition table? I think
> about gpart, but does it has a GUI? I'm not guru at this :-
>
> I know the next version is to format whole drive, but there are photos
> of his daughter and not backup ... .

Try photorec from app-admin/testdisk. It should recover most files if the
disk has not been written to since the corruption. No GUI but it does
have a man page


--
Neil Bothwick

Top Oxymorons Number 30: Business ethics
 
Old 03-23-2008, 10:23 AM
Florian Philipp
 
Default HELP! partition table is corrupted

On Sun, 2008-03-23 at 12:01 +0100, pat wrote:
> Hello,
>
> My brother has a second disk where was two partitions formated as NTFS (the
> big one) and FAT32 (small one), but something brakes the partition table and
> now there are two linux partition tables +/- the size of the previous logical
> drives.
>
> Which SW should I use to recover the original partition table? I think about
> gpart, but does it has a GUI? I'm not guru at this :-
>
> I know the next version is to format whole drive, but there are photos of his
> daughter and not backup ... .
>
> Thanks a lot for all suggestions !!!
>
> Pat

Try testdisk. It's ncurses-based and easy to use. It saved my sorry arse
twice.
 
Old 03-23-2008, 11:18 AM
"pat"
 
Default HELP! partition table is corrupted

Couple of other questions and situation update:
- there were not writes to the disk - this is good I think
- the original disk division was 120GB (NTFS) and 40GB (FAT32) - the fat was
the first one
- and now the sizes are different (the first one around 30GB and the rest)
- is the photorec able to search data in this partition table corruption level?
- I'm going to buy ne disk and to make dd of the corrupted one

Thanks a lot

Pat


On Sun, 23 Mar 2008 12:01:08 +0100, pat wrote
> Hello,
>
> My brother has a second disk where was two partitions formated as
> NTFS (the big one) and FAT32 (small one), but something brakes the
> partition table and now there are two linux partition tables +/- the
> size of the previous logical drives.
>
> Which SW should I use to recover the original partition table? I
> think about gpart, but does it has a GUI? I'm not guru at this :-
>
> I know the next version is to format whole drive, but there are
> photos of his daughter and not backup ... .
>
> Thanks a lot for all suggestions !!!
>
> Pat

--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-23-2008, 11:34 AM
"Liviu Andronic"
 
Default HELP! partition table is corrupted

On Sun, Mar 23, 2008 at 1:18 PM, pat <pat@xvalheru.org> wrote:
> - I'm going to buy ne disk and to make dd of the corrupted one

Maybe sys-fs/ddrescue is suited for this job (?).
Liviu
--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-23-2008, 01:12 PM
Alan McKinnon
 
Default HELP! partition table is corrupted

On Sunday 23 March 2008, Liviu Andronic wrote:
> On Sun, Mar 23, 2008 at 1:18 PM, pat <pat@xvalheru.org> wrote:
> > - I'm going to buy ne disk and to make dd of the corrupted one
>
> Maybe sys-fs/ddrescue is suited for this job (?).
> Liviu

gparted is always the first choice in situations like these. The trick
is to realize that if you recreate the partition table the way it was
everything just comes back (assuming no destructive write to the drive
meanwhile, like mkfs.ntfs...) so all one needs to know is where did the
old partition end?

gparted can go hunting through a disk looking for that info

--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-23-2008, 05:27 PM
Volker Armin Hemmann
 
Default HELP! partition table is corrupted

On Sonntag, 23. März 2008, Florian Philipp wrote:
> On Sun, 2008-03-23 at 12:01 +0100, pat wrote:
> > Hello,
> >
> > My brother has a second disk where was two partitions formated as NTFS
> > (the big one) and FAT32 (small one), but something brakes the partition
> > table and now there are two linux partition tables +/- the size of the
> > previous logical drives.
> >
> > Which SW should I use to recover the original partition table? I think
> > about gpart, but does it has a GUI? I'm not guru at this :-
> >
> > I know the next version is to format whole drive, but there are photos of
> > his daughter and not backup ... .
> >
> > Thanks a lot for all suggestions !!!
> >
> > Pat
>
> Try testdisk. It's ncurses-based and easy to use. It saved my sorry arse
> twice.

++
mine once.

testdisk is a very good tool.

try systemrescuecd
http://www.sysresccd.org

which has testdisk in an even newer version than gentoo.
--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-24-2008, 02:30 AM
Stroller
 
Default HELP! partition table is corrupted

On 23 Mar 2008, at 12:18, pat wrote:


Couple of other questions and situation update:
- there were not writes to the disk - this is good I think


Yes.

- is the photorec able to search data in this partition table
corruption level?


Read the tool's homepage. But I'm pretty sure it just looks at the
bits on the drive and saves any collection of said bits which match
specification for a jpeg, doc &c file. I.E. no remaining filesystem
is needed, it does exactly what you need (although filenames aren't
preserved. I don't know about the other suggestions, so they might be
worth trying first.



- I'm going to buy a new disk and to make dd of the corrupted one


Very wise!!

Do this FIRST! BEFORE you do anything else. Then you can always dd
the drive back to its current state and try a different method if the
first fails.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-24-2008, 01:22 PM
Enrico Weigelt
 
Default HELP! partition table is corrupted

* Florian Philipp <lists@f_philipp.fastmail.net> wrote:

> Try testdisk. It's ncurses-based and easy to use. It saved my sorry arse
> twice.

ACK. If *just* the partition table is lost, but no damage inside
the individual partitions, testdisk can easily reconstruct it
but looking for superblocks (even w/ FAT).
Used it several times successfully.

Testdisk folks did a great work

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 10:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org