Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Chris Murphy
On Feb 27, 2012, at 4:08 PM, Chris Murphy wrote: > dd if=/dev/sda3 of=abnew.img > dd if=/dev/zero of=abnew.img seek=30 \ > count=1269503 conv=notrunc > cp --sparse=always abnew.img abnew-sparse.img > tar jcvSf - abnew-sparse.img > abnew.img abnew-sparse.img.tar.bz2 650002432 abnew.img 6

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Chris Murphy
On Feb 27, 2012, at 3:52 PM, Jim Meyering wrote: > > 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=

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Jim Meyering
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 > >

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Chris Murphy
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

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Jim Meyering
Chris Murphy wrote: ... > Regressions, detail: > > 1. Clean 10.7.0 install, crash does not occur. > > a. Zero'd the first 80GB of the target disk. > b. Installed 10.7.0, which produces three partitions: EFI fat32, Mac > OS hfsx, Apple Boot hfs+. > c. Attempted to install CentOS 6.2. It proceeded pa

Re: with a raid0 disk - "Can't have a partition outside the disk"

2012-02-27 Thread Jim Meyering
Peter Maloney wrote: > Problem: > > I tried to print the partition table of the first disk in a raid0 set > (using the raw disk rather than a RAID device), expecting the partitions > to be displayed with the partition outside the disk, but instead parted > refuses to work: > > # parted -s /dev/sdd

with a raid0 disk - "Can't have a partition outside the disk"

2012-02-27 Thread Peter Maloney
Problem: I tried to print the partition table of the first disk in a raid0 set (using the raw disk rather than a RAID device), expecting the partitions to be displayed with the partition outside the disk, but instead parted refuses to work: # parted -s /dev/sdd unit s print Error: Can't have a pa