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

Bug#246841: qualified success on iBook G4



On Tue, May 04, 2004 at 01:10:27PM +0300, Anton Zinoviev wrote:
> On  3.V.2004 at 22:59 (+0300) Anton Zinoviev wrote:
> > Yes, you are right.  The script partman-newworld/valid_filesystems
> > should return hfs if and only if the property=newworld.

I think that should be "should return newworld", as
parted_names/newworld will convert that to the right name.
(Alternatively, parted_names/newworld could be renamed to
parted_names/hfs.)

> No, I wrote this too quickly.  At present there is no package
> partman-hfs to take care for the creation of a hfs file system.

There's no need for this. mkofboot (called from yaboot-installer) always
creates a new filesystem; any filesystem created by partman would be
overwritten anyway. This already works.

I suppose I could have something in partman do the formatting and then
use ybin instead, but why reinvent the wheel? Doing it that way is much
more awkward because I'd have to have an hfsutils-udeb available,
whereas yaboot-installer runs after the base system installation and can
just apt-install stuff and chroot into /target to do the work.

I don't think you would ever want to use an HFS partition being used by
Mac OS as a newworld boot partition; you would have to go through
serious contortions to make sure that Mac OS was still bootable.
bootstrap(8) says:

       The  MacOS  System  Folder is always marked as blessed, this is
       required for MacOS as well as OpenFirmware.  The  MacOS  System
       Folder  also  contains  its  own boot loader which has the tbxi
       file type, this makes installing yaboot(8) onto a MacOS  parti-
       tion  is  difficult.   The  only  way to install yaboot(8) on a
       MacOS boot partition is to modify OpenFirmware to boot the CHRP
       script  directly.  Given this it is highly recommended that you
       create a dedicated bootstrap partition for yaboot(8).

Therefore I don't think that this is a problem, and I think "fixing" it
would actually be more harmful than not.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: