From owner-freebsd-stable@FreeBSD.ORG Wed Dec 16 00:42:39 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FAC8106566C for ; Wed, 16 Dec 2009 00:42:39 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0340C8FC13 for ; Wed, 16 Dec 2009 00:42:38 +0000 (UTC) Received: by pxi12 with SMTP id 12so315924pxi.3 for ; Tue, 15 Dec 2009 16:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=38x5ewdf8x57M6cW9FKZ0jlJj0v4pOXBwoGlGXC2NIE=; b=WTrG0t7UTmIAsRyXWO8ThoFkJEHRTGf47DpYi4BAqCtvJ/tLjJZpY68dWwcehdUWcW 0qw6IGCrZOF9E33lJq8d4FBe18yapnfppglta0otigEDpFH+iQQuij7d1Ji0jYB++hoX h/KX4Km1Psx/alc0ToYHpMgycf2htdAIM8UZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=M+2WtML70Q64fUNQDqJ9AEJJnZUHSdINNO6J0IjoYfRjcPQPVU0CqkDQp+4xPo2dKg 0ksvjU84s3DQCOuWUfz+cNlaEP62URpXsGwiKAAFlYhBvpccRDUqkuxHxSWqVZ60xqw2 aMC9Loh6n/q4AZ9GBX2b0JxMUak02H3LNlUn8= MIME-Version: 1.0 Received: by 10.115.101.18 with SMTP id d18mr174552wam.191.1260924158567; Tue, 15 Dec 2009 16:42:38 -0800 (PST) In-Reply-To: <20091216000803.GA39686@osiris.mauzo.dyndns.org> References: <4B2802AE.9090107@kernel32.de> <200912151720.37709.freebsd@insightbb.com> <4678E8AE-B873-460A-B126-420B9A06B875@mac.com> <20091216000803.GA39686@osiris.mauzo.dyndns.org> Date: Tue, 15 Dec 2009 16:42:38 -0800 Message-ID: From: Xin LI To: xcllnt@mac.com, freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: update to 8.0-RELEASE --> partition gone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 00:42:39 -0000 On Tue, Dec 15, 2009 at 4:08 PM, Ben Morrow wrote: > Quoth Marcel Moolenaar : >> On Dec 15, 2009, at 2:20 PM, Steven Friedrich wrote: >> >> >> > FreeBSD 8.0 no longer supports "dangerously dedicated" disks. >> >> This is not true. The problem is that sysinstall creates an invalid >> "dangerously dedicated" disk, as demonstrated by doing: >> =C2=A0 =C2=A0 =C2=A0 # fdisk ad8 >> =C2=A0 =C2=A0 =C2=A0 (shows FreeBSD slice information) >> >> =C2=A0 =C2=A0 =C2=A0 # bsdlabel ad8 >> =C2=A0 =C2=A0 =C2=A0 (shows valid but empty disk label) >> >> Marian just needs to wipe out the second sector on the disk to >> remove the BSD disklabel that prevents the kernel from using >> the master boot record in the 1st sector. This exposes ad8s1. >> This then will pick up the BSD disklabel in sector 65 (i.e. >> the second sector in slice 1) to give ad8s1a... > > Are you able to clarify exactly what is no longer working in 8? I've > read things here and there about dangerously dedicated disks no longer > being supported, but no detail about what exactly had changed. You seem > to be implying here that there is only a problem if there are invalid > and/or overlapping labels on the disk; elsewhere I have read that disks > without an MBR aren't supported at all (I presume the faked-up MBR on a > GPT disk counts). If I currently have a working ad2{b,c,d,e}, will they > be picked up by 8, or would I have to repartition slightly smaller with > a useless MBR slice in front? My $0.02: what about labelling them, say, tunefs -L on UFS partitions, and glabel for swap, then change corresponding entry in fstab. Say: - Start into single user - tunefs -L root / - reboot into single user <--- reboot required after tuning / - mount -u /; mount -a - vi /etc/fstab and change "/dev/ad0a" to "/dev/ufs/root" - umount -a - tunefs -L other partitions - mount -a - vi /etc/fstab and change the rest - reboot Cheers, --=20 Xin LI http://www.delphij.net