Date: Mon, 21 Jan 2008 07:44:06 +0100 From: "Zbigniew Szalbot" <zszalbot@gmail.com> To: "Manolis Kiagias" <sonicy@otenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: going from 6.2 to 6.3 and custom kernel Message-ID: <94136a2c0801202244m524383fak5053d7204224f33f@mail.gmail.com> In-Reply-To: <47943DB6.7070301@otenet.gr> References: <94136a2c0801181417w395f7532w4761fc76388ed60@mail.gmail.com> <47912AE1.6000603@otenet.gr> <94136a2c0801190114u46f872eas8f6afd5e52dd73b1@mail.gmail.com> <4791C177.6030304@otenet.gr> <94136a2c0801202225r47f424a7gfc3f3fbebffc9403@mail.gmail.com> <47943DB6.7070301@otenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, 2008/1/21, Manolis Kiagias <sonicy@otenet.gr>: > Zbigniew Szalbot wrote: > > Hello, > > > > > >>>> It will not update your kernel, but if you do freebsd-update install you > >>>> will get an updated GENERIC kernel in /boot/GENERIC. > >>>> > >>>> This is what I did: > >>>> > >>>> freebsd-update -r 6.3-RELEASE upgrade > >>>> > >>>> (got the warning you mentioned) > >>>> > >>>> freebsd-update install > >>>> > >>>> Got a message about installing kernel updates. Got a new generic kernel > >>>> in /boot/GENERIC (check to see this exists!) > >>>> > > > > Yes, on the other machine there is no /boot/GENERIC > > So what do I do (I followed the steps you described). > > > > # locate GENERIC > > /usr/src/sys/alpha/conf/GENERIC > > /usr/src/sys/alpha/conf/GENERIC.hints > > /usr/src/sys/amd64/conf/GENERIC > > /usr/src/sys/amd64/conf/GENERIC.hints > > /usr/src/sys/i386/conf/GENERIC > > /usr/src/sys/i386/conf/GENERIC.hints > > /usr/src/sys/ia64/conf/GENERIC > > /usr/src/sys/ia64/conf/GENERIC.hints > > /usr/src/sys/pc98/conf/GENERIC > > /usr/src/sys/pc98/conf/GENERIC.hints > > /usr/src/sys/powerpc/conf/GENERIC > > /usr/src/sys/powerpc/conf/GENERIC.hints > > /usr/src/sys/sparc64/conf/GENERIC > > /usr/src/sys/sparc64/conf/GENERIC.hints > > > > > > Thanks! > > > > Zbigniew Szalbot > > > > > So, you actually run freebsd-update install? Yes, I did. sh freebsd-update.sh -f freebsd-update.conf install > Running just the freebsd-update -r 6.3-RELEASE upgrade part will not > install anything. You will have to run freebsd-update install, it will > complain about not running a GENERIC kernel and install the new one in > /boot/GENERIC. Although in my case I believe I already had a > /boot/GENERIC kernel, and I think this was created by standard > freebsd-update (i.e. when going from a -p# to another -p# while in 6.2) > > Could you please send the output of uname -a and ls -la /boot Here they go: FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul 4 13:29:40 CEST 2007 root@domain.tld:/usr/obj/usr/src/sys/LISTS i386 $ ls -la /boot total 836 drwxr-xr-x 6 root wheel 512 Jan 21 07:21 . drwxr-xr-x 23 root wheel 512 Jan 19 18:06 .. -r--r--r-- 1 root wheel 7638 Jan 22 2007 beastie.4th -r--r--r-- 1 root wheel 8192 Jan 21 07:21 boot -r--r--r-- 1 root wheel 512 Jan 22 2007 boot0 -r--r--r-- 1 root wheel 512 Jan 21 07:21 boot0sio -r--r--r-- 1 root wheel 512 Jan 22 2007 boot1 -r--r--r-- 1 root wheel 7680 Jan 21 07:21 boot2 -r--r--r-- 1 root wheel 1201 Jan 21 07:21 cdboot drwxr-xr-x 2 root wheel 512 Jan 21 07:21 defaults -r--r--r-- 1 root wheel 1741 May 7 2006 device.hints -r--r--r-- 1 root wheel 2249 Jan 22 2007 frames.4th drwxr-xr-x 2 root wheel 9728 Jan 21 07:21 kernel.old -r-xr-xr-x 1 root wheel 217088 Jan 21 07:21 loader -r--r--r-- 1 root wheel 7772 Jan 22 2007 loader.4th -rw-r--r-- 1 root wheel 0 Sep 8 2006 loader.conf -r--r--r-- 1 root wheel 15219 Jan 22 2007 loader.help -r-xr-xr-x 1 root wheel 212992 May 7 2006 loader.old -r--r--r-- 1 root wheel 389 May 7 2006 loader.rc -r--r--r-- 1 root wheel 512 Jan 22 2007 mbr drwxr-xr-x 2 root wheel 512 May 7 2006 modules drwxr-xr-x 2 root wheel 9728 Jan 21 07:21 mykernel.old -r--r--r-- 1 root wheel 219136 Jan 21 07:21 pxeboot -r--r--r-- 1 root wheel 692 Jan 22 2007 screen.4th -r--r--r-- 1 root wheel 36440 Jan 22 2007 support.4th Thank you! I can repeat upgrade/install procedure but will it help? Thanks! Zbigniew Szalbot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94136a2c0801202244m524383fak5053d7204224f33f>