Install Centos 7 with libreboot.

I really wanted to have CentOS on a laptop with libreboot. I had some trouble getting things to run after install, later I found a post on the libreboot website that said what to do. The same solution can be used for redhat \ fedora installs.

So here is what I did:

Download latest CentOS, boot from usb stick or some other way, personally I use drivedroid all the time , very nice app to have installed on the phone, grab the iso, copy it to phone, emulate usb cdrom and boot from that.

I downloaded the ‘CentOS-7-x86_64-LiveGNOME-1804.iso’ from here:

Boot it up:

Start CentOS live:

After starting CentOS – run the installer as usual, I choose to have full disk encryption.
When installation is done, reboot the machine.

Choose this menu entry:

Hit ‘E’ to edit the command for booting, this is the important step in getting it to run.
In the text editor – change ‘linux16’ to ‘linux’

Like so:

Same goes for the line that says ‘initrd16’ – change it to ‘initrd’:

When the modification is done – hit F10 to boot up your system.

On mine I then unlock the encrypted disk:

Then accept the license and such for first boot of CentOS:

When that’s done you have a fully working CentOS with Libreboot.

Testing CentOS 7 as desktop \ developer OS.

A couple of weeks ago I decided to give CentOS 7 a try as my main OS,
the reason why – is because it’s the closest you get to redhat without paying,
and I’ve been running everything from Debian to Arch, gentoo and others, but now I wanted a rock solid OS that feels predictable,
CentOS feels like the natural choice for that kind of system.

What worried me a bit was outdated software, that has been a issue before with other OS’es,
but after I checked aroud a bit I found out about elrepo,
which is a repository that you can add to CentOS so that you get better hardware support and drivers.

The ELRepo Project focuses on hardware related packages to enhance your experience with Enterprise Linux.
This includes file system drivers, graphics drivers, network drivers, sound drivers, web cam and video drivers.

The first big problem I ran into when I installed CentOS 7 was the kernel,
the netboot \ install DVD did not work as it should on my hardware, but the live-DVD did boot up and install.
The problem I had was that the hardware did not get detected properly,
and after I installed the OS trough live-DVD I decided to upgrade the kernel,
this again caused hardware issues, the usb froze and keyboard \ mouse stopped working,
so that I could not enter my full disk encryption pass phrase at start-up.

So I decided to install it again – fresh install with the live DVD, then I installed the kernel through this guide.
Getting the latest kernel fixed the issue I had with usb locking up, letting me log in and use it.

The next problem I had was to get the Nvidia drivers up and running, but after some trail and error I ended up using this guide.

When it comes to games I mostly run games via steam, that works as expected.
I also run Steam for windows through PlayOnLinux , so to get that to work on CentOS 7 I just grabbed the latest standalone package and run it there.
Then I chose to install ‘steam’ in the games list, accepting the defaults, then I go to it’s properties and make it run ‘wine staging’ instead of the default one.
Steam with wine on CentOS 7 runs like a charm.

I have a big list of games that I’ve tested here:

I also buy games on Gog , since I like DRM free copies of games that I actually own.
They list each games dependencies – all tough they are listed with the names they have in Ubuntu, so some times you
have to jump through a couple of hoops to get the right ones installed in CentOS 7.

The trickiest problem I had with my games there was the ‘ ‘ dependency,
but in the end you could do the following to make it work:

cd /usr/lib
sudo ln -s

Also with QT Creator I had issues with \ ,
the solution works the same way as the libcurl fix:

yum install mesa-libGL-devel mesa-libGLU-devel
cd /usr/lib
ln -s

There are many repositories you can add that enhances your CentOS experience, you can look at them here:

Now I can say that everything I need works, nvidia, steam, all my games, all development tools, 3D tools –
everything I need, and it feels solid.