Bug#354819: installation-report: problems detecting partitions created by Disk Utility
On Wed, Mar 01, 2006 at 11:55:07AM +0100, Isaac Clerencia wrote: Package: installation-reports Severity: normal -- Package-specific info: Boot method: CD Image version: http://cdimage.debian.org/cdimage/daily-builds/etch_d-i/20060225/powerpc/iso-cd/debian-testing-powerpc-netinst.iso Date: netinst from 2006-02-25 Machine: Mac Mini (PowerPC 1.42Ghz) Partitions: /dev/hda #type name length base ( size ) system /dev/hda1 Apple_partition_map Apple63 @ 1 ( 31.5k) Partition map /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/hda3Swap swap2097152 @ 1664 ( 1.0G) Unknown /dev/hda4 Apple_UNIX_SVR2 root 115389448 @ 2098816 ( 55.0G) Linux native /dev/hda5 Apple_Boot eXternal booter 262144 @ 117488264 (128.0M) Unknown /dev/hda6 Apple_HFSX Apple_HFSX_Untitled_1 38551064 @ 117750408 ( 18.4G) Unknown /dev/hda7 Apple_Free 16 @ 156301472 ( 8.0k) Free space Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [O] Detect CD: [O] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [E] Create file systems:[ ] Mount partitions: [ ] Install base system:[O] Install boot loader:[E] Installed system ok:[O] Comments/Problems: I partitioned the hard disk from OS X Installer's Disk Utility, basically creating a 18GB HFS+ partition at the end of the disk for MacOS X and leaving the rest of the disk free. The installer completely failed to detect the partitions, and only offered me to repartition my whole hard disk again. this is very strange and should not have happened. Can you now that you have the installed system, try to run parted on it, and see what it reports (use only the print command of parted). if parted doesn't show the right thing, could you file a bug report against parted, and append the first few sectors of your disk (dd if=/dev/hda of=file_for_parted count=64) ? If it shows this correctly in parted, then there is something horribly wrong with partman. I switched to the consolea and run mac-fdisk, which detected correctly the partitions. I created the required partitions (Apple_Bootstrap, Swap and root) with mac-fdisk and wrote the results to disk. Afterwards I created and ext3 filesystem in the root partition, swap space in the swap partition, ..., created the /target dir and mounted /dev/hda3 there. As the installer didn't allowed me to continue I deleted partman invocation from /var/lib/dpkg/info/partman-base.postinst, that way I managed to continue with the installation. yaboot had problems again because it tries to get information from partman, so I edited /var/lib/dpkg/info/bootloader-install.postinst (or whatever is named) to hardcode the Apple_Bootstrap partition there instead of asking to partman and I finished the installation successfully. Indeed. We maybe need some way to have yaboot-installer allow for manual override of the auto-detected values coming from partman. Colin, any idea about this ? Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#354819: installation-report: problems detecting partitions created by Disk Utility
On Thursday 02 March 2006 11:32, you wrote: I partitioned the hard disk from OS X Installer's Disk Utility, basically creating a 18GB HFS+ partition at the end of the disk for MacOS X and leaving the rest of the disk free. The installer completely failed to detect the partitions, and only offered me to repartition my whole hard disk again. this is very strange and should not have happened. Can you now that you have the installed system, try to run parted on it, and see what it reports (use only the print command of parted). if parted doesn't show the right thing, could you file a bug report against parted, and append the first few sectors of your disk (dd if=/dev/hda of=file_for_parted count=64) ? If it shows this correctly in parted, then there is something horribly wrong with partman. I've got this: sweetie# parted /dev/hda print Error: The partition's data region doesn't occupy the entire partition. Ignore/Cancel? i Disk geometry for /dev/hda: 0kB - 80GB Disk label type: mac Number Start End SizeFile system Name Flags 1 1kB 32kB32kB Apple 2 33kB851kB 819kB hfs bootstrap boot 3 852kB 1075MB 1074MB linux-swap swap 4 1075MB 60GB59GBext3 root root 5 60GB60GB134MB hfs+ eXternal booter 6 60GB80GB20GBhfsx Apple_HFSX_Untitled_1 Information: Don't forget to update /etc/fstab, if necessary. as you see it gets an error, but it can continue if I ignore it, may be partman is not ignoring that error (which I don't know how severe is), and returns nothing Best regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#354819: installation-report: problems detecting partitions created by Disk Utility
On Thu, Mar 02, 2006 at 11:45:51AM +0100, Isaac Clerencia wrote: On Thursday 02 March 2006 11:32, you wrote: I partitioned the hard disk from OS X Installer's Disk Utility, basically creating a 18GB HFS+ partition at the end of the disk for MacOS X and leaving the rest of the disk free. The installer completely failed to detect the partitions, and only offered me to repartition my whole hard disk again. this is very strange and should not have happened. Can you now that you have the installed system, try to run parted on it, and see what it reports (use only the print command of parted). if parted doesn't show the right thing, could you file a bug report against parted, and append the first few sectors of your disk (dd if=/dev/hda of=file_for_parted count=64) ? If it shows this correctly in parted, then there is something horribly wrong with partman. I've got this: sweetie# parted /dev/hda print Error: The partition's data region doesn't occupy the entire partition. Ignore/Cancel? i Disk geometry for /dev/hda: 0kB - 80GB Disk label type: mac Number Start End SizeFile system Name Flags 1 1kB 32kB32kB Apple 2 33kB851kB 819kB hfs bootstrap boot 3 852kB 1075MB 1074MB linux-swap swap 4 1075MB 60GB59GBext3 root root 5 60GB60GB134MB hfs+ eXternal booter 6 60GB80GB20GBhfsx Apple_HFSX_Untitled_1 Information: Don't forget to update /etc/fstab, if necessary. as you see it gets an error, but it can continue if I ignore it, may be partman is not ignoring that error (which I don't know how severe is), and returns nothing Ok, this clarifies it. Can you provide us with a snapshot of the start of your disk, as mentioned above, and i will then clone the bug and reassign it to partman and parted, as i believe both have a problem here. Mmm, wait, you did not do some resizing or something such ? Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#354819: installation-report: problems detecting partitions created by Disk Utility
clone 354819 -1 reassign -1 parted retitle -1 [mac] parted fails to recognize os-x disk-utility created partition table reassign 354819 partman retitle 354819 partman should show the parted exceptions, instead of just failing thanks On Thu, Mar 02, 2006 at 11:57:18AM +0100, Isaac Clerencia wrote: On Thursday 02 March 2006 11:49, you wrote: Ok, this clarifies it. Can you provide us with a snapshot of the start of your disk, as mentioned above, and i will then clone the bug and reassign it to partman and parted, as i believe both have a problem here. Attached. Mmm, wait, you did not do some resizing or something such ? From where? I just launched Disk Utility from Mac OS X installer ..., selected 5 partitions and marked the first four as free, and the last one as HFS+. Then Disk utility merged free partitions so I ended with free space + HFS+ partition at the end of the disk. Afterwards I installed Mac OS X in the HFS+ partition and booted with D-I. Ok, thanks for the advice, i will let the corresponding maintainers of parted and partman have a look at it. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#354819: installation-report: problems detecting partitions created by Disk Utility
On Thursday 02 March 2006 11:49, you wrote: Ok, this clarifies it. Can you provide us with a snapshot of the start of your disk, as mentioned above, and i will then clone the bug and reassign it to partman and parted, as i believe both have a problem here. Attached. Mmm, wait, you did not do some resizing or something such ? From where? I just launched Disk Utility from Mac OS X installer ..., selected 5 partitions and marked the first four as free, and the last one as HFS+. Then Disk utility merged free partitions so I ended with free space + HFS+ partition at the end of the disk. Afterwards I installed Mac OS X in the HFS+ partition and booted with D-I. Best regards file_for_parted Description: Binary data