From owner-freebsd-questions@FreeBSD.ORG Fri Nov 30 13:50:34 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 097D4484 for ; Fri, 30 Nov 2012 13:50:34 +0000 (UTC) (envelope-from gyrd-nani@thanelange.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id 91FEF8FC15 for ; Fri, 30 Nov 2012 13:50:33 +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 <0MEA00JX9ZS8MR50@get-mta-out03.get.basefarm.net> for freebsd-questions@freebsd.org; Fri, 30 Nov 2012 14:50:32 +0100 (MET) Received: from get-mta-scan02.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 085651EA8346_B8B9A8B for ; Fri, 30 Nov 2012 13:50:32 +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 92820194B4C_B8B9A7F for ; Fri, 30 Nov 2012 13:50:31 +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 <0MEA00LXLZS5RG00@get-mta-in02.get.basefarm.net> for freebsd-questions@freebsd.org; Fri, 30 Nov 2012 14:50:31 +0100 (MET) Received: (qmail 60981 invoked by uid 89); Fri, 30 Nov 2012 14:50:29 +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 14:50:29 +0100 Message-id: <50B8B9A5.8060200@thanelange.no> Date: Fri, 30 Nov 2012 14:50:29 +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: Ralf Mardorf 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> <50B8A1CB.3010007@thanelange.no> <1354279739.3059.163.camel@q> In-reply-to: <1354279739.3059.163.camel@q> Cc: freebsd-questions@freebsd.org 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 13:50:34 -0000 On 30.11.2012 13:48, Ralf Mardorf wrote: > 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? It is already installed as /boot/loader. This is a later stage loader. Not to be confused with the bootstrap code in the boot sector of the entire disk (which you correctly kept as grub instead of overwriting). > > On Debian users mailing list I got some replies with recommendations > too. > > Thank you! You're welcome, best of luck! Gyrd ^_^ > Ralf > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >