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

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 Apple                    63 @ 1         ( 31.5k)  Partition map
> /dev/hda2     Apple_Bootstrap bootstrap              1600 @ 64        (800.0k)  NewWorld bootblock
> /dev/hda3                Swap swap                2097152 @ 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




Reply to: