2002-Aug-19
To get lilo to make second disk bootable (like a mirror) when it is switched to new disk:
/mnt/root/sbin/lilo -C /etc/lilo.conf-hdb-mirror -r /mnt/root -v -b /dev/hdb(Note that chroot(1) is not needed.)
--- /etc/lilo.conf Wed Jul 10 13:08:37 2002 +++ /etc/lilo.conf-hdb-mirror Mon Aug 19 20:02:18 2002 @@ -1,4 +1,6 @@ boot=/dev/hda +disk=/dev/hdb + bios=0x80 map=/boot/map install=/boot/boot.b prompt
Look at source to see when resettodr(9) is called. It ("set battery-backed clock from system time") happens during cpu_reboot() in sys/arch/i386/i386/machdep.c.
And looked at source for "clock: unknown CMOS layout" kernel message. It is in /sys/arch/i386/isa/clock.c. I believe it happens when trying to get a CMOS century byte -- maybe an old CMOS.
My xconsole reported:
sshd[5124]: error: Could not load host key: /etc/ssh_host_rsa_keySo I ran: "/etc/rc.d/sshd forcekeygen". This skipped existing keys and then generated public/private rsa key pair.