Installing Linux Mint on an Acer Nitro 5 laptop

This journey isn’t over yet, but it’s been adventurous enough so far that I thought I’d better start documenting things. Otherwise, I’ll never be able to recreate what I’ve done.

My daughter bought herself a new Acer Nitro 5 (AND515-44-R99Q) because her old MacBook is getting very long in the tooth. The new system comes with 16GB RAM, a 256GB NVME SSD (with Windows 10) and a 1 TB Hard Drive.

Her brother had recently picked up an Acer Aspire 3, and apart from some silliness with the secure boot options, it was a piece of cake to throw Linux Mint 20.2 on there.

The Nitro, however, has a new hybrid graphics setup, using the AMD Renoir chip for low-powered stuff, and an Nvidia GTX 1650 as the high-powered graphics engine. That’s the same card I have in my desktop, so I didn’t have any questions about whether it would run.

Well, the live disk installer wouldn’t get to desktop using the “standard” setup. Using compatibility mode, however, I was able to get the desktop to appear. There was a little bit of wonkiness — the trackpad wasn’t recognized, apparently, but I threw an old Kensington trackball on there and was installing in no time.

I’ve learned from past experience that you sometimes have pain on first boot if you don’t install the extra media stuff right away, so I hooked up an ethernet cable and off we went.

Installation is a lot faster on this newer hardware than on a lot of machines I’ve worked with, but I still tend to walk away and let it churn after I’ve gotten it configured. (And hope I didn’t forget anything to come back to it patiently waiting for input to start.)

Installation finished, I rebooted the machine, and …

So, ctrl-alt-F2 to open a console, log in and sudo apt update

Now there are a bunch of upgrades, so sudo apt upgrade

To be honest, I’m about 50/50 at this point whether I want to just install ssh before I get any deeper in the weeds (because the laptop is mounted two feet above my desk, to the right, and I could just ssh in instead of reaching over there to type the commands). However, I want to follow a “normal” process before I get to that, though I’m sure it will come soon.

Well, the upgrade stalled, so it’s ctrl-alt-del and let it reboot. It’s nice at this stage, because while it’s frustrating to have to redo things, at least we’re not worried about losing any data.

So, on this reboot, after getting into the console to log in again (because of the same black screen / non-blinking cursor issue), I’m going to sudo install openssh-server. This will allow me to connect to a console from my own computer, which will allow me to interact with the Nitro without stretching or getting out of my chair, and also will allow me to do other things while it’s going.

So, ssh lets me connect to the laptop even when the display is funky, and even if the keyboard on the laptop starts misbehaving. I can install and uninstall stuff, and even reboot if I need to. One of the first tools I install on a computer, even if I intend to sit in front of it most of the time.

At this point, the Nitro is behaving very badly, and even with moderate edits to the grub file that controls the boot process, it’s not allowing me to log in (graphically). I’m going to switch over to Ubuntu. If I recall correctly, it worked in early tests with this machine. If it shows any sign of trouble, I’ll install ssh first 🙂

There are a couple of reasons that I use Mint instead of Ubuntu, even though Mint is based upon Ubuntu.

The first is Unity. Ubuntu’s default Desktop Environment is clunky, wastes space, and is needlessly obstructive. That’s okay, I know I can install Cinnamon[1]Mint’s default Desktop after I install Ubuntu, and they actually have an installer that uses the Mate environment (which is not bad).

The second is more complicated. Ubuntu has really been pushing the Snap install infrastructure. While it sounds great, the more I delve into it, the more I agree with Mint’s developers that it is the kind of oppressive centralization that caused many of us to leave Apple and Microsoft.

The good news is that Ubuntu starts right up without needing compatibility mode, and the trackpad works. (I actually still prefer using the trackball, since it’s right on the desk next to me.) I installed using Mate, installed ssh, updated drivers, and everything worked. With that in mind, I took careful note of the settings (using the inxi -Fxz command) so that I can try to replicate them in Mint.

So, back to the Mint installer. As before, it only boots in compatibility mode. Bummer. Oh, well, let’s wipe that partition and get it installed again.

So, install is done. We’re doing the first reboot… As expected, black screen. Well ctrl-alt-F2 still works, and after logging in I quickly install ssh.

One advantage of doing some of this work behind the screens is that I get to see the error messages dumped into the console. Wow, the nouveau driver is buggy on Mint Cinnamon with this hardware! A simple difference is the linux kernel being used, however. Ubuntu is using kernel 5.11.0-34, while Mint is using 5.4.0-74. This should be relatively easy to test.

So, from the ssh session: sudo apt update (I actually already did this before installing ssh) and then sudo apt upgrade to apply the upgrades available. This can be kind of important because some things might break with the new kernel otherwise (not that we would notice, since it looks pretty broken as it is).

And, as it happens, Linux Mint 20.2 with kernel 5.11.0-34 still breaks under Cinnamon or Mate when using the Nvidia drivers. Oh, well, I’ll try to figure that out some other time — right now my daughter wants to use her computer.

So, I wipe the partition again, reboot to the Ubuntu Mate installer, and quickly run the install. I’ll have to get to the drivers at another time, but she did use the laptop during our D&D game today, so at least there’s that.

References

References
1 Mint’s default Desktop

Computer Build

Well, I wanted to look something up regarding my computer today, so it’s a good day to share what I used to build my computer.

Motherboard: Gigabyte B365M DS3H

I like this motherboard a lot. It supports 8th and 9th gen processors, so was a good fit for my i5 processor. It has four slots for DDR4 RAM, a full-size PCI-E slot and two smaller PCI-E slots. (Not enough of a wirehead to be able to tell you the difference off the top of my head. The full-size slot is for the graphics card…)

The onboard audio is decent, it has USB 3 onboard, and it comes with an M2A connector for an M.2 Socket 3 NVME SSD drive. In addition, there is support for five other SATA3 drives on traditional SATA connectors. (You can attach six SATA3 drives if you don’t use the M2A connector.) The manual says you can use all six SATA connectors if you use an M.2 PCIe SSD, but I’m not sure if that means installing it in a PCIe slot… Again, perhaps a real wirehead could tell me.

The bios is pretty cool for an old guy like me: GUI with mouse driver. I was able to set it up fairly easily to allow me to dual-boot (although I only have Linux installed right now).

The integrated video is very nice. In fact, it would have been all I need except for a couple of games that refuse to run. For work, it is more than sufficient, and supports three screens.

There are power connectors for two fans (CPU and System), and there’s a front panel audio connector. I’ll have to finish this part later, as I’m currently diagnosing a problem with my front-panel audio: The channels are mixed to come in the same on both left and right, but many audio sources (particularly video) seem to drop one channel out. I don’t know if it’s the board, the cable, or the case, but I’ve now tried several headphones and headsets, including one that is the old headphone-with-no-mic variety, so I know it’s stereo only.

RAM: Corsair Vengeance LPX 16GB (2 x 8GB) DDR4 3000 (PC4-24000) C15 1.35v & Corsair Vengeance LPX 32GB (2 x 16GB) (PC4-21300)

With four RAM slots, I started off with 16GB of memory, and then upgraded to 48. If I have spare cash lying around, I may pull the 8s out and go to 64GB, but I haven’t seen a need for that yet.

Power Supply: Thermaltake SMART 600W ATX 12v v2.3/EPS 12v 80 Plus

Nice supply with braided cable covers. Lots of connectors for lots of stuff. 600W, so it handles the cpu and graphics card (and is probably overkill, to be honest).

Fans: Arctic F12 PWM PST Value Pack

Okay, I felt a bit indulgent getting these, but they are very nice fans. They came in a five pack, so I put one on the back and one on the side, and still had three left over (to easily replace a fan whose bearings went out on my NAS). Very quiet, very efficient. (As I write this, my computer reports that system temp is 42° C (~108° F). With a high-temp threshold of 84° C, I’m pretty comfortable.

CPU: Intel i5-9600K 6 Core up to 4.6GHz unlocked LGA1151 socket 300 series 95W

While I do occasionally see a process thrashing this CPU (usually only on a couple of the cores) it’s been a real pleasure to use. It installed nicely, and with the cooling I’ve installed runs cool enough for me. I went with Intel instead of a Ryzen because I’m planning to do some streaming with OBS Studio, and UserBenchmark has some interesting stuff regarding a memory bottleneck on the Ryzens.

CPU Fan: Cooler Master Hyper 212 Evo CPU Cooler

I’m too old to be ready to try liquid cooling on my system, but this guy is enormous! It barely fits in the case, but with two fans attached, I feel like it’s really doing its best to keep the CPU cool.

Optical Drive: ASUS DRW-24F1ST DVD SUPERMULTI Burner – SATA

Yes, I still want an optical drive. Part of the reason is that we buy DVDs of movies that we want to watch again, and I rip them using MakeMKV and put them on our media server, to save wear and tear on the discs. I got this one because it was SATA, and because it supports the M-type discs that supposedly last for 1K years. True, I don’t currently own any of this media, and my backup strategy does not currently include optical disc backup, but better to be prepared, right?

Graphics Card: ASUS TUF Gaming GeForce GTX 1650 4GB GDDR6 PCI-E 3.0

One of the most expensive parts of the system. I finally got one of these from NewEgg, because the prices on Amazon were ridiculous. In fact, after I ordered, I was told they were out of stock, and would I like to cancel my order? I said, no, I’d rather wait and have them ship it when they got it. It was a little delayed this way, but finally arrived. Then, I just about had a heart attack after I installed it and the system wouldn’t start. It turns out that in inserting the card (which required a fair effort) I had pressed down on one of the latches of a RAM card. The card was partially popped, and the system refused to start. After I checked everything, got the DIMM reseated, etc., everything worked fine.

I have had a couple of times when the proprietary Nvidia drivers don’t want to play nice on my system, but it has taken care of itself and I currently have no complaints.

Drives: Well…

I ordered a HGST Ultrastar 8 TB drive for this build, but when it came it had a SAS connector instead of SATA, so I had to return it.

It’s hard to shop for storage these days. Amazon has blown searching on their site to smithereens, and NewEgg isn’t much better. You can specify the type of drive you want as carefully as you like and you’ll still get lists spammed with all sorts of things that are mis-tagged by the Chinese merchants competing for your dollars.

I ended up putting in a WD 1TB Blue SN550 NVMe drive in the M.2 slot on the motherboard. I also had a couple of 128GB SSDs (Crucial 128GB 2.5″ SATA CT128M4SSD2) lying around from a previous project, and a 2TB drive(WD20EARS – apparently a Caviar Green) from another system. I slapped them all together with LVM2 to make one big volume. I’m backing up to a WD My Book 8TB desktop drive connected by USB 3.

I will eventually get something like the Ultrastar to go inside, and the My Book will get shucked and installed in my NAS, and the Caviar Green will get retired to a system that I don’t care about so much (as they have a reputation for failing). I will also likely upgrade to some 3.5″ SATA SSDs and pull the Crucials out to go in something more suited to them.

Case: Antec Mid-Tower Case with 2X USB 3.0 Ports VSK4000E-U3

I don’t need anything fancy in a case. I want something that’s big enough for my motherboard and drives [1]and cpu fan — oh my!. I like steel, although I’ll work with a certain amount of lucite.

This one also sports two USB 3 ports on the front panel, as well as headphone and mic ports. It has three exposable 5¼ in bays for my optical drive (and I could put in a tape drive, floppy with adapter, 5 ¼ in floppy, hot-pluggable hard drive sled, etc.)

In addition to the normal case fan on the back, there’s a place to mount a fan on the side grill, for better air flow.

Everything fit, and although it doesn’t have tool-free drive mounts, it works.

I subsequently found another case that met my needs even better for a bit less, but no regrets.

Keyboard: Cooler Master CK550 V2

I had ordered a Cooler Master SK650, with low-profile Red switches, but the keyboard was defective, and I ordered the CK550 to use while waiting for the SK650 to be RMAed. I like the feel and accuracy of the CK550 a lot. It’s noisier than the SK650, but that’s a trade-off I’m willing to make for a keyboard that types what I want it to type.

The backlighting is a lot more useful than the backlighting on my dinosaur Saitek Eclipse II keyboard, where the lighting was more like mood lighting. It didn’t actually help me to discern letter shapes on the keycaps. In addition, the inclusion of a key puller allowed me to physically move the Control, Alt, and Super keycaps to the places where I actually have them mapped.

I’m keeping the SK650 for now, and it will likely be my travel keyboard, as it has a nice velour bag to travel in, has a detachable USB-C cable (for better packing and less travel stress on the cable) and is lower profile, but even after it came back from the RMA it’s a bit too soft and I tend to repeat bottom-row keys.

Pointing Device: Kensington Expert Mouse

For several years, I have preferred trackballs to mice. I find they bother my broken right wrist less, and they work better than mice on the cluttered desk that always manages to be my work surface. The Expert Mouse has a large ball, which is great for control over large or small distances. The ring around the ball is also nice, as it makes scrolling easier (especially in this new era where software designers hate scroll bars).

Back in the day, there were several companies that made replacement balls for these trackballs (55mm ball, if you’re looking) that were either novelty (8-ball is what I remember, specifically) or of differing weights. I have found someone who still sells replacement balls, but although I have a tendency to drop mine, and have it roll who knows where, I haven’t needed to replace it.

The trackball is optical, so rather than having oil accumulate on the rollers, it tends to have lint accumulate on the sensor. This is easily dealt with, as the ball lifts out easily, and you can blow out the lint in a moment.

I use the USB version, FWIW. Wireless means either constant recharging or replacing batteries when it’s least convenient. Wired means it’s always the fluff when my “mouse” starts behaving erratically.

Also, while the trackball has four buttons, I only use three (currently). When I played WOW I had all four buttons mapped to various things, but I never generally used even the third button until I switched to Linux. Now, I’m addicted to inserting selected text without using the clipboard buffer…

It appears that Logitech has a trackball that also uses a 55mm ball, although it’s not centered (it’s placed under the thumb in a more mouse-like enclosure). That might be better for accessing the buttons. Certainly one reason I haven’t explored the use of the fourth button is that it’s awkward to access.

I like the idea of a multi-touch trackpad, but I haven’t seen a solution that wows me for a price I’m willing to experiment at, so… This is also why I use keyboards with numeric keypads — I would be happy to use a tenkeyless with an external pad, but I haven’t seen a pad that encourages me to spend money on it.

Some people may note that in certain cases I’ve bought something where there’s a comparable product for less money. A lot of the time, that’s because the comparable product is made by a Chinese company. I can’t always control if something is made in China (sourcing is not always straightforward) and I sometimes get tired and just buy what I’ve been able to find. However, I’ve made a decision to avoid the products of Chinese companies when I can[2]which is not the same as “when they’re no more expensive” given the slave labor and predatory practices of that government. When they violated Hong Kong’s autonomy and the big companies like Apple and Google just shrugged is when I decided that I needed to be more proactive. While I do currently have a Motorola phone, and while I like its features, it will be my last. AT&T kindly sent me a Samsung Galaxy S9 to replace it (although the S9 doesn’t have dual SIM slots), and I may end up transitioning to the S9. In any case, that’s the reasoning behind some of the product choices.

I would be happy to put in links to the products, if that’s desired, although you can search as easily as I can. The way technology companies move, a lot of it is already discontinued, though it’s not very old. Also, if I do put in links, I’ll probably try to figure out how to make them affiliate links, so that I can maybe get some money out of this thing. Anyway, it’s worth dropping a comment, maybe.

Next time, I may talk about my monitors and usb hubs, network hardware, VESA mounts, etc.

References

References
1 and cpu fan — oh my!
2 which is not the same as “when they’re no more expensive”

More Tools

2MHost – Web Hosting

For many years now, I’ve maintained my own domain for a variety of reasons. One of the biggest is that I find it very unprofessional for a business to use gmail.com or outlook.com or some other domain for their emails, and a website that is basically a personal site (domain.com/~mybusiness) feels shoddy. It’s also nice to be able to create email accounts and email forwarders — more on that later.

For my hosting, I’ve been using 2MHost.com. Although they advertise rates as low as $2.75/month, they actually have an even cheaper option. They do free SSL certificates (to get the coveted “lock” icon in the address bar, and end-to-end encryption of traffic) and have a number of other perks. Monthly bandwidth is “unlimited”[1]Unreasonable traffic will be flagged and they have a nice webapp installer (including WordPress).

I have found their customer service to be responsive and helpful.

I believe their datacenters are in the US. I have been very pleased with their policy of always renewing at the same price. If it’s a good deal today, it’s likely to remain so.

NameSilo – Domain Name Services

While 2MHost provides Domain Name Registration, I use NameSilo for my registrations. Part of the reason is that I was using them before 2MHost offered the service. Part of the reason is compartmentalization. I prefer not to put all of my eggs in one basket in order to make changes easier. I’ve changed hosts a number of times before settling on 2MHost. Having control of the domain registration separately from the hosting makes that easier.

OwnCloud – Self-Hosted Cloud Services

I previously used NextCloud for my self-hosted cloud services, but something in my server setup changed, and it wasn’t working. OwnCloud is a separate fork of NextCloud [2]technically the other way around, and both are offered in the software installation section of 2MHost. OwnCloud allows me to host my password database on a server that I control, and it also gives me address book and calendar options that are mine. There are other things it can do, some of which are limited by my host (which has graciously grandfathered my “unlimited” account, so limits it to “typical” webhost traffic and use).

Enpass – Password Management

If you’re not using a password management tool, you should be. Enpass is nearly perfect for what I want. It keeps the passwords in an encrypted vault, it has browser plugins, and it even has an Android app with integration to fill passwords in other apps.

The Desktop app is free, and as I noted above, you can easily sync passwords among desktop computers using a service like OwnCloud. (It also works with corporate cloud options, if that’s your thing.) However, if you want to use their cloud, it will cost you from $2-$4/month, depending upon whether you want the individual or the family plan. If you think you’d use it for longer than a few years, it might be worth paying the $80 lifetime license. The one thing you wouldn’t get with that is the easy sharing of passwords with other users, but since you can make multiple vaults, that can be worked around.

I got the license during the beta period, so it didn’t cost me $80. To be honest, I don’t know if I’d pay for it now[3]although I did pay for 1Password on Mac for years. In any case, it’s very flexible, allows me to import my software licenses from 1Password, and generates strong passwords.

Because you can create templates, you can also manage other sensitive information. I will admit that, at least using Brave as my browser, Enpass isn’t good at filling in credit card information. However, it keeps it handy, and I can easily copy and paste from the Enpass window.

Quite frankly, if it weren’t for the license fee, I would recommend Enpass without any hesitation as the Password Manager you should be using.[4]I’ve tried to use and like KeePass and Bitwarden, but the latter is hard (for me) to self-host, and KeePass is difficult to sync. Neither of them is as nice for non-password data as Enpass (or … Continue reading

Brave – Web Browser

Since I mentioned Brave, I’ll say I think everyone should use Brave as their browser. It uses Chromium as its engine, so it’s compatible with most of the sites you want to use, but it comes installed with ad and tracker blocking. In addition, it uses a Basic Attention Token (BAT) crypto-currency — paying you to opt-in to non-tracking ads, and then using that currency to pay tips to sites that you choose. You won’t “get rich from surfing the web”, but it’s a better model than the standard one, which too often tries to install malware on your computer.

Brave supports Chrome plugins, so Enpass (and KeePass and Bitwarden) all work, and it supports Chromium’s multiple profile structure, so you can work even harder to keep certain companies from tracking all of your activity. It’s also helpful for, for example, staying logged in to github on two different accounts at the same time, or using a business Youtube account in one profile and a personal one in another.

Brave also has its own secure sync, so you can sync bookmarks[5]Separate lists for separate profiles and even load pages that are being viewed on a different synced device (including mobile).

Brave supports private windows, multiple search engines (I use both Brave’s own search and DuckDuckGo, for the most part), built-in Tor and Torrent support, etc. The built-in tracking and add protection is claimed to save bandwidth and time: my browser tells me it’s saved me 2.02GB of bandwidth and 1.2 hours of time by blocking 88,783 trackers and ads.

While you can “lower the shields” to use Brave without protection if needed (you can always do it in a private window, if you like), it’s been fascinating to see that, for example, AT&T wants to load 20-some trackers and ads in my browser before it will let me pay my bill.

Well, this update was kind of wordy, so I’ll leave it at that for now. Next time, maybe I’ll talk about my fitness tracker.

References

References
1 Unreasonable traffic will be flagged
2 technically the other way around
3 although I did pay for 1Password on Mac for years
4 I’ve tried to use and like KeePass and Bitwarden, but the latter is hard (for me) to self-host, and KeePass is difficult to sync. Neither of them is as nice for non-password data as Enpass (or 1Password) is.
5 Separate lists for separate profiles