Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. The server doesn't boot natively

The server doesn't boot natively

Scheduled Pinned Locked Moved Uncategorized
freebsdrunbsd
4 Posts 3 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • stefano@mastodon.bsd.cafeS This user is from outside of this forum
    stefano@mastodon.bsd.cafeS This user is from outside of this forum
    stefano@mastodon.bsd.cafe
    wrote last edited by stefano@mastodon.bsd.cafe
    #1

    The server doesn't boot natively.
    It can boot in Linux rescue mode. So:
    qemu-system-x86_64 -enable-kvm -m 65536 -smp 16 \
    -bios /usr/share/ovmf/OVMF.fd \
    -drive file=/dev/nvme0n1,format=raw,if=virtio \
    -drive file=/dev/nvme1n1,format=raw,if=virtio \
    -netdev user,id=net0,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 \
    -device virtio-net-pci,netdev=net0 \
    -vnc 127.0.0.1:0

    A couple of lines modified in /etc/rc.conf and /etc/pf.conf

    And the server is responding, while waiting for the KVM console.

    #FreeBSD #RunBSD

    Link Preview Image
    robinp@mastodon.socialR fosdembsd@mastodon.bsd.cafeF 2 Replies Last reply
    0
    • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe

      The server doesn't boot natively.
      It can boot in Linux rescue mode. So:
      qemu-system-x86_64 -enable-kvm -m 65536 -smp 16 \
      -bios /usr/share/ovmf/OVMF.fd \
      -drive file=/dev/nvme0n1,format=raw,if=virtio \
      -drive file=/dev/nvme1n1,format=raw,if=virtio \
      -netdev user,id=net0,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 \
      -device virtio-net-pci,netdev=net0 \
      -vnc 127.0.0.1:0

      A couple of lines modified in /etc/rc.conf and /etc/pf.conf

      And the server is responding, while waiting for the KVM console.

      #FreeBSD #RunBSD

      Link Preview Image
      robinp@mastodon.socialR This user is from outside of this forum
      robinp@mastodon.socialR This user is from outside of this forum
      robinp@mastodon.social
      wrote last edited by
      #2

      @stefano is this one of those cases where the hosting provider doesn't offer a FreeBSD image? If so, do you plan to run with qemu KVM permanently? What is the impact of that (perf-wise or ability to run jails or bhyve, is any)?

      (Edit: I missed the related post, now have bit more context, but still curious to know)

      stefano@mastodon.bsd.cafeS 1 Reply Last reply
      0
      • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe

        The server doesn't boot natively.
        It can boot in Linux rescue mode. So:
        qemu-system-x86_64 -enable-kvm -m 65536 -smp 16 \
        -bios /usr/share/ovmf/OVMF.fd \
        -drive file=/dev/nvme0n1,format=raw,if=virtio \
        -drive file=/dev/nvme1n1,format=raw,if=virtio \
        -netdev user,id=net0,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 \
        -device virtio-net-pci,netdev=net0 \
        -vnc 127.0.0.1:0

        A couple of lines modified in /etc/rc.conf and /etc/pf.conf

        And the server is responding, while waiting for the KVM console.

        #FreeBSD #RunBSD

        Link Preview Image
        fosdembsd@mastodon.bsd.cafeF This user is from outside of this forum
        fosdembsd@mastodon.bsd.cafeF This user is from outside of this forum
        fosdembsd@mastodon.bsd.cafe
        wrote last edited by
        #3

        @stefano well done !

        1 Reply Last reply
        0
        • robinp@mastodon.socialR robinp@mastodon.social

          @stefano is this one of those cases where the hosting provider doesn't offer a FreeBSD image? If so, do you plan to run with qemu KVM permanently? What is the impact of that (perf-wise or ability to run jails or bhyve, is any)?

          (Edit: I missed the related post, now have bit more context, but still curious to know)

          stefano@mastodon.bsd.cafeS This user is from outside of this forum
          stefano@mastodon.bsd.cafeS This user is from outside of this forum
          stefano@mastodon.bsd.cafe
          wrote last edited by
          #4

          @robinp it was just an emergency measure, while the provider connected the KVM interface to debug it. Those bare metals just run jails, so no problems (except for some performance and resources waste, but it can be done for some hours).

          One hour later they gave me the KVM console and it's back to normal operations.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups