4 Replies to “DragonFly and Digital Ocean”

  1. If you want to save the two wasted gigs with the method described here, you can just install qemu-devel on the fbsd quest and install from it instead, specifying a remote ISO something like the following…

    # ssh to fbsd guest…
    ssh -l user -L 5900:localhost:5900 fbsd.vps-provider.com

    # install qemu-devel on fbsd guest
    pkg install qemu-devel

    # run qemu on fbsd quest…
    qemu-system-x86_64 -m 512 -boot order=dc -drive index=0,if=virtio,media=disk,format=raw,file=/dev/vtbd0 -drive index=2,if=ide,media=cdrom,format=raw,file=http://cooldomain.me/dfly-x86_64-4.4.1_REL.iso,readonly -net nic,model=virtio -net user -rtc base=utc -vnc 127.0.0.1:0 -monitor stdio

    # connect to qemu on fbsd guest via vnc and do the install as if on local metal…
    vncviewer -AutoSelect=0 -PreferredEncoding=ZRLE -LowColorLevel=0 -CompressLevel=3 -SecurityTypes=None localhost::5900

    And this can be done with pretty much any proper OS as the guest, of course, and with most easier then with fbsd because you will not have to tell them to get out of your way regarding the “scarry” disk use first.

    Enjoy,

    –Kyle

  2. Kyle, it looks like this process gets qemu running the installer, it installs to the drive and overwrites the existing FreeBSD installation, and then reboot and you are done – is that correct?

    Does qemu hold enough in memory that it doesn’t freak out if/when the underlying disk files disappear?

  3. Justin,

    Yes and yes. It works for me. :)

    The only oddity I found is that if I select “use whole disk,” the dfly installer somehow doesn’t see the whole disk… and there’s precious little in that part of the installer to figure out why. It’s rather bizarre. In any case, if I select “install to existing/other partition” or whatever (like Nuno does above), and select the existing fbsd partition (to blow away), it sees the whole disk and all goes well. So, needless to say, that is the path via which I installed.

    I’m curious as to whether the whole disk size discrepancy would exist if I used Linux as the guest from which to install, but I haven’t checked that yet.

Comments are closed.