[parted-devel] parted with iPod 80GB

David Cantrell dcantrell at redhat.com
Tue Mar 20 03:26:56 CET 2007


On Mon, 2007-03-19 at 23:17 +0000, Mario Rossi wrote:
> On 3/19/07, David Cantrell <dcantrell at redhat.com> wrote:
> 
> > I can try.  That will probably help figure out how to read the label.
> > I'd prefer a copy of the entire disk, but that might be too large.  If
> > you can blank it out, then dd the disk and gzip the image, that would
> > work.
> 
> As promised, I've copied the first 48MB of the disk + 2M at the
> beginning of each partition
> 
> http://xoomer.alice.it/enodetti/ipod/ipod.sda.bz2
> http://xoomer.alice.it/enodetti/ipod/ipod.sda1.bz2
> http://xoomer.alice.it/enodetti/ipod/ipod.sda2.bz2
> 
> respectively from
> 
> /dev/sda
> /dev/sda1
> /dev/sda2
> 
> using
> 
> dd if=/dev/sda of=ipod.sda bs=1M count=48
> dd if=/dev/sda1 of=ipod.sda1 bs=1M count=2
> dd if=/dev/sda2 of=ipod.sda2 bs=1M count=2
> 
> If you need a bigger file, I will need to find a different host. I've
> tried with 64MB but I could not upload it.
> The output of fdisk is
> 
> [root at thinkpad tmp]# /sbin/fdisk /dev/sda
> Note: sector size is 2048 (not 512)
        ^^^^^^^^^^^^^^^^^^^

We don't yet have write support for non-512 byte sector sizes with the
DOS disk label.  We have read support.  Write support has been written,
but not tested.  Will be soon, but I imagine that's the problem you're
hitting.

-- 
David Cantrell <dcantrell at redhat.com>
Red Hat / Westford, MA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20070319/44459ae4/attachment.pgp


More information about the parted-devel mailing list