Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Hoe moet ik /var/log/installer/partman lezen? Dringend noodgeval!  (gelezen 340 keer)

HJBosman

  • Gast
In mijn pogingen, een weigerachtige tweede schijf geschikt te maken voor Ubuntu, is de partitietabel van mijn EERSTE harde schijf verziekt geraakt. Nu is mijn ntfs partitie met windows XP niet meer te vinden. Ik heb met gpart een poging gedaan, de partities terug te vinden. Dat lijkt gelukt te zijn voor de eerste partitie (DellUtility) en de laatste partitie (DellRestore), maar met de tweede, ntfs dus, is het niet gelukt.

Nu heb ik op de linux-schijf nog /var/log/installer/partman kunnen vinden, dat volgens mij een beschrijving geeft van de eerste schijf voordat de ellende begon.
Ik hoop heel erg dat ik die info kan gebruiken om mijn ntfs partitie weer terug te krijgen. Ik begrijp alleen niet wat er in het bestand precies staat, en hoe dat in verband staat met de uitvoer van bijv. gpart. Is daar ergens informatie over te vinden?

Ik zal de inhoud van partman, en de uitvoer van gpart, hieronder kopieren.
Hulp is van harte welkom!

Groeten, Hendrik Jan.

------------- /var/log/installer/partman ----------------------------------------


/bin/partman: *******************************************************
/lib/partman/init.d/01unsupported: *******************************************************
/lib/partman/init.d/30parted: *******************************************************
parted_server: ======= Starting the server
parted_server: main_loop: iteration 1
parted_server: Opening infifo
/lib/partman/init.d/30parted: IN: OPEN =dev=sda /dev/sda
parted_server: Read command: OPEN
parted_server: command_open()
parted_server: Request to open =dev=sda
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: OUT: OK


parted_server: Note =dev=sda as unchanged
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 2
parted_server: Opening infifo
/lib/partman/init.d/30parted: IN: OPEN =dev=sdb /dev/sdb
parted_server: Read command: OPEN
parted_server: command_open()
parted_server: Request to open =dev=sdb
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: OUT: OK


parted_server: Note =dev=sdb as unchanged
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 3
parted_server: Opening infifo
/lib/partman/init.d/35dump: *******************************************************
/lib/partman/init.d/35dump: IN: DUMP =dev=sda
parted_server: Read command: DUMP
parted_server: command_dump()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 4
parted_server: Opening infifo
Device: yes
Model: ATA WDC WD1600JB-75G
Path: /dev/sda
Sector size: 512
Sectors: 312500000
Sectors/track: 63
Heads: 255
Cylinders: 19452
Partition table: yes
Type: msdos
Partitions: #   id      length  type    fs      path    name
(0,0,0) (0,0,62)        -1      0-32255 32256   primary label   /dev/sda-1
(0,1,0) (5,254,62)      1       32256-49351679  49319424        primary fat16   /dev/sda1
(6,0,0) (19092,254,62)  2       49351680-157045271039   156995919360    primary ntfs    /dev/sda2
(19093,0,0)     (19451,254,62)  3       157045271040-159998146559       2952875520      primary fat32   /dev/sda3
(19452,0,0)     (19452,57,28)   -1      159998146560-159999999999       1853440 primary label   /dev/sda-1
Dump finished.
/lib/partman/init.d/35dump: IN: DUMP =dev=sdb
parted_server: Read command: DUMP
parted_server: command_dump()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 5
parted_server: Opening infifo
Device: yes
Model: ATA MAXTOR STM380215
Path: /dev/sdb
Sector size: 512
Sectors: 156301488
Sectors/track: 63
Heads: 255
Cylinders: 9729
Partition table: no
/lib/partman/init.d/70update_partitions: *******************************************************
/lib/partman/init.d/70update_partitions: IN: PARTITIONS =dev=sda
parted_server: Read command: PARTITIONS
parted_server: command_partitions()
parted_server: Opening outfifo
parted_server: OUT: OK


parted_server: OUT: 1   32256-49351679  49319424        primary fat16   /dev/sda1


parted_server: OUT: 2   49351680-157045271039   156995919360    primary ntfs    /dev/sda2


parted_server: OUT: 3   157045271040-159998146559       2952875520      primary fat32   /dev/sda3


parted_server: Partitions printed
parted_server: OUT:


parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 6
parted_server: Opening infifo
/lib/partman/update.d/20bootable: *******************************************************
/lib/partman/update.d/20bootable: IN: GET_FLAGS =dev=sda 32256-49351679
parted_server: Read command: GET_FLAGS
parted_server: command_get_flags()
parted_server: Opening outfifo
parted_server: partition_with_id(32256-49351679)
parted_server: Partition found (32256-49351679)
parted_server: OUT: OK


parted_server: OUT:




-------------- gpart uitvoer -------------------------------------------

Begin scan...
Possible partition(DOS FAT), size(47mb), offset(0mb)
Possible partition(Windows NT/W2K FS), size(149722mb), offset(47mb)
Possible partition(DOS FAT), size(2816mb), offset(149770mb)
End scan.

Checking partitions...
Partition(Primary 'big' DOS (> 32MB)): primary
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 006(0x06)(Primary 'big' DOS (> 32MB))
   size: 47mb #s(96327) s(63-96389)
   chs:  (0/1/1)-(5/254/63)d (0/1/1)-(5/254/63)r

Primary partition(2)
   type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
   size: 149722mb #s(306632648) s(96390-306729037)
   chs:  (6/0/1)-(1023/254/63)d (6/0/1)-(19092/254/56)r

Primary partition(3)
   type: 012(0x0C)(DOS or Windows 95 with 32 bit FAT, LBA)
   size: 2816mb #s(5767335) s(306729045-312496379)
   chs:  (1023/254/63)-(1023/254/63)d (19093/0/1)-(19451/254/63)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