Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

----- Original Message -----

> From: Carl Johnson <carlj@peak.org>
> To: freebsd-questions@freebsd.org
> Cc: 
> Sent: Saturday, October 29, 2011 4:12 AM
> Subject: Re: How to dual-boot FreeBSD 9 with Linux?
> 
> Unga <unga888@yahoo.com> writes:
> 
>>  Hi all
>> 
>>  Is any one by now successfully dual-booting FreeBSD 9 with Linux?
>> 
>>  I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs
>>  Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot
>>  recognise the file system type.
>> 
>>  Any help in this regard is very much appreciated.
> 
> It isn't very difficult and there are at least two ways to do it.
> Grub1 actually does support ffs and ufs2 file systems, but the linux
> distributions don't seem to include the drivers.  If you can get the
> source, that should have all of them.  I think that I just got the grub
> package from the FreeBSD file system and copied the additional drivers
> directly into my linux grub directory, but I am not sure now.
> 
> The other way is to use the 'chainloader' command.  You just specify the
> disk and partition (slice) with the root command, and then add the
> commands 'chainloader +1' and 'boot'.  The chainloader command 
> just
> means to boot whatever is at the first sector of the previously
> specified disk and slice.  I think the first sector of a ufs2 file
> system just jumps to the loader.
> 
> The menu items from mine are just:
> 
> title           FreeBSD /boot/loader
> root            (hd1,2,a)
> kernel          /boot/loader
> boot
> 
> title           FreeBSD chainloader
> root            (hd1,2)
> chainloader     +1
> boot
> 
> In my case, those specifies that they use the third slice on the second
> disk.  The first menu item requires that you already have the
> 'ufs2_stage1_5' file in your grub directory.
> 

Hi Carl

Thank you very much for the reply.

Your second method (ie. chainloader) worked, but the grub still say file system type is unknown.

The ufs2_stage1_5 is available in /boot/grub/.

Since now I can have a working dual boot with Linux, I conclude this is solved.

Best regards
Unga


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1319867894.50334.YahooMailNeo>