[Bug 909424] Re: Parted reports ext3 partition as hfs+
** Attachment added: dd if=/dev/sdb bs=512 count=32 https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+attachment/2650086/+files/parted-ext3-hfs.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909424 Title: Parted reports ext3 partition as hfs+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909424] Re: Parted reports ext3 partition as hfs+
Thank you for looking into this. Unfortunately, I cannot remember 100% how I prepared this disk a few years ago. But most probably, it would have been with cfdisk in Debian 4. Maybe this WD external disk was originally delivered with a Mac partition? The disk was at a client's site, where they have many Macs. So it is also possible someone once connected it to a Mac. But they certainly didn't initialize or erase it (to use Macs terminology), because the disk still has all it's data and works as expected as an ext3 partition. So apparently, parted gets mislead in it's partition identification code, in some special case. Hopefully my sample will help correct this glitch. I rely a lot on parted since it seems to be the only tool that allows me to entirely script a partitioning of new disks, and I started to need to do that a lot. In the meantime, maybe it is safer to first zero out the first block(s)? I sometimes do it for the first 512 bytes. Should I do it for all the first 16K? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909424 Title: Parted reports ext3 partition as hfs+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909424] Re: Parted reports ext3 partition as hfs+
Interesting. It looks like you had a mac partition table on this disk with a valid hfs partition and somehow you have overwrote the MBR in such a way that it looks both like an MSDOS partition table, and still looks like the first sector of the mac partition table. What tool did you use to create the msdos partition table? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909424 Title: Parted reports ext3 partition as hfs+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909424] Re: Parted reports ext3 partition as hfs+
It looks like cfdisk does not zap the mac boot sector, so parted still thinks it is valid. You should be able to zero the first 32 or 64k of the disk and recreate the partitions to resolve the issue. ** Changed in: parted (Ubuntu) Importance: Undecided = Medium ** Changed in: parted (Ubuntu) Status: Incomplete = Triaged ** Also affects: util-linux (Ubuntu) Importance: Undecided Status: New ** Changed in: util-linux (Ubuntu) Status: New = Triaged ** Changed in: util-linux (Ubuntu) Importance: Undecided = Medium ** Summary changed: - Parted reports ext3 partition as hfs+ + after using cfdisk to format a mac disk, parted still uses the mac partition table -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909424 Title: after using cfdisk to format a mac disk, parted still uses the mac partition table To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909424] Re: Parted reports ext3 partition as hfs+
Can you please run the following command, and attach the resulting file: sudo dd if=/dev/sdb bs=512 count=32 | gzip -c data.gz ** Changed in: parted (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909424 Title: Parted reports ext3 partition as hfs+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/909424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs