Joined: 16 Jul 2011
|Posted: Wed Aug 23, 2017 5:26 pm Post subject: Installing on MSI GT72S-G220 Gaming Laptop
I thought it may be useful to someone in the future, to share my experience installing to this laptop.
Gentoo WIki Page: https://wiki.gentoo.org/wiki/MSI_GT72S-G220
https://forums.gentoo.org/viewtopic-t-1067924.html - Getting the framebuffer working; not really specific to this laptop probably but kergen /really/ wanted Nvidia FB support which apparently doesn't work.
https://forums.gentoo.org/viewtopic-p-8108726.html - Again, not really specific to this laptop, but it helped nonetheless.
https://forums.gentoo.org/viewtopic-t-1068184.html - 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
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
|genkernel --mdadm --install initramfs |
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
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.