conf/160298: sysinstall does not allocate enough space in / for kernel rebuild

Brett Glass freebsd-prs at brettglass.com
Mon Aug 29 21:00:28 UTC 2011


>Number:         160298
>Category:       conf
>Synopsis:       sysinstall does not allocate enough space in / for kernel rebuild
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 29 21:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Brett Glass
>Release:        8.1-RELEASE
>Organization:
LARIAT
>Environment:
>Description:
Recently installed FreeBSD on a new system. It allocated 384M (the default, apparently) for the / partition. I then rebuilt the kernel. During installation of a new kernel (using "make installkernel" from /usr/src) FreeBSD backs up the old one and then installs the new one. FreeBSD has apparently grown, because installation of the new kernel (including symbols and kernel modules) overflowed the partition. There's no way to adjust partition sizes easily in FreeBSD, so it's not possible to rebuild the kernel unless one foregoes generating symbols (which can make debugging difficult).
>How-To-Repeat:
Install FreeBSD 8.1. Make a custom kernel. Install it.
>Fix:
Change sysinstall to allocate enough room in / to allow rebuilding of the kernel with backup of the original (GENERIC) kernel. Before each release, verify that the default size of / does not need to be increased to allow this.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list