Mac OS 10.1 installer works in MOL on a flat file!

Alexander Hvostov mol-general@lists.maconlinux.org
Sat, 7 Jun 2003 15:45:44 -0700


--Boundary-02=_jsm4+rDn7SPx3YC
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

I've finally figured out how to get Mac OS 10.1's installer to work properl=
y=20
in MOL, when installing into a plain file (rather than onto an actual disk=
=20
partition).

Here's the steps...

1. Create your plain file, using dd or whatever.
2. Use 'mac-fdisk' on it. For instance:
	mac-fdisk /var/local/lib/mol/mol-disk-osx
=46irst, give the 'i' command to initialize a partition map on it. Then giv=
e the=20
'C' command to create a new partition. Give it the proper blocks, a name, a=
nd=20
the type 'Apple_HFS'. Finally, 'w' to write it (say 'y' when it asks if=20
you're sure), then 'q' to quit.
3. Use 'hformat' (from hfsutils) on it. For instance:
	hformat /var/local/lib/mol/mol-disk-osx 1
The '1' parameter specifies to format partition 1 in this file. Even though=
=20
this isn't a block device, 'hformat' does the right thing.
4. Set MOL to use your file as a disk, by adding the appropriate line to th=
e=20
appropriate molrc. For instance:
	blkdev: /var/local/lib/mol/mol-disk-osx -rw -boot -whole -force

At this point, you should be able to 'startmol -X --cdboot' and have the=20
installer see this disk and install on it.

Hope this helps!

Alex.

--Boundary-02=_jsm4+rDn7SPx3YC
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+4msjtHQW4HWNftkRArUQAJ4oJN9Wev1rfqC6hZqXahEYVvl3ggCfZSrN
rFuRjXw3FEifbBgBcJyhkLo=
=9gpf
-----END PGP SIGNATURE-----

--Boundary-02=_jsm4+rDn7SPx3YC--