Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2016 21:34:43 +0200
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Hi, a dual booting question
Message-ID:  <20161005193443.GA78978@becker.bs.l>
In-Reply-To: <90FD08FD-FE91-4C6C-943C-0B58B072AE29@me.com>
References:  <90FD08FD-FE91-4C6C-943C-0B58B072AE29@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ola,

On Wednesday, 05. Oct 2016, 14:09:56 +0100, Olaoluwa Omokanwaiye wrote:
> Please I am have a little trouble dual booting xubuntu 16.04 and FreeBSD 10.3
> I have successfully installed both, xubuntu first then the
> FreeBSD but on powering the system only the xubuntu comes
> up. How can I make the FreeBSD show up so I can select.

I'm dual booting Gentoo Linux and FreeBSD on my laptop. The
boot manager is Grub2 what probably applies to your
first-Xubuntu installation, too.

You need to put a section into "/boot/grub/grub.cfg" that
looks like this:

  menuentry "FreeBSD" --class freebsd --class bsd --class os {
    insmod ufs2
    set root=hd0,9
    echo 'Loading FreeBSD ...'
    kfreebsd /boot/loader
  }

(working here) or maybe

  menuentry "FreeBSD" --class freebsd --class bsd --class os {
    set root=(hd0,9)
    echo 'Loading FreeBSD ...'
    chainloader +1
  }

Probably you have to put this into a file like
"/etc/grub.d/40_custom" and then run "grub-mkconfig".

Make a copy of your existing "/boot/grub/grub.cfg" first in
case you happen to spoil your whole installation.

Find the detailed information how to proceed by Google.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



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