mihaip / infinite-mac

A classic Mac loaded with everything you'd want
https://infinitemac.org
Apache License 2.0
1.19k stars 73 forks source link

Allow more control over disk ordering #332

Open fulldecent opened 2 months ago

fulldecent commented 2 months ago

I am trying to boot off of a floppy disk. I named it to .dsk and selected it using the Startup Disk utility. But then when doing restart it will not boot that disk.

This disk is bootable on original hardware.

The disk is a virus, so it is supposed to modify the files on Macintosh HD.

mihaip commented 2 months ago

Which machine/OS are you trying to use? If possible could you attach the floppy image here (you may need to compress it into a .zip first)?

fulldecent commented 2 months ago

Using 7.5 (and possibly 7.5.3)

Virus.dsk.zip

And as to that disk image I can only say "I found it on the internet" lol

The intended function of the "virus" is that if you boot the computer with the disk then it modifies the system drive and startup files on the normal "Macintosh HD". I understand that Infinite Mac might not allow edits to that startup disk. But at a minimum, it will be nice if can allow to set the startup disk and then restart to the other disk on boot.

that-ben commented 2 months ago

Actually, I would +1 this feature. As it is now, if you open the Startup control panel, all disks are highlighted and even if you change the boot disk in there, it does not save it to PRAM and upon reboot, it still boots from the InfiniteMac disk.

mihaip commented 2 months ago

I believe this is a known issue with Basilisk II:

The Startup Disk control panel is not functional in BasiliskII BasiliskII will startup from the first bootable volume in the Volumes list. Trying to use the Startup Disk control panel may cause BasiliskII to crash.

Due to the way built-in disks, disk files and URL-based "CD-ROMs" are handled in Infinite Mac you don't have as much control over the volumes list (you can see the code that it lists them in that order). I'll keep this open as a feature requests.