On Sun, Oct 06, 2002 at 01:16:32PM +0200, Benjamin Herrenschmidt wrote: > >Hello Forth-loving people, > > > >Find attached a small bootinfo file, that will boot any attached > >ELF file. > > > >Usage: > > > > cat chain.bootinfo yaboot > chain > > > >and use chain as your 'tbxi' file (what does tbxi mean, anyway?) > > That's actually quite cool for at least one thing: Having > a MacOS based tool that will drop such a file on an HFS > partition, set OF to boot that, and reboot. Then, that script > would first restore OF settings, then launch a "first install". theres no reason to restore OF settings from such a script, it could be done within yaboot. thats something yaboot will need to do for the equivilent of lilo -R that i also plan on implementing. (lilo -R tells lilo to boot a specific non-default image for ONE boot, all subsequent boots revert to the actual default image in lilo.conf, this is useful to test a new kernel, if it panics and reboots after 180 seconds you get your old kernel back). > That's something I'm faced with all the time especially with > new machines: beeing able to easily start a kernel & ramdisk > that aren't the ones on whatever CD ISO you have downloaded > or is available from your distro. this will be solved by the yaboot shell, no config file will be required at all. (find an x86 with grub to see the kind of things you can do) > Actually, the above could be a small version of yaboot & the > boot script in one file that doesn't even contain a kernel > image & ramdisk. It could setup an IP connection and download > them from the bootloader :) i have plans to build something similar to tilo on sparcs. ybin will generate a single file containing the bootloader, kernel and ramdisk. full network support is also on the todo list. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp00005.pgp
Description: PGP signature