Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing on MSI GT72S-G220 Gaming Laptop
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Tux's lil' helper
Tux's lil' helper

Joined: 16 Jul 2011
Posts: 96
Location: USA/Michigan

PostPosted: Wed Aug 23, 2017 5:26 pm    Post subject: Installing on MSI GT72S-G220 Gaming Laptop Reply with quote


I thought it may be useful to someone in the future, to share my experience installing to this laptop.

Gentoo WIki Page: - Getting the framebuffer working; not really specific to this laptop probably but kergen /really/ wanted Nvidia FB support which apparently doesn't work. - Again, not really specific to this laptop, but it helped nonetheless. - Kernel needs Realtek HD codec support and XDM (or another displaymanager) seems to go a long way in getting your session singing nicely so pulseaudio is happy.

You will need sys-kernel/linux-firmware for the wifi adapter.

This is probably pretty important regarding the CPU microcode, and I was able to work out how to do it pretty easily based on these:

I created my kernel config using a Pappy Preconfig and kergen. I will be maintaining and sharing a configuration for this laptop here:

In addition to kergen and the changes from the threads above, I had to select PS/2 Mouse and NVM, as kergen didn't pick up on them. I also selected Battery and Fan under ACPI Advanced Configuration (though I'm unclear if the later is needed). This is, of course, already done in the configuration linked above.

Note: This is just how I did it - none of this is required for installing to this laptop. You can create whatever disk/partition layout works best for you.

This laptop has two 128GB SSDs. I created 2 raid volumes on each disk, from which I created 2 128GB RAID0 arrays. On one array, is my root partition. On the other, a writeback bcache for the 1tb mechanical drive, mounted to /home. Holy throughput batman!

If you have a better suggestion for an even FASTER setup, let me know!!

Note: If you do a RAID setup like mine where the root partition is on the array, you'll need an initramfs - I used
genkernel --mdadm --install initramfs
after building my kernel w/ the above linked config. I also set GRUB_CMDLINE_LINUX="dolvm domdadm" in /etc/default/grub before running grub-mkconfig

For 3D acceleration, be sure to add your user(s) to the video group, and make sure Nvidia GLX is selected for OpenGL:

# gpasswd -a <user> video
# eselect opengl set nvidia

Final notes:
Other than that, I pretty much followed the handbook 1:1. I booted using a Sabayon live USB disk, mainly because that's what I had on my person at the time.

So far, I've had to disabled Secure Boot in BIOS...I'm not sure if it's possible to run Linux with it enabled? It's something I need to learn about still.

This thread is mainly to take questions about this laptop, or I also offer to do minor tests of applications or configurations you may be concerned about before installing on your own hardware - I'll help as time and knowledge permits.

Note to self: You have to rebuild the Nvidia drivers when updating the kernel. Don't forget to generate a new initramfs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum