bug-parted
[Top][All Lists]
Advanced

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

assertion failure (160GB HD, single FAT32 resize to 110GB, extern USB dr


From: Sebastian Seifert
Subject: assertion failure (160GB HD, single FAT32 resize to 110GB, extern USB drive)
Date: Wed, 7 Sep 2005 13:05:23 +0200
User-agent: Mutt/1.5.9i

Hello,

parted asked me to report an assertion failure, which happenened while
trying to resize a 160GB FAT32 partition on a 160Gb external USB drive
to 110GB.

My partition table:

eden:/mnt# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
   /dev/sda1               1       19457   156288321    c  W95 FAT32
   (LBA)

My parted session:

eden:/mnt# parted /dev/sda
GNU Parted 1.6.23
Copyright (C) 1998 - 2005 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public
License.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
See the GNU General Public License for more details.

Using /dev/sda
(parted) p                                                                
Disk geometry for /dev/sda: 0kB - 160GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    160GB   160GB   primary   fat32        lba
(parted) resize 1
Start?  [32kB]?                                                           
End?  [160GB]? 110GB
Error: Can't have a partition outside the disk!                           
You found a bug in GNU Parted.  Please email a bug report to
address@hidden containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at ../../libparted/geom.c:100 in function
ped_geometry_destroy()
failed.
Ignore/Cancel?    

My kernel:

eden:/mnt# uname -a
Linux eden 2.6.13-ck1 #2 Wed Aug 31 03:50:27 CEST 2005 i686 GNU/Linux

I'm using parted-1.6.23-3 from Debian testing.

Sebastian


-- 
Time flies like an arrow, but fruit flies like banana.
        -- Groucho Marx





reply via email to

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