From owner-freebsd-questions@FreeBSD.ORG Sat Oct 29 05:58:15 2011 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E911065676 for <freebsd-questions@freebsd.org>; Sat, 29 Oct 2011 05:58:15 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm24-vm0.bullet.mail.bf1.yahoo.com (nm24-vm0.bullet.mail.bf1.yahoo.com [98.139.213.161]) by mx1.freebsd.org (Postfix) with SMTP id 029D78FC16 for <freebsd-questions@freebsd.org>; Sat, 29 Oct 2011 05:58:14 +0000 (UTC) Received: from [98.139.212.144] by nm24.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2011 05:58:14 -0000 Received: from [98.139.212.218] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2011 05:58:14 -0000 Received: from [127.0.0.1] by omp1027.mail.bf1.yahoo.com with NNFMP; 29 Oct 2011 05:58:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 220789.55404.bm@omp1027.mail.bf1.yahoo.com Received: (qmail 57744 invoked by uid 60001); 29 Oct 2011 05:58:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1319867894; bh=42DY3JRErgvCWkHSeNGWEGVdBgPMScQqUDYJZusEUVA=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=eurvW2sNceG5K8wKbAA04tFnjFY5izgdc3hGfEwAbvDedxp41sGrlVUPGXqMgTNZodcKQtPi9FGFxJy/+XFqBHVwH2NG5fnvN8DEpes4YxjKgPaMWTJh5Mh5He8fDv//F+MY1uJPj55ghdh/f/JNpbPK3/zSL3sJGEUtivuK+b0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=o0ULW6b5vxZdrG9BSe96DeW8frp1/lKJOUU8o//kfPRLQou+uJ+rRPVwkJ6DdfuiTVJtew/mVovyoiaCq8onZ6AGl576GIA4QocfjlPFbx0ikMr6Xnyz5OlwNNpC98N3AzaxNd7KEFxPjxP5/34602qGuPkPKsqTZUQICyty37w=; X-YMail-OSG: qjWDMMgVM1lpMAth_G6dkxcBjNJTZSQwCdh9isHeyeB.JHe zqk857ZN0YAZ7EtydgA1Canc5ZeV_6KcA7zWnWEYFgeEDLc.LztsIdEcEy7y q8N1FKz9_pCJSS0CpmV5E3KSq6uOp_RdQ1JAEKBR10f_vZTrH7kbO5bayx8s _U6rJjXWWFxoBaHBiJvnpw27rXExVXamKUkAIEsHnnSSpk2dnbsxL9gK1hO. GONNzpi.RMw0og22_9UtoDrVFzC_ofpC4VTm_3Pbn6mO0e43UoKGXFgoXbvv 8SNoTGh3sy6Z2hFgn09gLNj9GQi02u2rC3S8Or5MRiFeVfFCjk7yQy0kZEjQ iTelhZUnZyNVfpTte8pGfejF6.2BF93iO._t9N3COEonu7mzulJdlW3uMLlh xu_fRTsSmIOlqqhKfQ2JL5nUvhDLphFwNRrnWZ6HfQqceWDOmwVXoJvb1bC_ mzLY- Received: from [121.7.30.108] by web160109.mail.bf1.yahoo.com via HTTP; Fri, 28 Oct 2011 22:58:14 PDT X-Mailer: YahooMailWebService/0.8.115.325013 References: <1319819884.93776.YahooMailNeo@web160115.mail.bf1.yahoo.com> <87obx0306w.fsf@oak.localnet> Message-ID: <1319867894.50334.YahooMailNeo@web160109.mail.bf1.yahoo.com> Date: Fri, 28 Oct 2011 22:58:14 -0700 (PDT) From: Unga <unga888@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> In-Reply-To: <87obx0306w.fsf@oak.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: How to dual-boot FreeBSD 9 with Linux? [ SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga <unga888@yahoo.com> List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 29 Oct 2011 05:58:15 -0000 ----- Original Message -----=0A=0A> From: Carl Johnson <carlj@peak.org>=0A>= To: freebsd-questions@freebsd.org=0A> Cc: =0A> Sent: Saturday, October 29,= 2011 4:12 AM=0A> Subject: Re: How to dual-boot FreeBSD 9 with Linux?=0A> = =0A> Unga <unga888@yahoo.com> writes:=0A> =0A>> Hi all=0A>> =0A>> Is any = one by now successfully dual-booting FreeBSD 9 with Linux?=0A>> =0A>> I ha= ve tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs=0A>> Grub1 t= o mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot=0A>> recognise t= he file system type.=0A>> =0A>> Any help in this regard is very much appre= ciated.=0A> =0A> It isn't very difficult and there are at least two ways to= do it.=0A> Grub1 actually does support ffs and ufs2 file systems, but the = linux=0A> distributions don't seem to include the drivers.=A0 If you can ge= t the=0A> source, that should have all of them.=A0 I think that I just got = the grub=0A> package from the FreeBSD file system and copied the additional= drivers=0A> directly into my linux grub directory, but I am not sure now.= =0A> =0A> The other way is to use the 'chainloader' command.=A0 You just sp= ecify the=0A> disk and partition (slice) with the root command, and then ad= d the=0A> commands 'chainloader +1' and 'boot'.=A0 The chainloader command = =0A> just=0A> means to boot whatever is at the first sector of the previous= ly=0A> specified disk and slice.=A0 I think the first sector of a ufs2 file= =0A> system just jumps to the loader.=0A> =0A> The menu items from mine are= just:=0A> =0A> title=A0 =A0 =A0 =A0 =A0 FreeBSD /boot/loader=0A> root=A0 = =A0 =A0 =A0 =A0 =A0 (hd1,2,a)=0A> kernel=A0 =A0 =A0 =A0 =A0 /boot/loader=0A= > boot=0A> =0A> title=A0 =A0 =A0 =A0 =A0 FreeBSD chainloader=0A> root=A0 = =A0 =A0 =A0 =A0 =A0 (hd1,2)=0A> chainloader=A0 =A0 +1=0A> boot=0A> =0A> In= my case, those specifies that they use the third slice on the second=0A> d= isk.=A0 The first menu item requires that you already have the=0A> 'ufs2_st= age1_5' file in your grub directory.=0A> =0A=0AHi Carl=0A=0AThank you very = much for the reply.=0A=0AYour second method (ie. chainloader) worked, but t= he grub still say file system type is unknown.=0A=0AThe ufs2_stage1_5 is av= ailable in /boot/grub/.=0A=0ASince now I can have a working dual boot with = Linux, I conclude this is solved.=0A=0ABest regards=0AUnga