Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 20:15:11 -0600
From:      Tim Daneliuk <tundra@tundraware.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: When the going gets weird - Mac Mini
Message-ID:  <1feb6dbc-380a-6e8b-f58d-b7f728d7f2f0@tundraware.com>
In-Reply-To: <1d7b3472-d266-b018-8e37-deb4c8331f37@tundraware.com>
References:  <1d7b3472-d266-b018-8e37-deb4c8331f37@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1feb6dbc-380a-6e8b-f58d-b7f728d7f2f0>