https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299031

            Bug ID: 299031
           Summary: installation may create partition missing superblock
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Starting with version 11-R (Linux-like installer), bsdinstall may create a
partition that lacks a superblock. The main issue appears to be the
configuration of the “/” partition + swap partition + other partitions; the
sizes of the “/” partition and the swap partition can significantly affect the
partitions immediately following them.

This situation can occur on any CPU and with any type or capacity of hard
drive. Below is an example configuring an 80GB hard drive—with a 36GB system
slice (the size of this partition is irrelevant).

Translated with DeepL.com (free version)

=>      63   160086465    da1   MBR  (76G)
        63           1    --free--   (512)
        64    75497422    1 freebsd [active] (36G)
  74587536    83886080    2 freebsd (40G)

Partition Schema 1 -- failed due to partition 4 (da1s1d) without a superblock
         0    1048576     1  freebsd-ufs  (512K)
   1048576   12582912     2  freebsd-swap (6G)
   13631488  61865984     4  freebsd-ufs  (30G)

Partition Schema 2 -- failed due to partition 4 (da1s1d) without a superblock
         0    4194304     1  freebsd-ufs  (2.0G)
   4194304    8388608     2  freebsd-swap (4.0G)
  12582912   62914560     4  freebsd-ufs  (30G)

Partition Schema 3:  working
         0    8388608     1  freebsd-ufs  (4.0G)
   8388608   16777216     2  freebsd-swap (8.0G)
  25165824   50331648     4  freebsd-ufs  (24G)

It looks like that partition a + b must be 4 GB aligned, or it could be
something else.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to