jaromaz / MacintoshPi

MacintoshPi is a project that allows running full-screen versions of Apple's Mac OS 7, Mac OS 8 and Mac OS 9 with sound, active online connection and modem emulation under Raspberry Pi.
https://jm.iq.pl/MacintoshPi
GNU General Public License v2.0
656 stars 24 forks source link

Boot from another .img or .dsk file? #7

Closed aptonline closed 2 years ago

aptonline commented 2 years ago

I’ve successfully installed MacOS 7.6 onto a blank image and have been trying to get the MacOS 7 command to boot it by passing the image name but it keeps booting from the default MacOS 7 HDD image and simply mounting the image even if I bless the volume using Startup Disk control panel.

Is this expected behaviour or should it boot?

It would be really good if you could pass an argument to each Mac OS to boot from a particular install in a future update.

Thanks

jaromaz commented 2 years ago

You should replace the main boot disk located in the directory: /usr/share/macintoshpi/macos7/.

The mac os7 file.dsk command is used to place additional disks to the default system.

aptonline commented 2 years ago

I realise I could do that but it would be useful to pass an argument to override this behaviour and be able to boot to different versions at will.

jaromaz commented 2 years ago

You can create a new Basilisk II configuration file and put it in the directory e.g.: /etc/macintoshpi/myos

then the mac myos command will boot your Mac OS 7 image, and the mac os7 command will boot the default Mac OS 7 image.

Try to look in other directories in the subdirectory /etc/macintoshpi to view other configurations.

aptonline commented 2 years ago

Worked a treat. Thanks for the tip 👍.