infinite-mac icon indicating copy to clipboard operation
infinite-mac copied to clipboard

Allow more control over disk ordering

Open fulldecent opened this issue 1 year ago • 5 comments

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.

fulldecent avatar Aug 21 '24 03:08 fulldecent

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)?

mihaip avatar Aug 21 '24 05:08 mihaip

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.

fulldecent avatar Aug 27 '24 01:08 fulldecent

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.

that-ben avatar Aug 28 '24 11:08 that-ben

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 request.

mihaip avatar Sep 01 '24 01:09 mihaip

Other emulators may have control over disk location and partition order (DingusPPC? though you might need to wait for a future commit).

For such emulators, you may need a Disks list for each possible location (MacSuperDrive@0-1, ScsiMesh/@0-6, ScsiCurio/@0-6, Ide0/@0-1, Ide1/@0-1, CmdAta0/@0-1, CmdAta1/@0-1, Don't Care)

The list is for appending multiple partitions or for using multiple LUNs (if LUNs are supported). LUN could be a separate location parameter.

Or each disk that is specified can be a tuple with a location pair. Each disk with a duplicate location will have its partitions appended to the first disk at that location.

joevt avatar Apr 17 '25 22:04 joevt