Re: installkernel on small disk
Le 08/02/2009 à 01:51:50-0700, Tim Judd a écrit Albert Shih wrote: Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. With an NFS mount, with sneakernet, or scp. On the machine with enough disk space: make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel #hackish and i'd be worried of this. It will force a backup of the running kernel to the remote /boot/kernel.old I'd recommend: make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel # bring the otherkernel.tgz file to the machine, maybe by usb stick, and extract. don't forget to tar -xz*p*f (permissions) Thanks. But in that case why I can't just do cd /boot tar czvf some_place/kernel.tgz kernel and just transfert the kernel.tgz and make the tar xpf ? How thin on disk space are you? 2 Go for everything But I can mount by NFS more space (very more). Thanks for the answer. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 10 fév 2009 00:26:02 CET ___ 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: installkernel on small disk
Albert Shih wrote: Le 08/02/2009 à 01:51:50-0700, Tim Judd a écrit Albert Shih wrote: Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. With an NFS mount, with sneakernet, or scp. On the machine with enough disk space: make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel #hackish and i'd be worried of this. It will force a backup of the running kernel to the remote /boot/kernel.old I'd recommend: make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel # bring the otherkernel.tgz file to the machine, maybe by usb stick, and extract. don't forget to tar -xz*p*f (permissions) Thanks. But in that case why I can't just do cd /boot tar czvf some_place/kernel.tgz kernel and just transfert the kernel.tgz and make the tar xpf ? That is what I have above, commented out as another option. How thin on disk space are you? 2 Go for everything But I can mount by NFS more space (very more). Thanks for the answer. Regards. ___ 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: installkernel on small disk
Albert Shih wrote: Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. With an NFS mount, with sneakernet, or scp. On the machine with enough disk space: make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel #hackish and i'd be worried of this. It will force a backup of the running kernel to the remote /boot/kernel.old I'd recommend: make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel # bring the otherkernel.tgz file to the machine, maybe by usb stick, and extract. don't forget to tar -xz*p*f (permissions) How thin on disk space are you? ___ 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
installkernel on small disk
Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 6 fév 2009 21:18:28 CET ___ 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