1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Boot FreeBSD ISO from Grub2 USB stick

Discussion in 'General' started by Beeblebrox, Nov 26, 2010.

  1. Nukama

    Nukama Member

    Messages:
    129
    Thanks Received:
    41
    It seems that the FreeBSD-9.0-RC2-${ARCH}-bootonly.iso isn't built with a boot/mfsroot.gz.

    Without this there seems no way to boot FreeBSD-9 with grub2.
     
  2. frijsdijk

    frijsdijk Member

    Messages:
    207
    Thanks Received:
    15
    Bump. Any ideas on this issue?
     
  3. Beeblebrox

    Beeblebrox Member

    Messages:
    891
    Thanks Received:
    110
    Care to be more specific? What exactly is the part that's not working? Post #16 solves the issue by adding:
    Code:
    kfreebsd_module (loop)/boot/mfsroot.gz type=mfs_root

    Use an ISO version that has mfsroot.gz included. You are not limited to the bootonly.iso.
     
  4. frijsdijk

    frijsdijk Member

    Messages:
    207
    Thanks Received:
    15
    This indeed works for FreeBSD 8.x and earlier, however the layout of the 9.0 ISO images has changed significantly - the mentioned mfsroot.gz does not exist anymore.

    For earlier editions I was actually using the following config for Grub4dos:

    Code:
    title FreeBSD 8.3 64-bit
    find --set-root /FreeBSD-8.3-RELEASE-amd64-bootonly.iso
    map /FreeBSD-8.3-RELEASE-amd64-bootonly.iso (hd32)
    map --hook
    root (hd32)
    chainloader (hd32)
    


    Which works charmfully for basic installations. On our USB sticks we actually have a wide variety of Unix images, which can be booted by either Grub2 or Grub4dos (which in turn is chainloaded from Grub2). In neither Grub2 or Grub4dos I have been successful in booting the FreeBSD 9.0 ISO up to the language selection menu for installations.
     
  5. epopen

    epopen New Member

    Messages:
    72
    Thanks Received:
    4
    Hi
    The mfsroot.gz NOT included in FreeBSD-9.1-RELEASE-amd64-disc1.iso.
    So can't boot by the method...:(