Date: Fri, 28 Oct 2011 22:58:14 -0700 (PDT) From: Unga <unga888@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: How to dual-boot FreeBSD 9 with Linux? [ SOLVED] Message-ID: <1319867894.50334.YahooMailNeo@web160109.mail.bf1.yahoo.com> In-Reply-To: <87obx0306w.fsf@oak.localnet> References: <1319819884.93776.YahooMailNeo@web160115.mail.bf1.yahoo.com> <87obx0306w.fsf@oak.localnet>
next in thread | previous in thread | raw e-mail | index | archive | help
----- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1319867894.50334.YahooMailNeo>