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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 21 11:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylwester Sosnowski
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
fdisk(8) sets a slice active during sysinstall(8), even if
user selected not to touch mbr or make slice active.
>How-To-Repeat:
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.
>Fix:
A temporary fix may be:

1. Set the first slice active by using fdisk(8):
   # fdisk -a /dev/ad0
            or
   # 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)

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


More information about the freebsd-bugs mailing list