From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 18:25:45 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77BC0106566B for ; Mon, 20 Dec 2010 18:25:45 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx1.freebsd.org (Postfix) with ESMTP id 173698FC1C for ; Mon, 20 Dec 2010 18:25:44 +0000 (UTC) Received: by eyh5 with SMTP id 5so1355108eyh.37 for ; Mon, 20 Dec 2010 10:25:43 -0800 (PST) Received: by 10.213.105.131 with SMTP id t3mr2557224ebo.25.1292869543580; Mon, 20 Dec 2010 10:25:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.112.145 with HTTP; Mon, 20 Dec 2010 10:25:23 -0800 (PST) In-Reply-To: <20101220060718.GA3103@alucard.int.rhavenn.net> References: <20101220060718.GA3103@alucard.int.rhavenn.net> From: Chris Brennan Date: Mon, 20 Dec 2010 13:25:23 -0500 Message-ID: To: Henrik Hudson Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: freebsd bootloader / boot0cfg and multiple disks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 18:25:45 -0000 On Mon, Dec 20, 2010 at 1:07 AM, Henrik Hudson wrote: > I'm trying to get the FreeBSD boot loader to to boot off multiple > disks, but I can't seem to get it to see my 3rd disk. > > FreeBSD 8.2-PRE amd64; stock kernel with sound card, ahci and PF added > > disk layout: > ada0: freebsd main install (/, /tmp, /var, /usr, /home, swap) > ada1: freebsd data disk > ada2: win7 with ada2s1 being the "boot" 100MB, ada2s2 and ada2s3 > being partitions > > How can I get boot0cfg to try and boot the 3rd disk, ada2s1? I added the > 3rd > disk after already having the first 2 setup and installed. Normally, > I install Windows first and boot0cfg picks it up fine, but not this > time :) > > The man page shows how to install a boot MBR on a disk and to > reference the slices, but I can't seem to see how to reference a 2nd > or 3rd disk. The default install picks up the 2nd disk (FreeBSD > data), but obviously can't boot from that. So, it does seem to be > able to redirect to other disks. > > I tried doing a boot0cfg -Bv -s 1 ada2, but that seems to just > install a MBR on ada2 and it never gets picked up on ada0 boot menu. > > grub isn't supported on amd64 and grub2 seems to be all "wizards" > and secondary "config" files :( > > Henrik, Did you mark ada0(s1) as bootable? Sounds like you might have missed that and marked the wrong disk/slice as bootable.