Hi bugs@,

I installed 7.8 with VMM to a 12.5GB disk. I chose the automatic
partitioning defaults, and /usr is too small to relink the kernel with.
I used x86_64.

There is nothing custom about the install. I chose MBR instead of GPT.

The auto-allocated layout for sd0 is:                                           
                        
#                size           offset  fstype [fsize bsize   cpg]              
                        
  a:           213.5M               64  4.2BSD   2048 16384     1 # /           
                        
  b:           207.0M           437280    swap                    
  c:         12800.0M                0  unused                                  
                        
  d:           221.6M           861216  4.2BSD   2048 16384     1 # /tmp
  e:           245.1M          1315008  4.2BSD   2048 16384     1 # /var        
                        
  f:          1627.0M          1816928  4.2BSD   2048 16384     1 # /usr        
                        
  g:           422.1M          5148992  4.2BSD   2048 16384     1 # /usr/X11R6  
                        
  h:          1214.5M          6013440  4.2BSD   2048 16384     1 # /usr/local  
                        
  i:          2073.4M          8500704  4.2BSD   2048 16384     1 # /usr/src    
                        
  j:          5170.8M         12747008  4.2BSD   2048 16384     1 # /usr/obj    
             
  k:          1405.1M         23336800  4.2BSD   2048 16384     1 # /home  

...

Saving configuration files... done.
Making all device nodes... done.
fw_update: failed.
Cannot fetch http://firmware.openbsd.org/firmware/7.8/SHA256.sig
error: firmware.openbsd.org: no address associated with name
Relinking to create unique kernel...uid 0 on /mnt/usr: file system full

/mnt/usr: write failed,uid 0 on /mnt/usr: file system full
 file system is full

/mnt/usr: write failed, file system is full
uid 0 on /mnt/usr: file system full

/mnt/usr: write failed, file system is full
 failed.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!

...

running rc.firsttime                           
fw_update: failed.                        
Cannot fetch http://firmware.openbsd.org/firmware/7.8/SHA256.sig                
                        
error: firmware.openbsd.org: no address associated with name                    
                        
Checking for available binary patches...
syspatch: cdn.openbsd.org: no address associated with name                      
                        
starting local daemons: cron.                                                   
                        
Thu Nov 13 21:54:55 UTC 2025                                                    
                        
reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC/relink.log
                                                                                
                        
OpenBSD/amd64 (vm) (tty00)                                                      
         
                                                                                
                        
login:          

...

FAQ says that 8GB or more is recommended [1].

man disklabel(8)[2] lists the partition sizes and has 1.5GB as the minimum
for /usr.

disklabel(8)'s caveats[3] section lists no warnings about insufficient space.

Thus, I think that FAQ and disklabel(8)'s man page should be updated, or
disklabel -A should be tweaked, perhaps with a 2GB minimum /usr, so that
relinking can happen.

If 12.5GB is too small for defaults, I think that is okay, but probably the
automatic partitioning should rely on fewer partitions in that instance. It
seems like some tweaking of the algorithm could make it work well.

Also, it says that 256MB is the largest swap created, which is not the case.
Perhaps the installer overrides that?

Thank you!

-Henrich

1: https://www.openbsd.org/faq/faq4.html#Partitioning
2: https://man.openbsd.org/disklabel#AUTOMATIC_DISK_ALLOCATION
3: https://man.openbsd.org/disklabel#CAVEATS

Reply via email to