Mounten einer Partition aus einem dd-Image

vendredi 1 mai 2015

Hallo zusammen

Ich habe die Platte meines Laptops mittels "dd" gesichert, bevor ich auf die SuSI 13.2 geupdated habe. Wie es Murphy will, fehlen jetzt ein paar Files. Alles kein Problem, dachte ich...

Aber der Reihe nach. Das dd sieht so aus:
Code:

pit:/sda9/gugus # fdisk -l laptop.dd

Disk laptop.dd: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0005ddd2

    Device Boot      Start        End      Blocks  Id  System
laptop.dd1  *        2048      208895      103424  83  Linux
laptop.dd2          208896  976773119  488282112    f  W95 Ext'd (LBA)
laptop.dd5          210944    16979967    8384512  82  Linux swap / Solaris
laptop.dd6        16982016    27471871    5244928  83  Linux
laptop.dd7        27473920    33769471    3147776  83  Linux
laptop.dd8        33771520    60778495    13503488  83  Linux
laptop.dd9        60780544    81743871    10481664  83  Linux
laptop.dd10      81745920  976773119  447513600  83  Linux

Davon brauche ich die Partition Nr. 6. Also habe ich ein
Code:

mount -o loop,ro,offset=$((512*16982016))  laptop.dd  /mnt
abgesetzt. Das Ergebnis ist ein lapidares
Code:

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
      missing codepage or helper program, or other error

Ich habe das schon 'zig Mal gemacht ohne Probleme. Warum klappt es diesmal nicht? Dass die gesuchte Partition in einer extended Partition liegt, sollte eigentlich egal sein, oder?

Das Image selber muesste eigentlich auch OK sein, denn ich habe es waehrend meiner Installationsversuche schon zweimal benutzt, um den Laptop komplett wiederherzustellen. Any ideas?

Gruss Pit.


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor