Results 1 to 2 of 2

Thread: dual booting ubuntu 12.04 and FreeBsd

  1. #1
    Join Date
    Jan 2012
    Beans
    17

    dual booting ubuntu 12.04 and FreeBsd

    i installed ubuntu 12.04 first and Free Bsd just today however i am having a few problems dual booting them through grub 2

    i am following the instructions from this

    http://lists.freebsd.org/pipermail/f...er/016465.html

    however it then says to enter the following commands in the ubuntu live cd (which i have adjusted according to my computor)

    Code:
    $sudo mount /dev/sda1 /mnt
    $sudo grub-install --root-directory=/mnt /dev/sda
    $cat /boot/grub/device.map
    this gives a installation of grub is done without a problem however when the cat /boot... comand is given then i get the following result

    Code:
    cat: /boot/grub/device.map: No such file or directory

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual booting ubuntu 12.04 and FreeBsd

    One of the recent updates to grub2 did away with device.map. It will use it if found from an old upgrade but just finds devices each time it needs them.

    You should just be able to look at your partitions with fdisk and see what is what. FreeBsd needs a primary partition?

    Post this from Ubuntu's command line:

    sudo fdisk -lu

    I do not use FreeBSD, but someone posted this as their 40_custom entry:

    http://forums.freebsd.org/showthread.php?t=5918
    menuentry "freebsd 8.0" {
    set root=(hd0,2,a)
    chainloader +1
    }
    Last edited by oldfred; June 3rd, 2012 at 07:10 PM.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •