Ask HN: Laptop for FreeBSD?
I'm thinking of replacing my current XPS 13 running Debian with a FreeBSD laptop. I'm looking for something with a nice screen (preferably better than 1080), and reasonable spec (the usual i5, 8GB+ Ram & SSD etc.). Is anyone currently using a FreeBSD laptop, or recommending one?
54 comments
[ 3.0 ms ] story [ 113 ms ] threadOh snap! I must've stroke a chord. What did I say? I mean, he asks how to grill a steak, but some suggest how to cook brats.
The thing that makes OS X so darn "stable" is that they write drivers for a very limited set of hardware - the reference implementation.
On the Linux reference implementation, everything works properly (See the ThinkPad T series).
On the Windows reference implementation, everything works properly (See the Surface).
Simply because something works when it's built for a piece of hardware (think embedded systems) doesn't mean that it will work when running on something that it wasn't designed for.
No one is advocating doing that. And no one gives a shit about how hard it was for the engineers.
You should buy a Macbook precisely because it is a reference implementation that works as a consumer product. Let OSX deal with laptop-y details like WiFi, screen brightness, battery/power management, suspend/resume, and device drivers. Let VirtualBox abstract away those details so FreeBSD behaves like it does on its reference implementation - server hardware.
OS X does add a lot of overhead and I would love to run NetBSD on a dedicated hypervisor. In particular I want to try with the free Hyper-V Server because it has such great hardware/driver support but HVS doesn't support wireless networking.
That said, you just cannot compare an OS running natively (is that a word?) with a VM.
which works great for me BTW
I argued that you can install Linux on the MacBook, which gives you the advantage of good hardware support and a non-Apple and open-source OS, on which you can in turn run FreeBSD using a VM. And since MacBooks support Intel's VT-x which Linux KVM uses, virtualization actually works very well with this setup.
Obviously, when possible, buying a laptop with good FreeBSD driver support is the superior choice.
https://www.crowdsupply.com/purism/librem-laptop
Downvoters - care to explain? Open hardware means it will work for everyone, which is pretty cool in my book.
> Since we are using Trisquel GNU/Linux, which is the strictest of distributions and strips all binary blobs from the Linux kernel, you can easily install anything less strict, such as Debian and Ubuntu. We have not yet tried installing a non-GNU/Linux-based operating system.
Considering that there won't be a big group of developers using the Librem laptop to start with, I was afraid some of the driver might be missing.
Nope. Its i7 cpu is definitely not what I would consider open hardware. So then what's the point of this? If there's nothing 'libre' about most of the hardware inside then it's just a normal i7 laptop with Linux pre-installed. I don't see how this is any different than just buying a laptop and immediately replacing everything on it with OSS.
I thought that sounded fishy: http://ark.intel.com/products/83505/Intel-Core-i7-4770HQ-Pro...
It's a 3.4GHz chip if you tie three cores behind its back—otherwise it's 2.2GHz (either that, or they've worked some serious magic). That puts it roughly in MBP territory, only with lower resolution, less RAM, and slower storage. Making them more comparable brings the price up to $2559, with early bird pricing… and of course no guarantee FreeBSD can actually run on it, since it's designed around Linux.
Some people might find the higher price worthwhile for a setup that eliminates almost all closed-source code. If that's not something OP's after, that's one hell of a steep price tag.
Newer thinkpads will probably be a bit problematic, or so I've heard. Currently on a zenbook w/ Linux because of problems related to UEFI boot.
http://www.reddit.com/r/linux/comments/1ix69a/system76_suppo...
[1] - https://system76.com/laptops/gazelle
I think you should look for a good linux laptop 1st and check for FreeBSD compatibility.
That said, there have been a lot of commits recently preparing the tree for importing a version of the linux Haswell driver, so I'm optimistic that this will be fixed soon. In the mean time, unless your need for a new laptop is urgent, I'd suggest waiting.
Not meaning to start a license flame war, but how does this work?
How does FreeBSD import something that's presumably GPL'ed?
Look at all the files here to see the license in the header:
https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
In January 2014 I acquired a MS Surface Pro 2. Display is 1920x1080, and it has 8G ram/245G SSD. A problem dual booting is FBSD didn't do Secure Boot, which meant a hassle switching back into Win8.1. SB would have to be disabled to install/run FBSD, and Win8.1 wants SB to be enabled.
However the SP2/Win8.1 came with client Hyper-V. Fortunately running FBSD in a HV VM was pretty easy to do. In fact FBSD is distributed as a VHD image making installation dead simple.
Running FBSD in a VM works well for my purposes, primarily developing web servers and server-side systems. It's quite useful to run the server in the VM and use a browser on the host OS to connect to it (e.g., for testing, etc.).
Surprisingly, an X server and GUI desktop running in the VM are reasonably responsive, and not a problem editing stuff with Emacs once fonts and the like are adjusted to taste.
Anyway we know mileage varies (a lot), but this kind of setup has its merits. In my case, with far fewer moving parts to juggle it's proven to be a useable alternative to dual booting.
I installed FreeBSD on it last night and apparently everything was detected and seems to be working fine.
The FreeBSD wiki has a Laptops page: https://wiki.freebsd.org/Laptops
I've since been using it for other OS experiments (Haiku for awhile; now I'm venturing into MINIX), but it handled OpenBSD (and Slackware before it) rather nicely, and I don't imagine FreeBSD would be any worse.
Now, that's not modern at all, but I'm willing to bet that a more modern enterprise-like Dell would be similar in build but with newer components.
The most of pain I've got from USB support - literally I have been fighting with getting my built-in SD cardreader actually reading cards - not pretending to do so, for months. And nobody from USB-team even bothered to reply something other than "try to experiment with some quirks".
The final decision to move to Linux was lack of Java support - OpenJDK isn't that cool as Oracle's twin-mate.
Its not a hate-speeh or a flamewar ignition, it's just my IMHO - FreeBSD is not a comfortable to have it on a laptop, especially with some proprietary drivers involved.
Mostly just commenting so I remember to check back on this tomorrow :-)
As with most things FreeBSD, you'll have better luck not running current generation of hardware, but the previous generation, as support for the newest hardware usually lags a bit.