
Hi Leute, habe mir hier an einem Computer die primäre Partitionstabelle zerschossen. Mit gpart erhalte ich folgende Ausgaben: Begin scan... Possible partition(DOS FAT), size(4918mb), offset(0mb) Possible extended partition at offset(4918mb) Possible partition(Linux ext2), size(682mb), offset(4934mb) Possible partition(Linux ext2), size(9295mb), offset(5616mb) Possible extended partition at offset(14911mb) Possible partition(DOS FAT), size(42303mb), offset(14911mb) End scan. Checking partitions... Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary Partition(Linux ext2 filesystem): invalid Partition(Linux ext2 filesystem): primary Partition(DOS or Windows 95 with 32 bit FAT, LBA): invalid Number of inconsistencies found: 2. Guessed primary partition table: Primary partition(1) type: 012(0x0C)(DOS or Windows 95 with 32 bit FAT, LBA) size: 4918mb #s(10072688) s(63-10072750) chs: (0/1/1)-(626/254/59)d (0/1/1)-(626/254/59)r Primary partition(2) type: 015(0x0F)(Extended DOS, LBA) size: 52297mb #s(107105355) s(10088820-117194174) chs: (628/0/1)-(1023/254/63)d (628/0/1)-(7294/254/63)r Primary partition(3) type: 131(0x83)(Linux ext2 filesystem) size: 9295mb #s(19036960) s(11502603-30539562) chs: (716/1/1)-(1023/254/63)d (716/1/1)-(1900/254/61)r Primary partition(4) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r Jetzt will ich die Partitionstabelle so auf die Festplatte zurückschreiben, wie er die zwisch Begin und end scan darstellt. Wie geht dies ? Gruß Kai -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

Jetzt will ich die Partitionstabelle so auf die Festplatte zurückschreiben, wie er die zwisch Begin und end scan darstellt.
Soweit ich weiß, auch mit gpart. Hat bei mir funktioniert, z. B. mit gpart -W /dev/hdc /dev/hdc (falls die Festplatte z. B. hdc ist). Aber, schön vorsichtig sein und immer das Manual (man gpart) studieren, da stehen einige Fälle drin. Die Website http://www.stud.uni-hannover.de/user/76201/gpart/index-de.html hat mich auch weitergebracht. Martin

On Sunday 02 December 2001 15:23, you wrote:
Jetzt will ich die Partitionstabelle so auf die Festplatte zurückschreiben, wie er die zwisch Begin und end scan darstellt.
Soweit ich weiß, auch mit gpart. Hat bei mir funktioniert, z. B. mit gpart -W /dev/hdc /dev/hdc (falls die Festplatte z. B. hdc ist).
Das wäre richtig, wenn er mir im zweiten Teil, die gleichen Partitionen anbieten würde. Dies tut er arber nicht, daher habe ich die Frage wie ich die Partitionen sozusagen per Hand an gpart über geben kann.
Aber, schön vorsichtig sein und immer das Manual (man gpart) studieren, da stehen einige Fälle drin.
Die Website
http://www.stud.uni-hannover.de/user/76201/gpart/index-de.html
hat mich auch weitergebracht.
Martin
participants (2)
-
Kai Eckert
-
Martin Kurz