Thicket data repository for the EEG
1{
2 "id": "https://mort.io/blog/grubbing-around/",
3 "title": "Grubbing Around",
4 "link": "https://mort.io/blog/grubbing-around/",
5 "updated": "2016-09-13T00:00:00",
6 "published": "2016-09-13T00:00:00",
7 "summary": "<p>Nothing earth-shattering here: I recently had the “pleasure” of setting up an\nARM64 server. After considerable support, several firmware upgrades, corruption\nof the main HDD, reinstallation of CentOS7 (recommended, somewhat to my\nsurprise), all that remained was to get an up-to-date Linux built and installed\nwith 32 bit binary support. This took a bit of <code>make config</code> fiddling, but got\nthere after a few tries.</p>\n<p>And then I had to relearn how <code>grub</code>/<code>grub2</code> works in this brave new (to me)\nUEFI CentOS7 world. Herewith some brief commands I found useful while doing\nso…</p>\n<pre><code><span><span><span>sudo</span></span><span> grep <span><span>"</span>^menu entry<span>"</span></span> /boot/efi/EFI/centos/grub.cfg <span>\\\n</span></span></span><span><span></span> <span>|</span> <span><span>tr</span></span><span><span><span> -</span>s</span> <span><span>"</span> <span>"</span></span></span> <span>|</span> <span><span>cut</span></span><span><span><span> -</span>f</span> 2<span><span> -</span>d</span> <span><span>"</span>'<span>"</span></span></span> <span>|</span> <span><span>cat</span></span><span><span><span> -</span>n</span></span>\n</span></code></pre>\n<p>Edit <code>/etc/default/grub</code> to set <code>GRUB_DEFAULT=N</code> for desired value of <code>N</code></p>\n<p>Temporarily set the default for the next reboot:</p>\n<pre><code><span><span><span>sudo</span></span><span> grub2-reboot 1 <span><span>#</span></span><span> based on output of above</span><span>\n</span></span></span></code></pre>\n<p>Regenerate the grub2 configuration:</p>\n<pre><code><span><span><span>sudo</span></span><span> grub2-mkconfig<span><span> -</span>o</span> /boot/efi/EFI/centos/grub.cfg</span>\n</span></code></pre>",
8 "content": "<p>Nothing earth-shattering here: I recently had the “pleasure” of setting up an\nARM64 server. After considerable support, several firmware upgrades, corruption\nof the main HDD, reinstallation of CentOS7 (recommended, somewhat to my\nsurprise), all that remained was to get an up-to-date Linux built and installed\nwith 32 bit binary support. This took a bit of <code>make config</code> fiddling, but got\nthere after a few tries.</p>\n<p>And then I had to relearn how <code>grub</code>/<code>grub2</code> works in this brave new (to me)\nUEFI CentOS7 world. Herewith some brief commands I found useful while doing\nso…</p>\n<pre><code><span><span><span>sudo</span></span><span> grep <span><span>"</span>^menu entry<span>"</span></span> /boot/efi/EFI/centos/grub.cfg <span>\\\n</span></span></span><span><span></span> <span>|</span> <span><span>tr</span></span><span><span><span> -</span>s</span> <span><span>"</span> <span>"</span></span></span> <span>|</span> <span><span>cut</span></span><span><span><span> -</span>f</span> 2<span><span> -</span>d</span> <span><span>"</span>'<span>"</span></span></span> <span>|</span> <span><span>cat</span></span><span><span><span> -</span>n</span></span>\n</span></code></pre>\n<p>Edit <code>/etc/default/grub</code> to set <code>GRUB_DEFAULT=N</code> for desired value of <code>N</code></p>\n<p>Temporarily set the default for the next reboot:</p>\n<pre><code><span><span><span>sudo</span></span><span> grub2-reboot 1 <span><span>#</span></span><span> based on output of above</span><span>\n</span></span></span></code></pre>\n<p>Regenerate the grub2 configuration:</p>\n<pre><code><span><span><span>sudo</span></span><span> grub2-mkconfig<span><span> -</span>o</span> /boot/efi/EFI/centos/grub.cfg</span>\n</span></code></pre>",
9 "content_type": "html",
10 "author": {
11 "name": "Unknown",
12 "email": null,
13 "uri": null
14 },
15 "categories": [],
16 "source": "https://mort.io/atom.xml"
17}