{"id":9702,"date":"2020-05-01T22:29:57","date_gmt":"2020-05-02T05:29:57","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=9702"},"modified":"2020-05-01T22:29:57","modified_gmt":"2020-05-02T05:29:57","slug":"first-modern-linux-laptop","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=9702","title":{"rendered":"First Modern Linux Laptop"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Most of my machines are used machines, and when I build a new machine, I usually install Windows.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or another way of saying that is if I need a Windows machine, I need new hardware.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Usually my Linux boxes are VMs, retired Windows machines, a used machine that I purchased.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rarely a new machine (once again to be fair even most of my Windows machine are used)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So this is unusual, I got a new laptop from work, a Dell Latitude 5300 with 32GB of RAM, an NVME hard drive (256 GB) and an&nbsp;Intel Core i7-8665U.  This puppy flies (for 2020 standards future readers dont laugh too hard).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Loaded CentOS 7 on it and it just screams.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the install wasn&#8217;t as straightforward as my other builds.  Couple things I had to get around, first off the BIOS was locked (this is a company equipment).  Luckily, I am in IT was able to get the password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I needed to unlock it because it came to me with the storage as Intel RAID, I needed to change it ti AHCI.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another thing is that was really a UEFI box with secure boot enabled.  No problem because CentOS 7 is properly signed and will work with secure boot.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But then there was no optical media, no problem because there are USB ports.  Unfortunately there were no USB 2ports only USB 3, and for some reason CentOS 7 does not install on USB 3, once installed, it will use USB 3, but the installer is not compatible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No problem, just PXE boot, unfortunately my home network is not set up to PXE boot UEFI machines.  I will in the future, but in the short term I wanted an OS on here.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fix was extremely simple, get a USB flash drive (it can be USB2) formatted in FAT or FAT32 and copy the EFI and images directory from the CD on it, also for yucks I copied a kickstart folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the EFI BOOT folder there is a grub.cfg file, I had a variation of this entry<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>menuentry 'Install CentOS 7 MYLAPTOP' --class fedora --class gnu-linux --class gnu --class os { linuxefi \/images\/pxeboot\/vmlinuz ip=dhcp net.ifnames=0 biosdevname=0 inst.repo=http:\/\/192.168.1.10\/linux\/7-1908\/ inst.ks=http:\/\/192.168.1.10\/linux\/ks\/mylaptop.cfg initrdefi \/images\/pxeboot\/initrd.img }<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the installer source could not be on a USB3 device.  Maybe I am wrong but this did work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also had a bonus of being able to quickly rebuild my box.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Weight: 305.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of my machines are used machines, and when I build a new machine, I usually install Windows. Or another way of saying that is if I need a Windows machine, I need new hardware. Usually my Linux boxes are &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=9702\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3,9],"tags":[],"class_list":["post-9702","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9702"}],"version-history":[{"count":2,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9702\/revisions"}],"predecessor-version":[{"id":9704,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9702\/revisions\/9704"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}