misc/138026: sysinstall(8) and and fdisk(8) sets slice flag to active

Sylwester Sosnowski sendpr at ext.no-route.org
Fri Aug 21 11:50:02 UTC 2009

>Number:         138026
>Category:       misc
>Synopsis:       sysinstall(8) and and fdisk(8) sets slice flag to active
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 21 11:50:01 UTC 2009
>Originator:     Sylwester Sosnowski
>Release:        7.2-RELEASE
fdisk(8) sets a slice active during sysinstall(8), even if
user selected not to touch mbr or make slice active.
1. Install FreeBSD 7.2-RELEASE using sysinstall(8)
2. Create a new slice at the fdisk(8) screen.

   Let's say your slices look as following:

   Hard Disk total size: 15G

   Slice    FS          Size
   ad0s1    ext3        5G
   ad0s2    linux-swap  GG
   So create 'ad0s3' by pressing 'c' and type 5G.
3. type 'q' to quit..
4. Proceed to bsdlabel and set up the partitions.

After installation has finished, you'll see the FreeBSD bootloader
(even if the user choice was not to install the bootloader and
partition was not set active manually).

By running 'fdisk' you'll see, that the 3rd slice, your BSD slice is
marked active.
A temporary fix may be:

1. Set the first slice active by using fdisk(8):
   # fdisk -a /dev/ad0
   # fdisk -a /dev/da0

   depending on what's your hard disk.

   And fdisk(8) will ask you to make a slice  active.
   If you are being asked for a slice, enter 3 (or your BSD slice)

2. Install FreeBSD manually (by using the FreeBSD 7.2-RELEASE DVD)


More information about the freebsd-bugs mailing list