GNU bug report logs - #35066
problem relabeling and partitioning a ntfs hard drive

Previous Next

Package: parted;

Reported by: Scott <scottyenvivo <at> gmail.com>

Date: Mon, 1 Apr 2019 05:17:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35066 in the body.
You can then email your comments to 35066 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#35066; Package parted. (Mon, 01 Apr 2019 05:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Scott <scottyenvivo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Mon, 01 Apr 2019 05:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Scott <scottyenvivo <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: problem relabeling and partitioning a ntfs hard drive
Date: Sun, 31 Mar 2019 22:14:49 -0700
Hi, I was trying to wipe a drive and ntfs partition but the partition 
type stays the same even though the label and size are affected.
-----------

Debian 8.2 x64
parted (GNU parted) 3.2



$parted /dev/sdc
<parted>
mklabel gtp yes
mkpart name ext4 0gb 160gb

print:
Model: ATA WDC WD1600AAJS-0 (scsi)
Disk /dev/sdc: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  160GB  160GB  ext4         HIST

(parted) quit
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) 
[0x7fb356afb644]
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_init+0xd0) 
[0x7fb356b021d0]
  13: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_new+0x56) 
[0x7fb356b02286]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_exact+0xa8) 
[0x7fb356b02b68]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x25238) [0x7fb356b13238]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x25306) [0x7fb356b13306]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7fb356b000aa]
  8: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_delete_all+0x62) 
[0x7fb356b00c32]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24619) [0x7fb356b12619]
  6: parted() [0x407a11]
  5: parted() [0x407acf]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x7fb3562f0b45]
  1: parted() [0x405fc7]


You found a bug in GNU Parted! ...Also include any additional 
information about your setup you
consider important.

Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in 
function ped_constraint_init() failed.

Aborted





Information forwarded to bug-parted <at> gnu.org:
bug#35066; Package parted. (Tue, 09 Apr 2019 22:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 35066 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Scott <scottyenvivo <at> gmail.com>
Cc: 35066 <at> debbugs.gnu.org
Subject: Re: bug#35066: problem relabeling and partitioning a ntfs hard drive
Date: Tue, 9 Apr 2019 15:07:12 -0700
On Sun, Mar 31, 2019 at 10:14:49PM -0700, Scott wrote:
> Hi, I was trying to wipe a drive and ntfs partition but the partition type
> stays the same even though the label and size are affected.
> -----------
> 
> Debian 8.2 x64
> parted (GNU parted) 3.2
> 
> 
> 
> $parted /dev/sdc
> <parted>
> mklabel gtp yes

Try mklabel gpt :)

-- 
Brian C. Lane (PST8PDT)




Information forwarded to bug-parted <at> gnu.org:
bug#35066; Package parted. (Tue, 09 Apr 2019 22:15:01 GMT) Full text and rfc822 format available.

Message #11 received at 35066 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: 35066-done <at> debbugs.gnu.org
Cc: 35066 <at> debbugs.gnu.org
Subject: Re: bug#35066: problem relabeling and partitioning a ntfs hard drive
Date: Tue, 9 Apr 2019 15:13:57 -0700
Pushed these to master, also included in parted-3.2-41 build for Fedora
Rawhide.

-- 
Brian C. Lane (PST8PDT)




Reply sent to "Brian C. Lane" <bcl <at> redhat.com>:
You have taken responsibility. (Tue, 09 Apr 2019 22:15:02 GMT) Full text and rfc822 format available.

Notification sent to Scott <scottyenvivo <at> gmail.com>:
bug acknowledged by developer. (Tue, 09 Apr 2019 22:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-parted <at> gnu.org:
bug#35066; Package parted. (Tue, 09 Apr 2019 22:54:02 GMT) Full text and rfc822 format available.

Message #19 received at 35066 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Scott <scottyenvivo <at> gmail.com>
Cc: 35066 <at> debbugs.gnu.org
Subject: Re: bug#35066: problem relabeling and partitioning a ntfs hard drive
Date: Tue, 9 Apr 2019 15:53:43 -0700
Sorry, I closed the wrong bug. Hopefully mklabel gpt works for you :)

-- 
Brian C. Lane (PST8PDT)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 08 May 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.