[Top][All Lists]

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

Re: parted 2.1 crash with 'Apple Boot' partition

From: Jim Meyering
Subject: Re: parted 2.1 crash with 'Apple Boot' partition
Date: Mon, 27 Feb 2012 23:52:04 +0100

Chris Murphy wrote:
> On Feb 27, 2012, at 3:40 PM, Jim Meyering wrote:
>> Thanks for all the detail.
>> FYI, I was able to reduce your abort-provoking 620MB image to a tiny
>> 4KiB compressed tarball ;-) and attached it to this RHEL bug report:
>>    http://bugzilla.redhat.com/797979
> If it's useful I can make an image of the new Apple Boot, fully
> updated, which still does not cause the problem, zero out the middle
> leaving +14KB and -14KB, for comparison to the original abort
> producing one.
> It's just so unlikely anyone else would end up with such a situation.

That might come in handy.
If you do, please attach it to that BZ,
or post it here as an attachment and I will.

For the record, I did this:
(using GNU cp and GNU tar for their sparse-related options,
and with 634764 being the (size in bytes of F) / 1024)

  dd if=/dev/zero of=F bs=1K seek=15 \
    count=$((634764-16)) conv=notrunc
  cp --sparse=always F AppleBoot.img
  tar jcvSf - F2 > AppleBoot.img.tar.bz2

I'm pretty sure I could have trimmed 1 or 2KiB more off each end,
but it wasn't worth it.

reply via email to

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