Greetings list, Given recent EOL announcements, I'm trying to upgrade an ancient machine from 5.5 to 7. It has 80 Mb total in the root partition, /home/, /var/, /usr/, and /tmp/ on other partitions, and NFS mounts /usr/src, /usr/obj, and /usr/ports from a slightly newer/faster box. I've seen http://www.freebsd.org/releases/7.0R/relnotes.html and http://marc.info/?l=freebsd-stable&m=121278826119286&w=2 which seem to suggest that even with INSTALL_NODEBUG during buildkernel, 7 might not fit in an 80 Mb /. Must I partition a new disk to give more space to /, or can I find more space by deleting /stand/, /modules/, and possibly /rescue/ to shoehorn a custom 7.x kernel in the available space? TIA Alex __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Anish Mistry
2008-Jun-12 18:33 UTC
80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?
On Thursday 12 June 2008, fbsd2 wrote:> Greetings list, > > Given recent EOL announcements, I'm trying to upgrade an ancient > machine from 5.5 to 7. It has 80 Mb total in the root partition, > /home/, /var/, /usr/, and /tmp/ on other partitions, and NFS mounts > /usr/src, /usr/obj, and /usr/ports from a slightly newer/faster > box. I've seen > > http://www.freebsd.org/releases/7.0R/relnotes.html and > http://marc.info/?l=freebsd-stable&m=121278826119286&w=2 > > which seem to suggest that even with INSTALL_NODEBUG during > buildkernel, 7 might not fit in an 80 Mb /. Must I partition a new > disk to give more space to /, or can I find more space by deleting > /stand/, /modules/, and possibly /rescue/ to shoehorn a custom 7.x > kernel in the available space? TIAIt should fit, though you may have issues with kernel.old pushing you over the limit. -- Anish Mistry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080612/5be531ac/attachment.pgp
illoai@gmail.com
2008-Jun-12 18:42 UTC
80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?
2008/6/12 fbsd2 <fbsd2@yahoo.com>:> Greetings list, > > Given recent EOL announcements, I'm trying to upgrade an ancient machine from 5.5 to 7. It has 80 Mb total in the root partition, /home/, /var/, /usr/, and /tmp/ on other partitions, and NFS mounts /usr/src, /usr/obj, and /usr/ports from a slightly newer/faster box. I've seen > > http://www.freebsd.org/releases/7.0R/relnotes.html and > http://marc.info/?l=freebsd-stable&m=121278826119286&w=2 > > which seem to suggest that even with INSTALL_NODEBUG during buildkernel, 7 might not fit in an 80 Mb /. Must I partition a new disk to give more space to /, or can I find more space by deleting /stand/, /modules/, and possibly /rescue/ to shoehorn a custom 7.x kernel in the available space? TIA >If you know you do not need the modules, by all means, to do away with them is space back to you. If you are building from source, you can use the: MODULES_OVERRIDEvariable in /etc/make.conf When you are at the # make installworld stage you can likely delete /stand (I believe it is not used on >=6.x) (Though I am not sitting at the machine now) I believe that / on my 7.x box is about 46M. -- --
Robert Watson
2008-Jun-13 21:16 UTC
80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?
On Thu, 12 Jun 2008, fbsd2 wrote:> Given recent EOL announcements, I'm trying to upgrade an ancient machine > from 5.5 to 7. It has 80 Mb total in the root partition, /home/, /var/, > /usr/, and /tmp/ on other partitions, and NFS mounts /usr/src, /usr/obj, and > /usr/ports from a slightly newer/faster box. I've seen > > http://www.freebsd.org/releases/7.0R/relnotes.html and > http://marc.info/?l=freebsd-stable&m=121278826119286&w=2 > > which seem to suggest that even with INSTALL_NODEBUG during buildkernel, 7 > might not fit in an 80 Mb /. Must I partition a new disk to give more space > to /, or can I find more space by deleting /stand/, /modules/, and possibly > /rescue/ to shoehorn a custom 7.x kernel in the available space? TIAMy Kerberos server runs 7-STABLE and has a 93M root with 25M free. It's a bit tight -- I have to remember to disable the installation of debugging symbols for the kernel and modules, for example. However, it does work fine, and that's even with modules installed. The bigger problem is my old /var now that I have audit enabled. Robert N M Watson Computer Laboratory University of Cambridge
M. Warner Losh
2008-Aug-02 06:22 UTC
80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?
In message: <372128.56919.qm@web51502.mail.re2.yahoo.com> fbsd2 <fbsd2@yahoo.com> writes: : Greetings list, : : Given recent EOL announcements, I'm trying to upgrade an ancient machine from 5.5 to 7. It has 80 Mb total in the root partition, /home/, /var/, /usr/, and /tmp/ on other partitions, and NFS mounts /usr/src, /usr/obj, and /usr/ports from a slightly newer/faster box. I've seen : : http://www.freebsd.org/releases/7.0R/relnotes.html and : http://marc.info/?l=freebsd-stable&m=121278826119286&w=2 : : which seem to suggest that even with INSTALL_NODEBUG during buildkernel, 7 might not fit in an 80 Mb /. Must I partition a new disk to give more space to /, or can I find more space by deleting /stand/, /modules/, and possibly /rescue/ to shoehorn a custom 7.x kernel in the available space? TIA Doesn't look like anybody has answered this question... 80MB is plenty, even for 7.x. However, you'll have to use nanobsd or tinybsd to get that small. You'll likely been unable to do a 'make installworld' to get this size. You'll have to create an image and push it over to this machine somehow. In the 3.x time frame, I had FreeBSD booting with the standard scripts in 13MB without compression. 4.x, 5.x and 6.x bloated these binaries to about 18MB (a few more were added). I haven't built a system based on 7.x with this system due to a change in employment, but expect that it wouldn't be much larger than 20MB for these same files. Some careful honing could reduce that a little, but maybe not a lot. Typical embedded systems that I shipped were on the order of 24MB without X11 and 32-60MB for those with an X11 server. What's this box used for? Warner