Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #175105 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2016-11-26 23:50 +0100 |
| Last post | 2016-11-30 15:00 +0100 |
| Articles | 11 — 8 participants |
Back to article view | Back to linux.debian.user
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
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-11-26 23:50 +0100 |
| Subject | Error message from GParted, means what? |
| Message-ID | <sHTXb-4el-1@gated-at.bofh.it> |
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"
On today's drive:
1. I clicked "Cancel" then dismissed several boxes the gist of
whose messages
was that what I had started had not been done.
2. The entire drive is shown as "allocated".
3. Clicking on "New" yields message saying "No partition table
found ..."
4.I attempt to create partition table and get the "block
sector size" message.
5. Chose "ignore"
6. Apparently then able to create a single 8 GB partition.
Any suggestions as to the problem's origin? I've no way to
establish the history of the drive.
Any reason to expect future problems?
TIA
[toc] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2016-11-27 10:20 +0100 |
| Message-ID | <sI3MR-2o2-7@gated-at.bofh.it> |
| In reply to | #175105 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-11-27 13:10 +0100 |
| Message-ID | <sI6rn-46U-7@gated-at.bofh.it> |
| In reply to | #175109 |
On 11/27/2016 3:15 AM, Pascal Hambourg wrote:
> 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.
*THANK YOU* <MASSIVE GRIN>!
I think you may have cleared up several hard to isolate problems.
It may be an interesting exercise, before first use of a brand
new flash drive, to examine it via Gparted and "wipefs /dev/sdX"
Yesterday I had purchased a blister pack of four 8GB that were on
clearance at a local office supply store [labeled "Lexar by
Micron" "Jumpdrive S50" USB 2.0].
One was used without any apparent problem to be the source for 2
preseed.cfg files. I did installs with each which ran as expected.
One was plugged in before I ran a script to prepare a file that
would later be written to the flash drive. There was some [not
yet identified] problem with the script indicated by flashing of
drive activity light. That was the drive that prompted my post.
After reading your message I examined the other two drives.
"wipefs /dev/sdb" reported a dos partition table at 0x1fe.
Gparted showed:
1st drive
4.03 MiB unallocated
7.45 GiB FAT32 (1.91 MiB used) (no Flags set)
2nd drive
7.46 GiB FAT32 (4.03 MiB used) (lba Flags set)
One of them had been plugged into one of my machines yesterday.
Which and what action taken - unknown.
I assume that running "wipefs --all --force /dev/sdb" followed by
using Gparted to create a partition table followed by
partitioning will make all Debian tools "happy".
Thank you.
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2016-11-27 17:10 +0100 |
| Subject | Re: before first use of a brand new flash drive (was: Error message from GParted...) |
| Message-ID | <sIabE-6uR-19@gated-at.bofh.it> |
| In reply to | #175113 |
Richard Owlett composed on 2016-11-27 07:02 (UTC-0500): ... > It may be an interesting exercise, before first use of a brand > new flash drive, to examine it via Gparted and "wipefs /dev/sdX"... I first test that the claimed capacity is valid: https://fightflashfraud.wordpress.com/2008/11/24/h2testw-gold-standard-in-detecting-fake-capacity-flash/ -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-11-27 18:30 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIbr3-7ko-7@gated-at.bofh.it> |
| In reply to | #175117 |
On 11/27/2016 10:07 AM, Felix Miata wrote: > Richard Owlett composed on 2016-11-27 07:02 (UTC-0500): > > ... >> It may be an interesting exercise, before first use of a brand >> new flash drive, to examine it via Gparted and "wipefs >> /dev/sdX"... > > I first test that the claimed capacity is valid: > https://fightflashfraud.wordpress.com/2008/11/24/h2testw-gold-standard-in-detecting-fake-capacity-flash/ > Thank you. The page was interesting reading. It got me thinking. I haven't done any significant programming since CPU's heated buildings with 12AX7's ;/
[toc] | [prev] | [next] | [standalone]
| From | Doug <dmcgarrett@optonline.net> |
|---|---|
| Date | 2016-11-27 20:50 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIdCx-es-11@gated-at.bofh.it> |
| In reply to | #175118 |
On 11/27/2016 11:28 AM, Richard Owlett wrote: > On 11/27/2016 10:07 AM, Felix Miata wrote: >> Richard Owlett composed on 2016-11-27 07:02 (UTC-0500): >> >> ... >>> It may be an interesting exercise, before first use of a brand >>> new flash drive, to examine it via Gparted and "wipefs >>> /dev/sdX"... >> >> I first test that the claimed capacity is valid: >> https://fightflashfraud.wordpress.com/2008/11/24/h2testw-gold-standard-in-detecting-fake-capacity-flash/ >> >> > > Thank you. The page was interesting reading. It got me thinking. > I haven't done any significant programming since CPU's heated > buildings with 12AX7's ;/ > That's a very old page. Does any reader know of an up-to-date Linux program that serves this purpose? --doug
[toc] | [prev] | [next] | [standalone]
| From | Brad Rogers <brad@fineby.me.uk> |
|---|---|
| Date | 2016-11-27 21:10 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIdVT-Ay-1@gated-at.bofh.it> |
| In reply to | #175120 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, 27 Nov 2016 19:43:52 -0600
Doug <dmcgarrett@optonline.net> wrote:
Hello Doug,
>That's a very old page. Does any reader know of an up-to-date Linux
>program that serves this purpose?
f3 is in the Debian repos.
--
Regards _
/ ) "The blindingly obvious is
/ _)rad never immediately apparent"
You're not so safe in the safety of your room
Nasty - The Damned
[toc] | [prev] | [next] | [standalone]
| From | rhkramer@gmail.com |
|---|---|
| Date | 2016-11-28 00:20 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIgTL-2sI-1@gated-at.bofh.it> |
| In reply to | #175122 |
On Sunday, November 27, 2016 03:02:19 PM Brad Rogers wrote: > f3 is in the Debian repos. For anybody that goes looking for it, it is apparently a "current" package for Jessie and Sid, but it is in backports for Wheezy. https://packages.debian.org/wheezy-backports/f3
[toc] | [prev] | [next] | [standalone]
| From | Doug <dmcgarrett@optonline.net> |
|---|---|
| Date | 2016-11-28 01:20 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIhPP-36q-3@gated-at.bofh.it> |
| In reply to | #175129 |
On 11/27/2016 05:11 PM, rhkramer@gmail.com wrote: > On Sunday, November 27, 2016 03:02:19 PM Brad Rogers wrote: >> f3 is in the Debian repos. > For anybody that goes looking for it, it is apparently a "current" package for > Jessie and Sid, but it is in backports for Wheezy. > > https://packages.debian.org/wheezy-backports/f3 > > There are also a number of rpm versions in rpmfind. I installed one, but I will have to make a PATH to it--the system can't find it. --doug
[toc] | [prev] | [next] | [standalone]
| From | Eike Lantzsch <zp6cge@gmx.net> |
|---|---|
| Date | 2016-11-28 10:30 +0100 |
| Subject | Re: before first use of a brand new flash drive |
| Message-ID | <sIqq6-f5-15@gated-at.bofh.it> |
| In reply to | #175134 |
On Monday, November 28, 2016 12:14:15 AM PYST Doug wrote: > On 11/27/2016 05:11 PM, rhkramer@gmail.com wrote: > > On Sunday, November 27, 2016 03:02:19 PM Brad Rogers wrote: > >> f3 is in the Debian repos. > > > > For anybody that goes looking for it, it is apparently a "current" package > > for Jessie and Sid, but it is in backports for Wheezy. > > > > https://packages.debian.org/wheezy-backports/f3 > > There are also a number of rpm versions in rpmfind. I installed one, but > I will have to make a PATH to it--the system can't find it. > > --doug apropos f3 f3brew (1) - help developers to infer how fake drives work f3fix (1) - edit the partition table of a fake flash drive f3probe (1) - probe a block device for counterfeit flash memory f3read (1) - test real flash memory capacity f3write (1) - test real flash memory capacity kdiff3 (1) - compares two or three input files or directories HTH
[toc] | [prev] | [next] | [standalone]
| From | Sam Rahmani <samrmn@gmail.com> |
|---|---|
| Date | 2016-11-30 15:00 +0100 |
| Subject | Re: Congratulations samrmn , Your Roof is Covered. Thank You!Wdw9 |
| Message-ID | <sJdAu-6My-29@gated-at.bofh.it> |
| In reply to | #175122 |
[Multipart message — attachments visible in raw view] — view raw
Screw you. On Sun, Nov 27, 2016 at 12:02 PM, Brad Rogers <brad@fineby.me.uk> wrote: > krst > > Congratulations samrmn, > The Home Warranty Limited time event. > Never pay for covered home repairs again! > Your Roof is Covered - FREE! > Click Here > > Unsub > <http://go.tua.one/mIQWf>Opt Out > > > > > > > > > > > > <http://go.tua.one/WdeCO> <http://go.tua.one/mUv5J> > ksft > @#$%^&*()*&^%$#@$%^&*()(*&^%$#@#$%^&*()_(*&^%$#@ > >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web