You are not logged in.

#1 2010-07-20 17:38:39

eirik
Member
From: Oslo, Norway
Registered: 2009-01-22
Posts: 51

Rebuilding partition table without data loss

Is it possible to safely rebuild the partition table without losing all data on a drive? I've got a 2TB unit that I partitioned off 200GB for use with Windows, but when I ran Windows 7's installer it managed to somehow mess things up; GParted is unable to format or delete the partition, so I was thinking the partition table may have been messed up, although I could of course be wrong.


Arch Linux x86_64 · xbmc-svn all night

Offline

#2 2010-07-20 17:43:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Rebuilding partition table without data loss

I think it would be easier to use the backup of said table.

Offline

#3 2010-07-20 17:59:05

eirik
Member
From: Oslo, Norway
Registered: 2009-01-22
Posts: 51

Re: Rebuilding partition table without data loss

I'm sure it'd be, if I was clever enough to backup my partition tables. I'll make sure to do so from now on.

Are my options at this moment basically to wipe everything or wait until I expand with another 2TB drive so I can offload the current one? I guess it'll have to wait in that case.


Arch Linux x86_64 · xbmc-svn all night

Offline

#4 2010-07-30 09:40:45

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Rebuilding partition table without data loss

a partition table is basically just a list of entries like "start-stop-type", where type is often even ignored (on Linux). So just recreate the entries and you're good.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#5 2010-07-30 12:05:24

kazacy
Member
Registered: 2010-03-05
Posts: 1

Re: Rebuilding partition table without data loss

First of all excuse me for my English, it's not my first language.
For the op you can use a live distribution pc like rip linux
http://www.tux.org/pub/people/kent-robo … linux/rip/
or sysresccd
http://sysresccd.org/Main_Page
burn a cd or make a bootable usb stick.In these distros you have a very usefull package named testdisk. With testdisk you can recreate the old partition table. It's a very usefull program and pretty self explanatory once you will start him.
Good luck...... you will need it.

Offline

Board footer

Powered by FluxBB