From owner-freebsd-questions@FreeBSD.ORG Fri Nov 30 12:49:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9192D623 for ; Fri, 30 Nov 2012 12:49:07 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm7-vm0.bullet.mail.ukl.yahoo.com (nm7-vm0.bullet.mail.ukl.yahoo.com [217.146.183.236]) by mx1.freebsd.org (Postfix) with ESMTP id F2DFD8FC12 for ; Fri, 30 Nov 2012 12:49:06 +0000 (UTC) Received: from [217.146.183.183] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 30 Nov 2012 12:49:00 -0000 Received: from [77.238.184.63] by tm14.bullet.mail.ukl.yahoo.com with NNFMP; 30 Nov 2012 12:49:00 -0000 Received: from [127.0.0.1] by smtp132.mail.ukl.yahoo.com with NNFMP; 30 Nov 2012 12:49:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1354279740; bh=mkY4JQwNhbIrk3vOOF1T08pNKdYSpC4fAT+6g6NioBk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=oI6K0ONqZbOaVINa0C4x2utUNM0iOCM6/5CS1V/19nNc0c6PojJkhNq4YW124GE903zGqBSen5EK2+YQWtPjaJb0ZtFSAcpaioBKAYCi69mUyUMwFZQQzrrSpy9ajJU8D6jnghzVhPZV2/0lNb5TgbSOIBFpGqkGuDPB+N8Dt3g= X-Yahoo-Newman-Id: 176651.28090.bm@smtp132.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Q5T1nzMVM1lGJCIfZ0E2gdBbJ4gI1usS2DxLyE8v5iaZxnd NElGlJrxRSCM93Lxw1X5EmApYYpaYUmNmL2ox1V1qTtxbP5kYGLMKu.56xmr 902E8H0Yr_uu5JQoQkLyReSNFia0j9jIb5pSGaaUNGIKQs7YrHGynTnOS_n1 YpBcucnX6BHaw8dY.Sy2pj9u2isp5JA536ZUvWZ_Xr7cRzdBfgwoV9R.0vk8 j2Da0EPJRr8LsA_lcWkzzqXd_zoUZ7I0c702rX7yQ9ZBXR9YYpLyECxB38jB NKQfZqubUXAn_dQ4OiAwUSYs2BTIBf0FZhDcVZN4YjxRzs7blZnHvzikvAQF 0HgkdK4O4JMF9ozEJgvo7cu3tg6Q1aTfpkuWMxR0n11leWQt.tw1Ljeo5ke_ UL.Y0jrnJAegRUtKbpLkql9I024hStl0E0cwPWakelO_Xi1xobwsk6RQhP3A oTPrJ4EiVnXdsJp.02YJtwNIVGjAXiyl87sU6puAzoB.D7ot57nvCrmIl7nl BEs9MBG4N6of. X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.4.18] (ralf.mardorf@92.231.4.18 with login) by smtp132.mail.ukl.yahoo.com with SMTP; 30 Nov 2012 12:49:00 +0000 GMT Message-ID: <1354279739.3059.163.camel@q> Subject: Re: Cannot boot - creating partition and installing FreeBSD is [solved] From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 30 Nov 2012 13:48:59 +0100 In-Reply-To: <50B8A1CB.3010007@thanelange.no> References: <1353795280.2662.12.camel@q> <20121124233520.7ad4b4be.freebsd@edvax.de> <1353798889.2662.46.camel@q> <20121125002717.11a61c8d.freebsd@edvax.de> <1353807268.2773.16.camel@q> <20121125131908.671f6d31.freebsd@edvax.de> <1353846552.2508.23.camel@q> <1353877782.2508.225.camel@q> <1354029192.2827.11.camel@q> <1354046327.2528.15.camel@q> <1354086404.2528.89.camel@q> <1354119648.3152.4.camel@q> <1354156932.2393.22.camel@q> <87fw3tj9m1.fsf@oak.localnet> <50B8A1CB.3010007@thanelange.no> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 12:49:07 -0000 On Fri, 2012-11-30 at 13:08 +0100, Gyrd Thane Lange wrote: > On 29.11.2012 05:50, Carl Johnson wrote: > > Ralf Mardorf writes: > > > >> Installing PC-BSD 8.2 x64 did work without issues. I unchecked the > >> bootloader install. Linux grub legacy until now is unable to boot BSD, > >> because of "Error17: Cannot mount selected partition" > >> > >> spinymouse@q:~$ cat /boot/grub/menu.lst > >> timeout 8 > >> default 0 > >> color light-blue/black light-cyan/blue > >> > >> title FreeBSD > >> root (hd0,a) > >> kernel /boot/loader > >> > >> [snip] > >> > >> Linux only recognize the slice, but not what's inside it: > >> spinymouse@q:~$ sudo fdisk -l > > > > You might want to try a chainloader boot from grub. The following is a > > chainloader rule that I have used, as well as a normal loader boot. I > > use the loader boot, but I also tested the chainloader boot. You will > > need a ufs2_stage1_5 file in your grub directory for a loader boot, and > > linux grub might not have it available. > > > > title FreeBSD, sda3 (oak) chainloader > > root (hd1,2) > > chainloader +1 > > boot > > > > title FreeBSD, sda3 (oak) /boot/loader > > root (hd1,2,a) > > kernel /boot/loader > > boot > > In case you have not got it working yet, I can offer a glimmer of hope > by telling how I managed to multi boot Linux and FreeBSD on MBR logical > partitions. > > By using the grub patch at: > > > ports/158362: sysutils/grub [patch] allow GRUB to boot FreeBSD from an > extended partition > > You must rebuild and reinstall grub (from Linux I guess). > > My install is fairly old and from the days when sysutils/grub at least > was installable from within FreeBSD i386. The patch itself does not > touch FreeBSD sources, only grub. So I expect it will build from any > OS/machine that can build grub. > > When installed I can boot FreeBSD from an MBR logical partition like so: > > title FreeBSD CURRENT (amd64) (disk1, logical partition s11) > root (hd0,10,a) > kernel /boot/loader > boot > > Depending upon how recent version of FreeBSD you have installed you may > have to config the FreeBSD loader to find its root file system. > 10-CURRENT should be okay. > > Best regards, > Gyrd ^_^ Hi :) I didn't work on my machine, but will continue today or tomorrow. FWIW I told the PC-BSD installer not to install a bootloader, do I have to install a FreeBSD loader now, or is it already installed? On Debian users mailing list I got some replies with recommendations too. Thank you! Ralf