Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Everyone, This is my first post to these forums. I have just installed Ubuntu and FreeBSD on my laptops only Hard Disk and am having some problems setting up ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2

    getting GRUB to boot FreeBSD

    Hi Everyone,

    This is my first post to these forums. I have just installed Ubuntu and FreeBSD on my laptops only Hard Disk and am having some problems setting up GRUB. The partitions on my laptop are as follows;

    Disk /dev/sda: 40.0 GB, 40007761920 bytes
    255 heads, 63 sectors/track, 4864 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xd9141fcb

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1216 9767488+ 83 Linux
    /dev/sda2 4622 4864 1951897+ 82 Linux swap / Solaris
    /dev/sda3 1217 3404 17575110 83 Linux
    /dev/sda4 * 3405 4621 9775552+ a5 FreeBSD

    /dev/sda4 is the freebsd slice/partition and it is set to be bootable, but when i boot the laptop only Ubuntu is shown in the grub menu. I've had a look at the following site but am still lost;

    https://help.ubuntu.com/community/GrubHowto

    any help would be great.,

    thanks,

    synack.

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Location
    Melbourne
    Posts
    17
    I am not sure, this can be of great help, but a little time ago I did this to get GRUB to dual boot and I had no problems.

    Once you have booted into Ubuntu, go to the freeBSD partition and open the grub.conf file for freeBSD. In there you should have the entry to boot freeBSD only.
    Now this grub.conf file is not being used, so you cant boot into freeBSD. But what you can do, is to copy the boot parameters from this file, and paste them into the grub.conf file present in the ubuntu partition.
    try restarting after this and see how you go. Get back if you have any problems.

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Welcome to LinuxForums!

    Check this GRUB How-To for some info on booting various OS's.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2
    hi guys,

    thanks for the help, I ended up changing /boot/grub/menu.lst and adding the lines

    title FreeBSD 7.1
    root (hd0,3,a)
    kenel /boot/loader
    quiet

Posting Permissions

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