vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, While trying to create a new partition on the free disk space with fdisk I've lost all the extended partitions, I've now a partition table with 6 missing extended partitions, so as soon as I reboot I'll lost all the info about the old partition table, and before rebooting I'd like to get the old info from memory and recreate the partitons (I can't remember the starting points and the sizes of all the partitions). I've tried gpart but I can't recover the partitions. Notes: Debian (2.6.5) Most of the lost partitions are XFS HD Seagate 120 GB Thx, Guybrush |
| |||
| Guybrush wrote: > Hi, > While trying to create a new partition on the free disk space with > fdisk I've lost all the extended partitions, I've now a partition table > with 6 missing extended partitions, so as soon as I reboot I'll lost > all the info about the old partition table, and before rebooting I'd > like to get the old info from memory and recreate the partitons (I > can't remember the starting points and the sizes of all the > partitions). > I've tried gpart but I can't recover the partitions. > > Notes: > Debian (2.6.5) > Most of the lost partitions are XFS > HD Seagate 120 GB > Have a look at gpart - it may help <http://www.stud.uni-hannover.de/user/76201/gpart/>. -- Tauno Voipio tauno voipio (at) iki fi |
| ||||
| This is the output I get from gpart: # gpart /dev/hda Begin scan... Possible partition(SGI XFS filesystem), size(1896mb), offset(0mb) Possible partition(SGI XFS filesystem), size(19067mb), offset(1906mb) Possible partition(SGI XFS filesystem), size(19067mb), offset(20983mb) Possible partition(SGI XFS filesystem), size(1896mb), offset(40060mb) Possible partition(SGI XFS filesystem), size(28593mb), offset(41966mb) Possible partition(Linux ext2), size(94mb), offset(70574mb) Possible partition(Linux ext2), size(1906mb), offset(70668mb) Possible partition(SGI XFS filesystem), size(9528mb), offset(103959mb) Possible partition(Linux swap), size(972mb), offset(113498mb) * Warning: short read near sector(234441459), 64512 bytes instead of 66048. Skipping... End scan. Checking partitions... * Warning: more than 4 primary partitions: 9. Partition(Linux ext2 filesystem): primary Partition(Linux ext2 filesystem): primary Partition(Linux ext2 filesystem): primary Partition(Linux ext2 filesystem): primary Partition(Linux ext2 filesystem): invalid primary Partition(Linux ext2 filesystem): invalid primary Partition(Linux ext2 filesystem): invalid primary Partition(Linux ext2 filesystem): invalid primary Partition(Linux swap or Solaris/x86): invalid primary Ok. Guessed primary partition table: Primary partition(1) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(63-3883262) chs: (0/1/1)-(1023/15/63)d (0/1/1)-(3852/7/6)r Primary partition(2) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049600) s(3903795-42953394) chs: (1023/15/63)-(1023/15/63)d (3872/13/1)-(42612/7/58)r Primary partition(3) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049472) s(42973938-82023409) chs: (1023/15/63)-(1023/15/63)d (42632/14/1)-(81372/6/56)r Primary partition(4) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(82044018-85927217) chs: (1023/15/63)-(1023/15/63)d (81392/14/1)-(85245/4/6)r |
| Thread Tools | |
| Display Modes | |
|
|