On 26 Nov 2001, Eric W. Biederman wrote:

>  * Step 4:  Test for which copy of linuxbios to boot.
>  *     We use 2 bits of CMOS ram.
>  *     Bit 0: Initial boot direction
>  *            0 - Boot the failsafe image.
>  *            1 - Boot the other image.
>  *     Bit 1: Reboot direction
>  *            0 - Boot the failsafe image.
>  *            1 - Boot the other image.
>  *
>  *     On initial boot we read bit0, and write it to bit1, and clear
>  *     bit0.
>  *
>  *     On a reboot the bits are not touched.
>  *
>  *     Then the appropriate image is jumped to.


I assume that on a full boot to Linux, you then set Bit 0? Because
otherwise it seems you will always boot the failsafe (since you always
clear bit 0).

Or did I miss something?

ron

Reply via email to