Einzelnen Beitrag anzeigen

Benutzerbild von Valle
Valle

Registriert seit: 26. Dez 2005
Ort: Karlsruhe
1.223 Beiträge
 
#6

AW: Linux Info wie Festplatte formatiert

  Alt 7. Jun 2012, 17:19
Diese Tools zeigen aber nur an, welches Dateisystem man bei der Partitionierung angegeben hat. Dafür gibt es in der Partitionstabelle ein extra Feld. Was dann aber tatsächlich drin ist, ist nochmal eine andere Geschichte.

Eine etwas unsaubere, aber meist funktionierende Methode: Man kopiert ein paar Bytes aus der Partition in eine Datei und lässt sie mit "file" analysieren.

Code:
dd if=/dev/sda of=sda.raw bs=512 count=1
dd if=/dev/sda1 of=sda1.raw bs=512 count=1
dd if=/dev/sda2 of=sda2.raw bs=512 count=1
dd if=/dev/sda3 of=sda3.raw bs=512 count=1
file sda*
Ergibt bei mir:

Code:
sda1.raw: x86 boot sector, code offset 0x52, OEM-ID "NTFS   ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 4096, dos < 4.0 BootSector (0x80)
sda2.raw: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=f5d0bbd7-58f1-44d1-ba79-1fec046eab0c
sda3.raw: LUKS encrypted file, ver 1 [aes, cbc-essiv:sha256, sha1] UUID: 3a85cb21-1a00-4d41-9829-cf5d89d
sda.raw: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0x7, starthead 65, startsector 4096, 154300229 sectors; partition 2: ID=0x83, active, starthead 254, startsector 154304325, 1943865 sectors; partition 3: ID=0x83, starthead 254, startsector 156248190, 78188355 sectors, code offset 0x63, OEM-ID "     &#1084;", Bytes/sector 190, sectors/cluster 124, reserved sectors 191, FATs 6, root entries 185, sectors 64514 (volumes <=32 MB) , Media descriptor 0xf3, sectors/FAT 20644, heads 6, hidden sectors 309755, sectors 2147991229 (volumes > 32 MB) , physical drive 0x7e, dos < 4.0 BootSector (0x0)
Sollten doch genug Informationen sein.

Liebe Grüße,
Valentin
Valentin Voigt
BOFH excuse #423: „It's not RFC-822 compliant.“
Mein total langweiliger Blog
  Mit Zitat antworten Zitat