[openfirmware] Using Open Firmware as a boot manager

Mitch Bradley wmb at laptop.org
Wed Mar 16 15:10:06 CET 2011


I'm traveling now and will be home tomorrow.  I'll tell you more when I 
get home, but for now, you can try this:

ok devalias c /pci/pci-ide at 1f,1/ide at 0/disk at 0
ok .partitions c
ok dir c:\

On 3/16/2011 3:57 AM, Mark Morgan Lloyd wrote:
> Mark Morgan Lloyd wrote:
>
>>> http://www.firmworks.com/QuickRef.html
>>
>> Thanks, I'd missed that and had been working through the IEEE doc.
>
> OK, really trying baby steps here. Accepting that OFW doesn't implement
> or allow access to a PC-style BIOS, so can't be used to load any OS that
> makes BIOS calls (even if only during initialisation), how can I use it
> to examine the partition table, boot sectors, and possibly filesystems
> on an IDE disc?
>
> Specifically, on one of my development systems I can see a node
> /pci/pci-ide at 1f,1/ide at 0/disk at 0, but what comes next?
>



More information about the openfirmware mailing list