Re: Upgrading without building and without freebsd-update

2010-07-01 Thread Anders Andersson
2010/7/1 Christer Solskogen christer.solsko...@gmail.com

 I've got two FreeBSD machines on two different networks(and two
 different locations). One of them is as fast machine (i7-920) while
 the other one is a Intel Atom. How can I build on the fast machine and
 use those binaries on the slow one, without mounting /usr/obj using
 nfs? first I was thinking about creating a dump file on the fast
 machine and extract that on the slow, but that wont work on a
 filesystem that is already populated. Would a tarfile work? (how about
 /libexec/ld-elf.so.1?)

 --
 chs,


Hello!

I can provide some help at least. I found the page
http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that
make package creates tgz packages which you can copy over to the slow
machine and use pkg_add to install.

Commands that might be intresting to read about:
make fetch
portinstall

As I am quiet new to this as well, lets hope someone else can explain how to
extract all packages easily (make package seems to work on one single
package, portinstall has an option for making packages as it works through
the build process whihc can be handy to create all dependencies in one go)
and what to think about when building for different architectures (if that
is necessary).

-- 
Anders Andersson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Anders Andersson

 A healthy fear, indeed.

 For one thing, I'd certainly rather have someone
 do rm /boot/kernel.old/*.ko than rm -r /boot/kernel.old.

 Being even more selective is an obvious extension...


Why not move the old useless kernel to another drive. Sure if the system
kernel fails and you need the old one, there is a little bit more work, but
nothing that I can't see be solved by:
1. booting from a livecd
2. mount the /boot and /theotherpartition
3. move the kernel back and move the faulty one away
4. reboot

That saves you from deleting the entire computer/world/Internet and save the
old kernel as well. However, I have never done this myself but the theory
sounds good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org