Re: When the going gets weird - Mac Mini
- Reply: Ian Smith : "Re: When the going gets weird - Mac Mini"
- In reply to: Tim Daneliuk : "When the going gets weird - Mac Mini"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Mar 2023 02:15:11 UTC
On 2/28/23 19:23, Tim Daneliuk wrote:
> OK, so I installed 13.1 i386 on an ancient Mac Min Core2 Duo but I cannot for
> the life of me figure out how to eject the CD using a standard PC keyboard
> connected to that machine. That means it boots into installation media
> every time.
>
> I've scoured the web for what keyboard magic will do this, but it appears
> that OSX has to be installed for any of them to work.
>
> So, I interrupt the boot loader and got a list of the known disks, on
> the theory that if I can manually force booting from he internal drive
> I can use BSD commands to kick the installation media out of the drive.
>
> So... I'd appreciate help with two issues:
>
> 1. Once I am in the boot loader at the OK prompt I see two drives
> I see the boot drive I want: disk0s1a What is the magic
> incantation to force the loader to boot off the drive?
>
> 2. Once I have FreeBSD running off the internal drive, what is the
> magic incantation to eject the installation medium?
>
> Stupid Apple and their infernal need to make everything moron-proof
> makes things worse Grrrrrrr....
>
>
> TIA,
>
Inevitably, after hours of being stuck on this (more out of curiosity
than actual need), I found the answers about 10 mins after I posted the
above. In hopes of helping other poor souls...
1. Get to the bootloader OK prompt and:
lsdev
set currdev="disk0s1"
set vfs.root.mountfrom="ufs:/dev/ada0s1a"
boot
2. Log into root account after its booted and:
cdcontrol -f /dev/cd0 eject
Sorry for being a pest!