[Top][All Lists]

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

Partition recreated in different place

From: Stephen Turner
Subject: Partition recreated in different place
Date: Tue, 23 Apr 2002 19:27:00 +0100 (BST)

Using the parted 1.4.21 rescue disk, I moved a partition, which caused it
to start at position 4330.020 MB.

Later, I rm'ed the partition and attempted to recreate it with mkpart. But
now the partition started at 4330.050MB. The partition became unmountable,
with a bad superblock.

Will I ever see my data again?


Here is the output of parted. (/dev/hda5 should be linux-swap, by the
way. I don't know if this is relevant).

Warning: The partition table on /dev/hda is inconsistent.  There are many
reasons why this might be the case.  Often, the reason is that Linux detected
the BIOS geometry incorrectly.  However, this does not appear to be the case
here.  It is safe to ignore,but ignoring may cause (fixable) problems with some
boot loaders, and may cause problems with FAT file systems.  Using LBA is
Disk geometry for /dev/hda: 0.000-5729.062 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   2298.361  primary   FAT         hidden
2       2298.362   2423.869  primary   ext3        boot
3       2423.870   5514.499  extended              
5       2423.900   2549.377  logical   ext3        
6       2549.408   2823.925  logical   ext3        
7       2823.957   4322.175  logical   ext3        
8       4330.050   5263.483  logical               
9       5263.515   5506.655  logical   ext2        
4       5514.500   5718.450  primary               

And I don't know if this is useful, but here is the output of gpart:

Begin scan...
Possible partition(DOS FAT), size(2298mb), offset(0mb)
Possible partition(Linux ext2), size(125mb), offset(2298mb)
Possible extended partition at offset(2423mb)
   Possible partition(Linux ext2), size(400mb), offset(2423mb)
   Possible partition(Linux ext2), size(1498mb), offset(2823mb)
   Possible partition(Linux ext2), size(243mb), offset(5263mb)
End scan.

Checking partitions...
Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary 
Partition(Linux ext2 filesystem): primary 
   Partition(Linux ext2 filesystem): invalid logical 
   Partition(Linux ext2 filesystem): orphaned logical 
   Partition(Linux ext2 filesystem): logical 

Guessed primary partition table:
Primary partition(1)
   type: 012(0x0C)(DOS or Windows 95 with 32 bit FAT, LBA)
   size: 2298mb #s(4706982) s(63-4707044)
   chs:  (0/1/1)-(292/254/63)d (0/1/1)-(292/254/63)r

Primary partition(2)
   type: 131(0x83)(Linux ext2 filesystem)
   size: 125mb #s(257040) s(4707045-4964084)
   chs:  (293/0/1)-(308/254/63)d (293/0/1)-(308/254/63)r

Primary partition(3)
   type: 015(0x0F)(Extended DOS, LBA)
   size: 3090mb #s(6329610) s(4964085-11293694)
   chs:  (309/0/1)-(702/254/63)d (309/0/1)-(702/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


Thanks in advance for any help.

Stephen Turner    address@hidden    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Ad infinitum, if not ad nauseam." (Interviewee, BBC Radio 4)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]