From owner-freebsd-questions@FreeBSD.ORG Fri Nov 30 12:08:55 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 148E7A6E for ; Fri, 30 Nov 2012 12:08:55 +0000 (UTC) (envelope-from gyrd-se@thanelange.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id A570B8FC0C for ; Fri, 30 Nov 2012 12:08:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from get-mta-scan02.get.basefarm.net ([10.5.16.4]) by get-mta-out03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0MEA00HOPV2N6G90@get-mta-out03.get.basefarm.net> for freebsd-questions@freebsd.org; Fri, 30 Nov 2012 13:08:47 +0100 (MET) Received: from get-mta-scan02.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 7902D1EA8339_B8A1CFB for ; Fri, 30 Nov 2012 12:08:47 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan02.get.basefarm.net (Sophos Email Appliance) with ESMTP id 563DF1949B2_B8A1CFF for ; Fri, 30 Nov 2012 12:08:47 +0000 (GMT) Received: from cm-84.211.88.167.getinternet.no ([84.211.88.167]) by get-mta-in02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with SMTP id <0MEA009C8V2JE410@get-mta-in02.get.basefarm.net> for freebsd-questions@freebsd.org; Fri, 30 Nov 2012 13:08:47 +0100 (MET) Received: (qmail 58853 invoked by uid 89); Fri, 30 Nov 2012 13:08:43 +0100 Received: from unknown (HELO ?10.0.10.184?) (gyrd@thanelange.no@77.241.104.2) by cm-84.211.88.167.getinternet.no with SMTP; Fri, 30 Nov 2012 13:08:43 +0100 Message-id: <50B8A1CB.3010007@thanelange.no> Date: Fri, 30 Nov 2012 13:08:43 +0100 From: Gyrd Thane Lange User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 To: freebsd-questions@freebsd.org, ralf.mardorf@rocketmail.com Subject: Re: Cannot boot - creating partition and installing FreeBSD is [solved] 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> In-reply-to: <87fw3tj9m1.fsf@oak.localnet> 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:08:55 -0000 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 ^_^