TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OpenBSD on a Laptop

266 pointsby perlgodover 6 years ago

21 comments

gigatexalover 6 years ago
This is probably the single coolest feature of OpenBSD: “Also, Chromium on OpenBSD recently got unveil support. If you run it with --enable-unveil, Chromium will be prevented (at the OS level) from accessing anything other than your ~/Downloads folder.”
评论 #18370865 未加载
评论 #18373616 未加载
评论 #18371794 未加载
评论 #18374553 未加载
评论 #18370973 未加载
floatbothover 6 years ago
&gt; many features that require toil to achieve on FreeBSD, such as suspend on lid close, working volume buttons, and decent battery life, work out of the box on OpenBSD<p>Suspend on lid close worked out of the box for me on FreeBSD, on a ThinkPad X240. (Well, almost out of the box — had to disable the TPM in the firmware setup, otherwise the TPM would prevent it from waking up.)<p>There&#x27;s NO WAY battery life could be better on OpenBSD though. OpenBSD is not even tickless!!<p>I measured the power consumption of the SoC with Intel&#x27;s pcm tools, it&#x27;s ~1W when idling in GUI on FreeBSD. Does OpenBSD even have pcm.x? ;)
评论 #18370916 未加载
评论 #18371346 未加载
stragulusover 6 years ago
I like how most of the configuration in this setup is very similar to how I configured systems as far back as mid-nineties. Most applications have a simple single config file, and a single responsibility, true to Unix&#x27; philosophy. My window manager needs haven&#x27;t really changed during all this time. Add a nice launcher that indexes your system and you have most of everything you will need.
beefhashover 6 years ago
&gt; Full Disk Encryption with SoftRAID<p>It&#x27;s worth noting that SoftRAID for encryption is mutually exclusive with SoftRAID for redundancy: &quot;<i>Note that &quot;stacking&quot; softraid modes (mirrored drives and encryption, for example) is not supported at this time.</i>&quot;[1]<p>[1] <a href="https:&#x2F;&#x2F;www.openbsd.org&#x2F;faq&#x2F;faq14.html#softraid" rel="nofollow">https:&#x2F;&#x2F;www.openbsd.org&#x2F;faq&#x2F;faq14.html#softraid</a>
评论 #18370771 未加载
brobdingnagiansover 6 years ago
On my desktop, I tried installing TrueOS and FreeBSD but kept having trouble with the install, then the applications and KDE, then the drivers, things were wonkie. Installed OpenBSD a couple of times and it all (mainly) just worked. Eventually just stayed with OpenBSD and have been very happy, especially with the excellent documentation, ease of installation and ease of use. I heard the FreeBSD devs don&#x27;t use it on their personal comps as much as OpenBSD devs do, and what kind of sealed the deal for me. Thinking back, it was even easier than most Linux installs I&#x27;ve done.
评论 #18370728 未加载
gbrown_over 6 years ago
This should probably also mention running syspatch.<p><a href="http:&#x2F;&#x2F;man.openbsd.org&#x2F;syspatch" rel="nofollow">http:&#x2F;&#x2F;man.openbsd.org&#x2F;syspatch</a>
评论 #18371399 未加载
评论 #18370846 未加载
nimbiusover 6 years ago
Ive tried a BSD laptop before, and my concerns always boil down to the same nonsense...can anyone offer some advice?:<p>- how do i read ext4&#x2F;fat&#x2F;etc usb sticks from coworkers. - is 3d or video support good with AMD? - soundcard and full disk encryption? what about EFI boot?
评论 #18371259 未加载
评论 #18372163 未加载
waterhouseover 6 years ago
Question. I find it exceedingly useful that Mac OS has readline keybindings enabled in most (all? I can&#x27;t think of any counterexamples, including the Spotlight overlay) of its text fields: control-A is head of line, control-E is end of line, etc. I&#x27;ve been using control-N and control-P to move between lines while editing this comment; it&#x27;s simply a text field in Firefox.<p>Is it possible to turn on this functionality in OpenBSD?
florenover 6 years ago
Why configure cwm to emulate i3 when you could just run i3?<p>Still, cool to see people running a BSD on a laptop, IIRC I ran NetBSD on my old Thinkpad in college.
评论 #18370886 未加载
robotmayover 6 years ago
I was just thinking of swapping my largely-unused ThinkPad over to OpenBSD yesterday, so this is extremely timely and useful :D
gigatexalover 6 years ago
Great article. Been thinking of doing the same. Typo in the first paragraph under “Installation”:<p>“Grab a USB stick and download the the the amd64 disk image:”
评论 #18370784 未加载
Philipp__over 6 years ago
How’s the battery life? OpenBSD is nice and nifty little UNIX experience, definitely geared towards users who know what they are doing&#x2F;wanting.
评论 #18371334 未加载
oneplaneover 6 years ago
While this is a nice setup in case of a ThinkPad, this doesn&#x27;t really work out on practically anything else. I get that a lot of the FOSS, or somewhat more specifically, the hardcore users use a ThinkPad, but the rest of the world pretty much doesn&#x27;t (at least no longer since Lenovo bought IBM&#x27;s spun-off computer bits). None of this stuff works on the generic MS Surface or Apple Mac stuff you see in 99% of the use cases where people are capable of installing an OS at all.<p>As nice as mobile support in OpenBSD is, and as nice as this guide is, it&#x27;s still super niche :(
评论 #18371815 未加载
评论 #18370960 未加载
评论 #18370944 未加载
评论 #18372901 未加载
评论 #18372537 未加载
评论 #18372167 未加载
评论 #18370975 未加载
评论 #18374394 未加载
reason-mrover 6 years ago
Writer spent ages on the window manager. XFCE is much easier : <a href="https:&#x2F;&#x2F;sohcahtoa.org.uk&#x2F;openbsd.html" rel="nofollow">https:&#x2F;&#x2F;sohcahtoa.org.uk&#x2F;openbsd.html</a>
评论 #18370972 未加载
评论 #18371707 未加载
j7akeover 6 years ago
I am interested in moving from OSX to Linux.<p>However, my muscle memory have made it difficult to use ctrl + key versus command + key.<p>Is there an easy way (for example in Ubuntu?) to remap shortcuts so the copy and paste is command + C and command + V? Also, the ctrl + C should still stop processes in the terminal, so it&#x27;s not as simple as swapping ctrl and command for all processes... This problem has been bugging me a lot with linux and I finding a solid solution would help a lot of OSX people switch to linux more easily.
评论 #18372766 未加载
评论 #18373008 未加载
DanBCover 6 years ago
This looks like a useful guide.<p>&gt; If you&#x27;re even a little paranoid, you should start by overwriting the disk with random data. We&#x27;ll assume your hard disk is sd0—you can use dmesg to check. The c suffix is OpenBSD&#x27;s way of specifying the entire disk.<p><pre><code> dd if=&#x2F;dev&#x2F;urandom of=&#x2F;dev&#x2F;rsd0c bs=1m </code></pre> Can I check: why would you do this rather than using ATA SECURE ERASE command?<p>Having a blob of random data on my drive would mean crossing international borders is potentially unpleasant.
simonebrunozziover 6 years ago
Does anyone know if OpenBSD can run properly on a Macbook?
评论 #18372224 未加载
评论 #18375665 未加载
评论 #18381364 未加载
anthkover 6 years ago
Nice, but if you like click to focus and raise VM&#x27;s you can try JWM, is great and with very few deps, almost NIL.
vtailover 6 years ago
Amazing guide! You have a typo - a second ‘chown’ in mail setup section should be ‘chmod’
评论 #18371893 未加载
quickbenover 6 years ago
&quot;You won&#x27;t find nearly as many online resources about setting up OpenBSD, because honestly, you really don&#x27;t need any. &quot;<p>That was the the last thing I wanted to read when wondering if openbsd will fit on my Ryzen machine.
评论 #18371798 未加载
评论 #18372979 未加载
ape4over 6 years ago
A small detail, why do we still have to specify the blocksize (bs=1m) to dd. Can&#x27;t it have a better default than 512 bytes.
评论 #18370984 未加载