[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
yaboot init=/linuxrc
I am having trouble doing some custom boot steps before init runs. I
have a script /linuxrc that needs to be executed as pid 1 so that it can
turn around and call init when it is done. I followed the directions to
do this using the grub boot loader. In those directions the option
init=/linuxrc is passed to the kernel so that the kernel will execute
the script as pid 1. This option doesn't seem to be working with
yaboot. Initially I didn't have the option set, and it found and
executed the linuxrc script but not as pid 1. Then I moved the script
to /bin/rstrt and added the option init=/bin/rstrt and the kernel did
not find the script.
Ultimately I need to run as pid 1 so I can hand over boot up to the init
script. How do you do this with the yaboot loader.
I am currently using kernel 2.6.8.1 on an ibook G4 12" using the Debian
distro
Mike Power