upgrading from 6.1 to 6.2 with custom kernel

Jonathan Horne freebsd at dfwlp.com
Sat Jan 20 22:59:03 UTC 2007


On Saturday 20 January 2007 15:40, Daniel A. wrote:
> Christian Baer wrote:
> > On Sat, 20 Jan 2007 13:25:16 -0600 Jonathan Horne wrote:
> >> usually, i:
> >>
> >> rm -rf /usr/src/* /usr/obj/*
> >>
> >> and then just cvsup a whole new set of sources.  i then buildworld and
> >> buildkernel as laid out in the handbook:
> >
> > You do of course know that by doing that you also erase your custom
> > kernel-config file? By default it is in /usr/src/sys/*plattform*/conf.
>
> If he hadn't read the relevant part of the handbook, he indeed would
> have deleted his kernel config file. But since he did read the handbook,
> the kernel config file is still placed in /root/kernels/ or some other
> part of the file-system which one does not erase so thoughtlessly. So
> all he has to do is link his config after the csup :)
>
> > Regards
> > Chris

actually, yes, i do delete my config.  no, i dont keep a copy in my /root/ 
dir... as the whole thing is backed up in rotation to my netbackup server.  
so after i delete it all, and cvsup, i just run a restore job of all my 
custom kernel files that live in ../i386/conf.

6 one way, 1/2 dozen the other.  :)

cheers,
jonathan


More information about the freebsd-questions mailing list