How to boot new kernel
kes-kes at yandex.ru
Mon Dec 12 07:48:50 UTC 2011
How I can figure out the correspondence of bios drive number and
Have a look at boot.config file you should be able to do something
On Dec 11, 2011 8:57 PM, "Kon'kov Evgenij" <kes-kes at yandex.ru>
In system two disks now:
# kenv | grep dev
one was with installed FreeBSD (ad4) and second is empty (ad8)
I install new system to ad8 and add to (ad4) /boot/loader.conf next
so next time I booted from second hdd.
But now I have problem.
How to boot kernel from second device instead of first one.
BIOS starts to run loader from first device (ad4) and kernel is booted
from it but all other is mounted from (ad8)
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad8s1a 1G 117M 809M 13% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/ad8s1e 1G 267M 660M 29% /tmp
/dev/ad8s1f 39G 23G 13G 64% /usr
/dev/ad8s1d 5.8G 3.9G 1.5G 72% /var
procfs 4.0k 4.0k 0B 100% /proc
devfs 1.0k 1.0k 0B 100% /var/named/dev
so in memory I have old kenel
uname -a shows that #0: Sat Nov 12 20:17:02 EET 2011
(I have compiled new kenel on 2011 12 03 )
but on disk all is new: kernel and world.
How to force to load kernel from second drive (without access to
Kon'kov mailto:kes-kes at yandex.ru
1. mailto:kes-kes at yandex.ru
2. mailto:kes-kes at yandex.ru
More information about the freebsd-questions