Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175109

Re: Error message from GParted, means what?

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Error message from GParted, means what?
Date 2016-11-27 10:20 +0100
Message-ID <sI3MR-2o2-7@gated-at.bofh.it> (permalink)
References <sHTXb-4el-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 26/11/2016 à 23:42, Richard Owlett a écrit :
> I've been getting a strange error messages when looking at some 8 GB
> flash drives from different manufacturers purchased months apart.
>
> There is a title bar at top saying "Libparted Warning (as superuser).
> The body of the message box has:
>   1. an Exclamation point surrounded by orange and yellow triangle.
>   2. a message text saying "The driver descriptor says the physical block
>      size is 2048 bytes, but Linux says it is 512 bytes.
>   3. There are two buttons present.
>      One saying "Cancel"
>      The other saying "Ignore"

I have seen this behaviour when running parted on a USB flash drive 
containing a Debian installer ISOhybrid x86 image which seems to combine 
a DOS partitition table, an Apple Mac partition table, a GPT partition 
table and an ISO 9660 header. I guess the 2048-byte block size is set to 
match the sector size of optical media.

I have found that historically partitioning tools based on libparted 
(parted, gparted, partman [Debian installer]) did not handle well this 
non-standard format. The parted version in Wheezy just could not read it.

Another problem I observed is that erasing the partition table does not 
erase the ISO 9660 header, and programs based on libblkid (udev, desktop 
environment file managers) still find it and wrongly apply the 
identifier string in it to label the drive.

Before reusing a drive which had contained an ISO image, I advise to 
erase any metadata with wipefs.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error message from GParted, means what? Richard Owlett <rowlett@cloud85.net> - 2016-11-26 23:50 +0100
  Re: Error message from GParted, means what? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-27 10:20 +0100
    Re: Error message from GParted, means what? Richard Owlett <rowlett@cloud85.net> - 2016-11-27 13:10 +0100
      Re: before first use of a brand new flash drive (was: Error message  from GParted...) Felix Miata <mrmazda@earthlink.net> - 2016-11-27 17:10 +0100
        Re: before first use of a brand new flash drive Richard Owlett <rowlett@cloud85.net> - 2016-11-27 18:30 +0100
          Re: before first use of a brand new flash drive Doug <dmcgarrett@optonline.net> - 2016-11-27 20:50 +0100
            Re: before first use of a brand new flash drive Brad Rogers <brad@fineby.me.uk> - 2016-11-27 21:10 +0100
              Re: before first use of a brand new flash drive rhkramer@gmail.com - 2016-11-28 00:20 +0100
                Re: before first use of a brand new flash drive Doug <dmcgarrett@optonline.net> - 2016-11-28 01:20 +0100
                Re: before first use of a brand new flash drive Eike Lantzsch <zp6cge@gmx.net> - 2016-11-28 10:30 +0100
              Re: Congratulations samrmn , Your Roof is Covered. Thank You!Wdw9 Sam Rahmani <samrmn@gmail.com> - 2016-11-30 15:00 +0100

csiph-web