Bad blocks when validating my disks

2010-10-04 Thread Rod Smith
download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923 143f3456c/fatgen103.doc <http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923%20%20143f3456c/fatgen103.doc> Regards from Rod Smith r...@rodericksmith.plus.com http://www.rodericksmith.plus.com _

Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-22 Thread Rod Smith
ed. (I hope the attachment gets through; but Thunderbird is rewrapping it if I insert it inline.) -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com diff -Naur parted-3.0/libparted/labels/gpt.c parted-3.0a/libparted/labels/gpt.c --- parted-3.0/libparted/labels/gpt.c 2011-05-10 11:19:09.000

re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-23 Thread Rod Smith
jdd wrote: Le 23/06/2011 06:38, Rod Smith a écrit : At the risk of jumping the gun, I'm attaching a patch to implement my suggestion in libparted. did you test it with windows? Because in non GPT disk, Windows never acknoledge Linux drives, but always ask for formatting. I ha

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-23 Thread Rod Smith
On 06/23/2011 02:18 PM, Jim Meyering wrote: Rod Smith wrote: Thus, it seems to me that Linux needs its own partition type code GUID for filesystem partitions on GPT disks, much as it has its own MBR partition type code for filesystems (0x83 on MBR). I'd like to implement such a change

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-23 Thread Rod Smith
On 06/23/2011 02:43 PM, Brian C. Lane wrote: On Thu, Jun 23, 2011 at 12:38:10AM -0400, Rod Smith wrote: Hi, I've recently discovered that when Windows reads a GPT disk with Linux partitions on it, those partitions are given drive letters and show up as unformatted. This situation can h

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-23 Thread Rod Smith
onvenient to verify this. (You could do this in parted by using various flags, like the "lvm flag," as a stand-in for a new type code; or you can use my gdisk, which lets you set a wide variety of type codes, even by entering a raw GUID value.) -- Rod Smith rodsm...@rodsbook

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-25 Thread Rod Smith
ely rewriting the way parted handles partition type codes. The latter would be a huge undertaking, but if the parted Powers That Be choose to use my simpler earlier patch, that's fine by me. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com diff -Naur parted-3.0/include/parted/di

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-06-28 Thread Rod Smith
Linux GPT partitioning tools will be nicely in sync on this issue as soon as these parted patches make it to a release version. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com >From 33ca05ab37579d32a6488d500776cbc89eb7883d Mon Sep 17 00:00:00 2001 From: Roderick W. Smith D

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2011-08-04 Thread Rod Smith
On 06/27/2011 04:41 PM, Jim Meyering wrote: Rod Smith wrote: I'm attaching another patch that should be applied INSTEAD OF my earlier patch in order to support a new Linux-only GUID type code. ... Thanks for the improved patch. ... Your change is large enough that in order for us to be

Re: Need for a unique Linux GPT GUID type code (Chris Murphy)

2011-10-17 Thread Rod Smith
, you can do so using GPT fdisk (gdisk; http://www.rodsbooks.com/gdisk/). Use its "t" option to change the type code to "8300" (gdisk's internal code for the new GUID). You'll need version 0.7.2 or later to support the new type code. I don't know offhand what Fe

Re: Purpose of 'legacy_boot' attribute

2011-10-20 Thread Rod Smith
er shouldn't be CHANGING GPT attributes, either, and the last time I checked (a few months ago), libparted had a tendency to clear all attributes whenever it wrote a new partition table. I haven't checked this with the 3.0 version, though, so that may have changed. -- Rod Smith ro

Re: GPT Question

2011-11-11 Thread Rod Smith
boot. - Some motherboards, including many from Intel, won't boot from a GPT disk unless the MBR contains a partition with the "boot flag" set, so the BootIndicator byte has to be set in violation of the standard (or a hybrid MBR must be used) to boot on such disks. Parted follow

Windows 7 Partitions

2011-11-18 Thread Rod Smith
commend writing a letter to them while you play human disc changer. This certainly isn't a parted issue, although you can use parted to do some of the partition manipulations, depending on what option you choose to pursue. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: Bug in parted with GPT partition table from Lenovo Ideapad A1

2011-12-30 Thread Rod Smith
scribe it. As to the fact that parted crashed on you, the situation could have been handled better; however, it IS a case of "garbage-in/garbage-out." The best you could hope for would be for the program to show you the partitions defined in the main partition table and then to refuse to make any actual changes. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: new snapshot available: parted-3.0.136-1f80

2012-02-18 Thread Rod Smith
the Linux partitions, as it does on MBR disks. For more information, please review the original thread on this topic, starting at http://lists.gnu.org/archive/html/bug-parted/2011-06/msg00026.html. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2012-03-06 Thread Rod Smith
except for the test suite, since I don't know enough about what's in your test suite to try my hand at making the changes. Please see my patch submitted on 6/28; the post is archived here: http://lists.gnu.org/archive/html/bug-parted/2011-06/msg00050.html -- Rod Smith ro

Re: Rescue disk with parted utility for GPT label

2012-05-22 Thread Rod Smith
houldn't be using that command if you want to preserve your existing partitions. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: Minimum size of GPT partition table header

2012-09-22 Thread Rod Smith
ring from error conditions -- even very trivial errors -- unnecessarily difficult for users. Throwing more disks into this error condition is undesirable, IMHO, especially for the case of a HeaderSize value >92, which as I say, I believe to be legal. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: bug-parted Digest, Vol 118, Issue 10

2012-09-23 Thread Rod Smith
in the post-92 reserved field of the GPT header. Thus, all this is very hypothetical at the moment. Since zpool *DOES* create disks with HeaderSize values of 512, though, something reasonable MUST be done with them. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2012-09-28 Thread Rod Smith
causing one of the test suite scripts from failing. I'll wait for your ACK before pushing this. Sorry for the delay in replying; I've been busy with other things. This looks fine to me, so feel free to push it out. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

Re: Parted 3.1 on Samsung XE700T

2012-11-14 Thread Rod Smith
to work you might need to wipe the BIOS boot code from the MBR and you'll almost certainly have to create an EFI System Partition (ESP). -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

bug#15532: bug-parted Digest, Vol 131, Issue 4

2013-10-05 Thread Rod Smith
this mailing list thread. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

bug#15597: bug-parted Digest, Vol 131, Issue 9

2013-10-12 Thread Rod Smith
e library, and some developers of small emergency disks don't want to include it, so keeping the option to not use libicu is worthwhile. Note that some values are invalid even with libicu, so there's a possibility that you'll run into error conditions, whether using libicu o

bug#18019: bug-parted Digest, Vol 140, Issue 9

2014-07-14 Thread Rod Smith
hat's needed is some coordination between mdadm, parted, fdisk, and gdisk authors to settle on a standard for this. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

bug#18984: Antw: Re: bug#18984: Enhancement request: Handling, of damaged partition tables

2014-11-11 Thread Rod Smith
partitions that are not cylinder-aligned, with the final partition ending inside what TestDisk considers the final partial "cylinder.") I haven't checked lately, but I hope this problem has been fixed by now. I saw lots of problem reports about this in forums a few

bug#21070: GPT backup corruption causes parted and linux installer to crash

2015-07-16 Thread Rod Smith
bution-provided package, particularly for a long-term support distribution like an Ubuntu LTS or a CentOS (vs. a non-LTS Ubuntu or Fedora). -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com

bug#21560: bug-parted Digest, Vol 154, Issue 8

2015-09-25 Thread Rod Smith
ew() the start point of the extended partition and the required size of the extended partition to hold the logical partition being created. Brian's quite right that this code needs more comments; it's clear as mud. -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com