[Top][All Lists]

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

Damaged partition table when creating new partition after resizing anoth

From: Nick Whitehurst
Subject: Damaged partition table when creating new partition after resizing another
Date: Mon, 24 Oct 2005 14:57:48 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Ubuntu Breezy 5.10
using: GParted
Operation: resize a partition to make way for adding a third partion on the drive. The operation failed an left the partion table partly corrupted. GParted then displayed the drive as unallocated(!) even after reboot. Ubuntu, however, booted with no problems.

Bug report from command-line message:

{this was copied down by hand so the line breaks are not accurate}

Assertion (metadata_length >0) at ../../libparted/disk_dos.c:1935 in function add_logical_part_metadata()
mke2fd 1.38 (30-june-2005)
/dev/hda7: No enough space to build proposed filesystem while setting up superb lock
Error: Unable to satisfy all contraints on the partition

The last line was repeated anytime parted or gparted was used. I eventually fixed the problem using fdisk to deleting a rogue entry for hda7 which had been entered into the partition table incorrectly. It had the same start and end point which I think was 2445 with a size of 31+. The partition which had been resized was hda6 which appears to not have been changed.

Here is the current partition table for that drive:

Disk /dev/hda: 20.4 GB, 20480237568 bytes
255 heads, 63 sectors/track, 2489 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1222     9815683+  83  Linux
/dev/hda2            1223        2489    10177177+   f  W95 Ext'd (LBA)
/dev/hda5            2445        2489      361431   82  Linux swap / Solaris
/dev/hda6            1223        2444     9815652   83  Linux

Partition table entries are not in disk order

reply via email to

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