Date: Fri, 21 Aug 2009 11:40:20 GMT From: Sylwester Sosnowski <sendpr@ext.no-route.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/138026: sysinstall(8) and and fdisk(8) sets slice flag to active Message-ID: <200908211140.n7LBeKq4049384@www.freebsd.org> Resent-Message-ID: <200908211150.n7LBo1x0032562@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908211140.n7LBeKq4049384>