From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 20:54:27 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 775E9D99 for ; Wed, 23 Apr 2014 20:54:27 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 527BC1709 for ; Wed, 23 Apr 2014 20:54:27 +0000 (UTC) Received: from [10.20.218.84] (unknown [204.239.250.1]) (Authenticated sender: roleaccount@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 861916D203 for ; Wed, 23 Apr 2014 20:54:26 +0000 (UTC) Message-ID: <53582881.9020301@allanjude.com> Date: Wed, 23 Apr 2014 16:54:25 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Booting from ZFS root on MBR layout fails on ThinkPad X61s References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 20:54:27 -0000 On 2014-04-23 16:33, Andrey Fesenko wrote: > On Wed, Apr 16, 2014 at 2:01 AM, Sevan / Venture37 wrote: >> Hi, >> I decided to wipe away the disk in my X61s & start afresh with a new >> install of FreeBSD-Current at the same time switching to root on ZFS >> (previously /boot was on UFS). >> I've been unsuccessful in being able get the system to boot, after >> trying various combinations of >> https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition I switched back to >> using the install menu option & just switching from GPT to MBR >> (everything else as default). >> Once install completes & the system reboots, the system hangs at a prompt. >> >> I was pointed to a post regarding modifying partition ID's by Allan >> Jude as there seems to have been an issue with ThinkPads & FreeBSD in >> the past. This also didn't work & caused the system to reset. >> >> What should be my next step for trying to debug this issue? >> >> >> Sevan / Venture37 > > It seems there are some problems with compatibility :( > I'm have X220 my config > # camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > > % gpart show > => 63 468862065 ada0 MBR (224G) > 63 234441585 1 freebsd (112G) > 234441648 234420480 2 freebsd (112G) > > => 0 234441585 ada0s1 BSD (112G) > 0 234441585 1 freebsd-zfs (112G) > > => 63 234441585 ada1 MBR (112G) > 63 234441585 1 freebsd [active] (112G) > > => 0 234441585 ada1s1 BSD (112G) > 0 234441585 1 freebsd-zfs (112G) > > system ZFS mirror x220pool (ada0s1a ada1s1a) boot only ada1 (msata) disk. > Boot with GPT not work, black screen and reboot without any menu. > > When I used HDD as ada1 boot with him work MBR method > Might be worth trying to boot from UEFI but it's still an experimental > method https://wiki.freebsd.org/UEFI > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" If anyone who is having trouble getting ZFS booting on one of these Lenovos is going to be at BSDCan, and has a spare disk they are willing to let me hack on, I would be interested in trying to get it booting for you so we can develop a solution to this issue if there is one. I am under the impression the issue is the way gpart does the MBR (or pMBR) with respect to the 'active' flag, but there are a number of different things i'd like to try. It all works flawlessly on my T530