[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apres fdisk



Le Sun, Feb 01, 2004 at 09:41:14PM +0100, Christian Gennerat écrivait:
>Après un fdisk (ou une autre opération) ayant écrasé la table des 
>partitions,
>y-a-t-il un outil permettant de retrouver la partition étendue, et ainsi 
>de reconstituer la table d'origine ?
Oulallalallaaaa
Tu es en bien mauvaise posture :(

il y a gpart je crois bien....
mais qui a l'air prevu pour les partition primaires.

Voila de la doc que je m'etais mis de coté a coup de google...


As far as I now know, there are four utilities that attempt to
assist in recovering a lost partition table, or a partition
that was deleted by mistake.

(i) findsuper is a small utility that finds blocks with the ext2
superblock signature, and prints out location and some info.
It is in the non-installed part of the e2progs distribution.

(ii) rescuept is a utility that recognizes ext2 superblocks,
FAT partitions, swap partitions, and extended partition tables;
it may also recognize BSD disklabels and Unixware 7 partitions.
It prints out information that is suitable as input to sfdisk
to reconstruct the partition table.
It is in the non-installed part of the util-linux distribution.

(iii) fixdisktable (http://bmrc.berkeley.edu/people/chaffee/fat32.html)
is a utility that handles ext2, FAT, NTFS, ufs, BSD disklabels
(but not yet old Linux swap partitions); it actually will rewrite
the partition table, if you give it permission.

(iv) gpart (http://home.pages.de/~michab/gpart/) is a utility
that handles ext2, FAT, Linux swap, HPFS, NTFS, FreeBSD and
Solaris/x86 disklabels, minix, reiser fs; it prints a proposed
contents for the primary partition table, and is well-documented. 

-- 
"Sleon une édtue de l'Uvinertisé de Cmabrigde, l'odrre des ltteers dnas un
mto n'a pas d'ipmrotncae, la suele coshe ipmrotnate est que la pmeirère et
la drenèire soeint à la bnnoe pclae. Le rsete peut êrte dnas un dsérorde
ttoal et vuos puoevz tujoruos lrie snas porlbème. C'est prace que le
creaveu hmauin ne lit pas chuaqe ltetre elle-mmêe, mias le mot cmome un
tuot."



Reply to: