<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — System]]></title>
		<link>https://forums.hyperbola.info/index.php</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;fid=90&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at HyperForum.]]></description>
		<lastBuildDate>Fri, 01 May 2026 06:15:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[A vulnerability dropped that is bad,]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1184&amp;action=new</link>
			<description><![CDATA[<p><a href="https://en.wikipedia.org/wiki/Copy_Fail">https://en.wikipedia.org/wiki/Copy_Fail</a></p><p>I think our kernel is affected right now.</p><p>Would be wise to update it.</p>]]></description>
			<author><![CDATA[null@example.com (zapper)]]></author>
			<pubDate>Fri, 01 May 2026 06:15:16 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1184&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[[HyperbolaBSD] Feedback and issue-reports on bsdutils]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1166&amp;action=new</link>
			<description><![CDATA[<p>Hello together,</p><p>this thread is meant to collect, discuss, test and solve issues on <strong>bsdutils</strong> in development for HyperbolaBSD and generic GNU/Linux-libre also.</p><p>Here to look out for the development:&nbsp; <a href="https://git.hyperbola.info:50100/hyperbolabsd/bsdutils.git/">https://git.hyperbola.info:50100/hyperb … utils.git/</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 13 Mar 2026 14:06:15 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1166&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[How to add a module to Hyperbola startup?]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1163&amp;action=new</link>
			<description><![CDATA[<p>Hello. How to add a module to system startup? I need tun to start without entering &quot;doas modprobe tun&quot; every time. Thanks <img src="https://forums.hyperbola.info/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />.</p>]]></description>
			<author><![CDATA[null@example.com (bdbbott)]]></author>
			<pubDate>Fri, 13 Feb 2026 13:57:27 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1163&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[HyperbolaBSD System compiler]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1133&amp;action=new</link>
			<description><![CDATA[<p>Hello,<br />I see that HyperbolaBSD is right now on the task to repackage LLVM without GCC dependencies. Does it mean HyperbolaBSD will be only based on LLVM and GCC remaining as an installable package (for C/C++/ada/fortram/go/objc)?</p>]]></description>
			<author><![CDATA[null@example.com (bemc)]]></author>
			<pubDate>Wed, 26 Mar 2025 08:10:39 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1133&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[[Solution] DE session hosted tty in suspended error]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1127&amp;action=new</link>
			<description><![CDATA[<p>I was just researching slock, when I read claims about its failure against tty. Not that the scenario is any different from users switching terminal screens for some reason. I recall that tty might be for OS installation and setup, but the internet may find new things about tty. After reading some instructions, I test tty (Ctrl + Alt + F# keyboard buttons) during DE session on a different OS. Nothing much, save for the login prompt. I returned to the currently active tty, which logs me back to the DE session.</p><p>Now, it is the moment of truth, I test tty on my Hyperbola GNU/Linux-libre OS setup. When I went back to the DE session, the hosting tty takes me back to console session with an error. The error just hangs there. I tried tap keystrokes on Ctrl + C keyboard buttons. They cancel the error as suspected, but I am now on console session. Tapping Ctrl + C keyboard buttons again log me out to console login prompt. Dreading about the cancel command with such powers despite specific conditions, I decided to test tty against slock.</p><p>I activated slock, then rerun the tty test. To my dismay, the error manage to override both slock lockscreen function and DE session. With one cancel command, I was able to run and write files/functions without effort. I even log back into DE session. tty on this OS is a major vulnerability that needs to be taken care of asap.</p><p>Research provided hints about slock&#039;s security consideration. After learning the fix, whereabouts of the xorg config file in question, remains to be seen. I later found a list of possible directories hiding the&nbsp; xorg confile file. Finally, I found a directory path with config files, but which ones? Since the error conflicts with DE, I assume video drivers. Fix of video driver config files and a reboot, managed to prevent access to tty screens. Hyperbola GNU/Linux-libre is a step closer to service/function freedom.</p><p>Upon reflection, the incident made me think about possible causes. Since patching up the video drivers, I&nbsp; blame video drivers as the fault actors. No doubt that they support DE, but there is culpability for misconfiguration. Imagine if an evil maid attack (or cyberattack) breach a OS this way? Easy pickings, easy pickings. Cover-ups too!<br />Proprietary brands that create backdoors, expose victims to trespassing. In the light of this situation, civil action, (libre) MFA, and libre VGA/SDL drivers must stand for liberty and justice for all.</p><p><a href="https://man.archlinux.org/man/xorg.conf.5.en">https://man.archlinux.org/man/xorg.conf.5.en</a><br /><a href="https://man.archlinux.org/man/slock.1.en">https://man.archlinux.org/man/slock.1.en</a><br /></p><div class="codebox"><pre><code># nano /usr/share/X11/xorg.conf.d/##-videodriver.conf</code></pre></div><p>Within /usr/share/X11/xorg.conf.d/##-videodriver.conf, check that the following parameter values are set in place.</p><div class="codebox"><pre><code>Section &quot;OutputClass&quot;
    Identifier &quot;?&quot;
    MatchDriver &quot;?&quot;
    Driver &quot;?&quot;
EndSection

Section &quot;ServerFlags&quot;
    Option &quot;DontVTSwitch&quot; &quot;True&quot;
    Option &quot;DontZap&quot;      &quot;True&quot;
EndSection</code></pre></div><div class="codebox"><pre><code># reboot</code></pre></div><p>Test tty during DE session.</p><p>---</p><p>I encourage people to write these instructions to the video driver installation page. The more and faster good people know about it, the better. I know that this topic may put a dent on Hyperbola GNU/Linux-libre, but as long the pace is on cue, things will improve in effort and time. I&#039;m am sure that this is not the first blunder in GNU/Linux-libre development so things should be looking up.<br /><a href="https://wiki.hyperbola.info/doku.php?id=en:system:display_servers:xenocara#driver_installation">https://wiki.hyperbola.info/doku.php?id … stallation</a><br />I also suggest implementation of (libre) PAM, even if it was by custom installation. Vetting packages to libre standards would help accomplish goals. A far fetch idea is a libre VGA/SDL. These functions have consistently work when graphic cards may fail to render (or even allow unauthorized user privileges) for a variety of reasons.</p>]]></description>
			<author><![CDATA[null@example.com (Ribby)]]></author>
			<pubDate>Tue, 11 Feb 2025 23:19:16 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1127&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1123&amp;action=new</link>
			<description><![CDATA[<p>Is there a simple way, like a bash script or something similar, to make the computer go into sleep mode after a few minutes of inactivity?</p>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Wed, 22 Jan 2025 13:47:27 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1123&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[git]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1114&amp;action=new</link>
			<description><![CDATA[<p>Please tell me, what kind of git do you use to store code? Or do you store everything locally?<br />But if so, which one do you think is more reliable, safe and convenient. Thank you</p>]]></description>
			<author><![CDATA[null@example.com (ra.anima)]]></author>
			<pubDate>Mon, 09 Dec 2024 21:44:11 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1114&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[udisksctl powe-off -b /dev/sd*]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1102&amp;action=new</link>
			<description><![CDATA[<p>There is some command like this:<br /></p><div class="codebox"><pre><code>udisksctl powe-off -b /dev/sd*</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Mon, 07 Oct 2024 01:08:36 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1102&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Hyperbola BSD - Planned File System Support]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1090&amp;action=new</link>
			<description><![CDATA[<p>Hi All,</p><p>Want to understand which filesystems are planned to be supported by the forthcoming Hyperbola BSD release?</p><p>I ask for a very simple reason.&nbsp; I would be a very happy OpenBSD user if it were not for the UFS and UFS2 file system.</p><p>Unfortunately, I still need access to Linux installations from time-to-time and would prefer to have filesystem compatibility - in particular ext4.</p><p>I look forward to learning more about this topic.</p><p>Take care,<br />tuxxed</p>]]></description>
			<author><![CDATA[null@example.com (tuxxed)]]></author>
			<pubDate>Sat, 24 Aug 2024 02:38:24 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1090&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[initramfs are world readable]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1085&amp;action=new</link>
			<description><![CDATA[<p>Hi,</p><p>I&#039;m trying to install Hyperbola on my x200, I find out the /boot/initramfs* are world readable(-rw-r--r--). It&#039;s a huge problem when you use luks keyfiles inside initramfs to auto unlock luks disk.</p><p>In debian, I can use a &quot;UMASK=0077&quot; in config file. <br />In Arch, mkinitramfs seem use umask 0077 by default (ref:<a href="https://bugs.archlinux.org/task/69024">https://bugs.archlinux.org/task/69024</a>). But mkinitramfs in Hyperbola seems little bit old?</p><p>Sorry about my bad English:(</p>]]></description>
			<author><![CDATA[null@example.com (ciodide)]]></author>
			<pubDate>Tue, 30 Jul 2024 14:27:13 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1085&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Network/browser connection issues. And the fix.]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1072&amp;action=new</link>
			<description><![CDATA[<p>These networking things appear, sometimes. But I may have found the fix for the browser one. Maybe all these issues.</p><p>1st error.</p><div class="quotebox"><blockquote><p>error failed retrieving file &#039;libkeybinder3-0.3.2-2-x86_64.pkg.tar.lz&#039; from mirror.cedia.org.ec : error:02FFF068:system library:funx(4095):Connection reset by peer</p></blockquote></div><p>after trying to install peek</p><p>It installed peek, I think, but I do not know if it works yet, as I did not have much to record yet. So maybe it was just that mirror that is having problems.</p><p>But I do not think I had this error when installing vlc.</p><p>2nd error.</p><p>[Error resolving &quot;trisquel.info&quot;: No address associated with hostname]</p><p>showed in badwolf browser on Hyperbola. But this error did not happen in Abrowser on Trisquel.<br />So I do not think it is the site, though it could be. The pureos.net site may also have this issue.<br />But I can get to sites like <a href="https://hyperbola.info">https://hyperbola.info</a> and gnu.org with lynx and badwolf when I was using Hyperbola.</p><p>I also tested it with lynx in the LXTerminal when using Lumina with lumina-extra also installed and just lynx, I think, in the Hyperbola text only command line. As I think that is what starts up first on Hyperbola.</p><p>I saw<br /></p><div class="quotebox"><blockquote><p>Alert!: Unable to connect to remote host.</p><p>lynx: Can&#039;t access startfile <a href="https://trisquel.info">https://trisquel.info</a></p></blockquote></div><p>I can get to <a href="https://trisquel.info">https://trisquel.info</a><br />with the lynx on Trisquel as well as <a href="https://hyperbola.info">https://hyperbola.info</a>.</p><p>3rd error.</p><p>This error reminds me of when I was trying to install Hyperbola, as sometimes I got past the</p><div class="quotebox"><blockquote><p>Internet Connection</p></blockquote></div><p>part and sometimes I could not get a internet connection.</p><p>At first it may have worked in the installer, to get an internet connection with wifi, but if I quit before I installed Hyperbola, and powered off my computer, the next time I tried the installer it showed a similar error.</p><p>This may or may not have been me typing in something different than the first time I tried to install Hyperbola.<br />But I did get Hyperbola to install on my computer after some attempts now.</p><p><a href="https://wiki.hyperbola.info/doku.php?id=en:manual:reference_installation&amp;redirect=1">https://wiki.hyperbola.info/doku.php?id … redirect=1</a></p><p>I thought only issue 2, the browser one, may still be an issue, but than I found the fix. It was likely my mistake.<br />I was used to just clicking on the Mate desktop network thing to turn on wifi/network, but I did not know what it did as I did not know what was being turned on other than the networking and wifi, somehow.</p><p>When using Hyperbola I mostly was first logging in as root, to start/use<br /></p><div class="quotebox"><blockquote><p>ip link set wlp2s0 up</p></blockquote></div><p>than<br /></p><div class="quotebox"><blockquote><p>wpa_supplicant -B -i wlp2s0 -c &lt;(wpa_passphrase &quot;SSID&quot; &quot;Password_here&quot;)</p></blockquote></div><p>than logging out of root and logging in to my other account.</p><p>I could get to <a href="https://hyperbola.info">https://hyperbola.info</a> after that but not <a href="https://trisquel.info">https://trisquel.info</a></p><p>But I did not also start/use<br /></p><div class="quotebox"><blockquote><p>dhcpcd wlp2s0</p></blockquote></div><p>as root.</p><p>After I used<br /></p><div class="quotebox"><blockquote><p>dhcpcd wlp2s0</p></blockquote></div><p>as root, logged out, and into my other account, both badwolf and lynx could get to <a href="https://hyperbola.info">https://hyperbola.info</a> and <a href="https://trisquel.info">https://trisquel.info</a> and likely other sites as well in my other account.</p><p>If anyone also has/had this problem/issue I hope the above information can help.</p>]]></description>
			<author><![CDATA[null@example.com (Other_Cody)]]></author>
			<pubDate>Sun, 16 Jun 2024 18:35:01 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1072&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Questions about Hyperbola]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1033&amp;action=new</link>
			<description><![CDATA[<p>Hello, first of all I want to tell you, thank you for your work in this difficult time, you are great fellows.<br />Please introduce for Milky Way v0.4.5 more detailed installation documentation: qemu and all the dependencies that need to be installed with it. As well as how to configure it correctly, how to use it (both from the console and via qtemu)</p><p>And the second question: Are you doing:<br />Building a ported kernel for FreeBSD bmake<br />Creating a ported user space for FreeBSD bmake.</p><p>Please tell me in detail how it will work in FreeBSD, how much will it protect the user?<br />Will the kernel and user space be able to be installed for any version of FreeBSD and at any stage, or just a clean install?<br />For what purpose. In general, very detailed information about all of them.</p><p>The third question is: Will you do the same for OpenBSD in the future, or only for FreeBSD?</p><p>I hope the translator translated correctly.<br />Thank you</p>]]></description>
			<author><![CDATA[null@example.com (ra.anima)]]></author>
			<pubDate>Tue, 26 Mar 2024 07:42:49 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1033&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Install Full disk encryption (including /boot ) Luks2+argon2id T440P]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=1010&amp;action=new</link>
			<description><![CDATA[<p>Hi all.</p><p>I would like to share my experience of installing Hyperbola with Libreboot+Luks2+argon2id with an encrypted boot partition.<br />This is a <strong>test setup</strong>. There are still questions left:</p><p>1. Password for Grub&nbsp; <a href="https://libreboot.org/docs/linux/grub_hardening.html#grub-secure-boot-with-gpg">https://libreboot.org/docs/linux/grub_h … t-with-gpg</a><br />2. If you insert a second SSD, how to configure Grub so that it is also encrypted.<br />3. Change the picture, <strong>I would put the Hyperbola screensaver</strong> if there is a beautiful photo <a href="https://github.com/vinceliuice/grub2-themes">https://github.com/vinceliuice/grub2-themes</a></p><p>A short preface.</p><p>Unfortunately, there is very little documentation on this installation, what I found on the Internet were options<br />installations without an encrypted boot partition or option with Luks1. Sometimes it seemed to me as if the information was deliberately hidden from the user)) I also looked for answers in reddit, but very often I came across answers like this <a href="https://teddit.zaggy.nl/r/coreboot/comments/ctkrje/problem_grub2_and_debian_full_disk_encryption/">https://teddit.zaggy.nl/r/coreboot/comm … ncryption/</a> or https //teddit.zaggy.nl/r/coreboot/comments/1903q0o/grub2_as_coreboot_payload/ that is, 95% of users do not receive answers to questions on this topic.<br />On the Libreboot website there is a section dedicated to <strong>&quot;Encrypted /boot via LUKS2 with argon2&quot;</strong> <a href="https://libreboot.org/docs/linux/#encrypted-boot-via-luks2-with-argon2">https://libreboot.org/docs/linux/#encry … ith-argon2</a> which, in my opinion, provides general information, but this is not similar to the instructions or Arch wiki or how it was done in Parabola <a href="https://wiki.parabola.nu/Installing_Parabola_on_Libreboot_with_full_disk_encryption_(including_/boot)#Modify_grub.cfg_inside_the_ROM.">https://wiki.parabola.nu/Installing_Par … e_the_ROM.</a></p><br /><p>I wanted to say thank you to<strong> Throgh</strong> who helped me and answered my questions, which helped me. <strong>Wael</strong> from Parabola also helped me answer questions. The user <strong>Cat</strong> also helped me.<strong> Coreboot and Libreboot did not help me on the IRC channel!</strong></p><p>My test was carried out on a T440P computer. If the GRUB in the ROM supports LUKS2, then it can unlock the drive and boot the distribution directly - you don&#039;t even have to install GRUB in your distribution. GRUB is already part of libreboot and is flashed together<br />with it as payload<br />There is code in GRUB that can be used to unlock LUKS1 and LUKS2 dm-crypt using the cryptomount command.<br />Thanks to this, you can boot with full disk encryption by encrypting /boot.<br />Libreboot’s argon2 patches are based on this AUR repository <a href="https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&amp;id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50d">https://aur.archlinux.org/cgit/aur.git/ … 9fa4c2f50d</a> which patched GRUB 2.06, and the patches were rebased for use with GRUB 2.12 which Libreboot uses; the rebase was performed by Nicholas Johnson <a href="https://libreboot.org/news/argon2.html#introduction">https://libreboot.org/news/argon2.html#introduction</a></p><p>This assumes you are doing a fresh installation, I followed my instructions but used:</p><p><strong>--pbkdf argon2id<br />--type luks2</strong></p><div class="codebox"><pre><code># cryptsetup  -v  --cipher aes-xts-plain64  --hash sha512 --iter-time 10000  --key-size 512  --pbkdf argon2id  --use-urandom --verify-passphrase luksFormat  --type luks2 /dev/sda1</code></pre></div><br /><br /><p>This computer requires the implementation of blob-objects, if you do not do this it will not work.<br />In order for Luks2 to work with argon2id, it is recommended to download the latest versions of Libreboot 20231106 or 20240126 <a href="https://mirrors.mit.edu/libreboot/testing/20231106/roms/">https://mirrors.mit.edu/libreboot/testi … 1106/roms/</a> (argon2/luks2 has been supported since August)<br />I used 20231106 in the test. You need to download libreboot-20231106_t440pmrc_12mb.tar.xz to check the authenticity of the file, then unpack and select the version<strong> grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom</strong> or select your language, at the end of the file you will see deqwertz.rom&nbsp; <strong>de</strong> German etc.<br />Next, you need to embed blobs into ROM; this is a peculiar procedure that requires about 8GB of free disk space and about an hour of time (this was the case for me)<br />Written in detail here <a href="https://libreboot.org/docs/install/t440p_external.html.">https://libreboot.org/docs/install/t440p_external.html.</a> You don&#039;t need to disassemble your computer, you embed the blobs and then use the flashrom utility.</p><p>Install flashrom</p><div class="codebox"><pre><code>$ doas pacman -S flashrom</code></pre></div><p>Before updating the release, you need to boot into Linux with the kernel parameter <strong>&quot;iomem=relaxed&quot;</strong>. The Linux kernel, starting with version 4.4, blocks access to the ROM as a security measure, so when starting the flashrom, an error like <strong>“/dev/mem mmap error”</strong> will be displayed. To get around this, you need to tell the kernel to allow access to low-level hardware for boot time.</p><p>Once you get to the grub menu, you can edit the default menu entry by pressing &quot;e&quot;. Use your arrow keys to navigate to the line starting with &quot;linux&quot; and add <strong>&quot;iomem=relaxed&quot;</strong> to the end of the line. After editing, press Ctrl +x</p><br /><p>or</p><p>Turn on your computer and, depending on the version of SeaBios (press &quot;Esc&quot; then &quot;c&quot;) or Grub (press &quot;c&quot;), enter:</p><div class="codebox"><pre><code>cryptomount -a
set root=&#039;lvm/matrix-rootvol&#039;
linux /boot/vmlinuz-linux-libre root=/dev/matrix/rootvol cryptdevice=/dev/sda1:lvm  iomem=relaxed
initrd /boot/initramfs-linux-libre.img
boot</code></pre></div><br /><p>After the computer has booted, let&#039;s check by entering in the terminal:</p><div class="codebox"><pre><code>$ cat /proc/cmdline</code></pre></div><p>you should see at the end <strong> iomem=relaxed</strong></p><div class="codebox"><pre><code>BOOT_IMAGE=/boot/vmlinuz-linux-libre root=/dev/matrix/rootvol cryptdevice=/dev/sda1:lvm  iomem=relaxed</code></pre></div><p>Your computer is now ready.</p><p>Next you need to edit Libreboot&#039;s grub.cfg and add these lines:</p><br /><div class="codebox"><pre><code>.......
  echo #Insert newline
}

menuentry &#039;Load Hyperbola GNU/Linux-Libre (LTS)&#039; {

insmod ahci
insmod part_msdos
insmod lvm
insmod cryptodisk
cryptomount -a
set root=&#039;lvm/matrix-rootvol&#039;
linux /boot/vmlinuz-linux-libre root=/dev/matrix/rootvol cryptdevice=/dev/sda1:lvm 
initrd /boot/initramfs-linux-libre.img
}


menuentry &#039;Search ISOLINUX menu (AHCI) [a]&#039; --hotkey=&#039;a&#039; {
......</code></pre></div><p>Remove this part of the code since I&#039;m not using raid:</p><div class="codebox"><pre><code>menuentry &#039;Load Operating System (incl. fully encrypted disks)  [o]&#039; --hotkey=&#039;o&#039; {

    if [ &quot;${grub_scan_disk}&quot; != &quot;ata&quot; ]; then
        search_grub ahci
    fi
    if [ &quot;${grub_scan_disk}&quot; != &quot;ahci&quot; ]; then
        search_grub ata
    fi

    # grub device enumeration is very slow, so checks are hardcoded

    # TODO: add more strings, based on what distros set up when
    # the user select auto-partitioning on those installers
    lvmvol=&quot;lvm/matrix-bootvol lvm/matrix-rootvol&quot;

    raidvol=&quot;md/0 md/1 md/2 md/3 md/4 md/5 md/6 md/7 md/8 md/9&quot;

    # in practise, doing multiple redundant checks is perfectly fast and
    # TODO: optimize grub itself, and use */? here for everything

    for vol in ${lvmvol} ${raidvol} ; do
        try_user_config &quot;${vol}&quot;
    done

    unset ahcidev
    unset atadev
    for i in 11 10 9 8 7 6 5 4 3 2 1 0; do
        for part in 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1; do
            if [ &quot;${grub_scan_disk}&quot; != &quot;ata&quot; ]; then
                ahcidev=&quot;(ahci${i},${part}) ${ahcidev}&quot;
            fi
            if [ &quot;${grub_scan_disk}&quot; != &quot;ahci&quot; ]; then
                atadev=&quot;(ata${i},${part}) ${atadev}&quot;
            fi
        done
    done

    set pager=0
    echo -n &quot;Attempting to unlock encrypted volumes&quot;
    for dev in ${ahcidev} ${atadev} ${lvmvol} ${raidvol}; do
        if cryptomount &quot;${dev}&quot; ; then break ; fi
    done
    set pager=1
    echo

    # after cryptomount, lvm volumes might be available
    for vol in ${lvmvol}; do
        try_user_config &quot;${vol}&quot;
    done

    search_grub crypto

    if [ &quot;${grub_scan_disk}&quot; != &quot;ata&quot; ]; then
        # Last resort, if all else fails
        set root=ahci0,1
        for p in / /boot/; do
            if [ -f &quot;${p}vmlinuz&quot; ]; then
                linux ${p}vmlinuz root=/dev/sda1 rw
                if [ -f &quot;${p}initrd.img&quot; ]; then
                    initrd ${p}initrd.img
                fi
            fi
        done
    fi

    if [ &quot;${grub_scan_disk}&quot; != &quot;ahci&quot; ]; then
        # Last resort (for setups that use IDE instead of SATA)
        set root=ata0,1
        for p in / /boot/; do
            if [ -f &quot;${p}vmlinuz&quot; ]; then
                linux ${p}vmlinuz root=/dev/sda1 rw
                if [ -f &quot;${p}initrd.img&quot; ]; then
                    initrd ${p}initrd.img
                fi
            fi
        done
    fi

    true # Prevent pager requiring to accept each line instead of whole screen</code></pre></div><p><strong>Saves changes.</strong></p><p>To add, change or remove grub.cfg you need the <strong>&quot;cbfstool&quot;</strong> utility<br />You can download the utility like this: </p><div class="codebox"><pre><code>wget https://mrchromebox.tech/files/util/cbfstool.tar.gz  &amp;&amp; tar -zxf cbfstool.tar.gz</code></pre></div><p>Let&#039;s check the Libreboot ROM with the command:</p><p>./cbfstool let to your ROM print</p><div class="codebox"><pre><code>./cbfstool /home/jim/Downloads/grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom ptint</code></pre></div><p>You will find that there is <strong>no grub.cfg in the Libreboot ROM</strong> because <a href="https://libreboot.org/docs/linux/grub_cbfs.html#extract-grub.cfg">https://libreboot.org/docs/linux/grub_c … t-grub.cfg</a> has changed.</p><div class="codebox"><pre><code>FMAP REGION: COREBOOT
Name                           Offset     Type           Size   Comp
cbfs_master_header             0x0        cbfs header        32 none
fallback/romstage              0x80       stage           45464 none
cpu_microcode_blob.bin         0xb2c0     microcode       63488 none
intel_fit                      0x1ab00    (unknown)         112 none
fallback/ramstage              0x1abc0    stage          115811 LZMA (241176 decompressed)
config                         0x37080    raw              3008 LZMA (9738 decompressed)
revision                       0x37c80    raw               705 none
build_info                     0x37f80    raw                90 none
fallback/dsdt.aml              0x38000    raw             14002 none
vbt.bin                        0x3b700    raw              1410 LZMA (4608 decompressed)
cmos.default                   0x3bcc0    cmos_default      256 none
cmos_layout.bin                0x3be00    cmos_layout      1296 none
fallback/postcar               0x3c340    stage           20940 none
img/memtest                    0x41580    simple elf      58104 none
seabios.elf                    0x4f8c0    simple elf      64092 none
etc/ps2-keyboard-spinup        0x5f340    raw                 8 none
etc/pci-optionrom-exec         0x5f380    raw                 8 none
etc/optionroms-checksum        0x5f3c0    raw                 8 none
vgaroms/seavgabios.bin         0x5f400    raw             26112 none
fallback/payload               0x65a40    simple elf     533608 none
background.png                 0xe7f00    raw              3451 none
scan.cfg                       0xe8cc0    raw                26 none
keymap.cfg                     0xe8d00    raw                16 none
(empty)                        0xe8d40    null          7352100 none
bootblock                      0x7ebc80   bootblock       16704 none</code></pre></div><p>Now, before using the updated grub.cfg, let&#039;s check how it works using grubtest.cfg. <strong>It is very important!</strong><br />grubtest.cfg contains the same information as grub.cfg .</p><p>Add <strong>grubtest.cfg</strong> to your ROM with the command:</p><div class="codebox"><pre><code>./cbfstool /home/jim/Downloads/grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom add -n grubtest.cfg -f /home/jim/grubtest.cfg -t raw</code></pre></div><p>To remove grubtest.cfg or grub.cfg use the command:</p><div class="codebox"><pre><code>./cbfstool /home/jim/Downloads/grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom remove -n grubtest.cfg</code></pre></div><p>Extract grub.cfg</p><div class="codebox"><pre><code>./cbfstool /home/jim/Downloads/grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom extract -n grub.cfg -f grub.cfg</code></pre></div><br /><p>Now check again, you should see grubtest.cfg at the very bottom of the list</p><div class="codebox"><pre><code>./cbfstool /home/jim/Downloads/grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom ptint</code></pre></div><p>Now we need to update our ROM. Since our computer is already ready for this trick) Execute:</p><div class="codebox"><pre><code>$ doas flashrom -p internal</code></pre></div><p>There are no errors, ok, now let’s execute:</p><div class="codebox"><pre><code>$ doas flashrom -p internal -w grub_t440pmrc_12mb_libgfxinit_corebootfb_usqwerty.rom</code></pre></div><p>...and wait for the message “Verifying flash... <strong>VERIFIED</strong>.”. Once you do this, turn off your computer and boot into the new configuration.</p><p>The boot process may ask for the passphrase twice: first GRUB asks for it, and then the init system asks for it again because GRUB cannot pass the passphrase or the unlock state to the init system.</p><p>in the Grub menu you will see:</p><p><strong>*Load test configuration (grubtest.cfg) inside of CBFS(t)</strong></p><p><span class="postimg"><img src="https://files.catbox.moe/c3wsow.png" alt="https://files.catbox.moe/c3wsow.png" /></span></p><p>Select and press &quot;Enter&quot;</p><p>You will be greeted by the following message that will ask you to enter a password.</p><p><strong>Enter passphrase for ahci1,msdos (9283749-23423429-2893749823-23894):</strong></p><p>Next, you need to enter the password for your encrypted disk again.</p><p><strong>Enter passphrase for /dev/sda1</strong></p><p>If everything went well,<strong> change grubtest.cfg to grub.cfg</strong> and try this trick again. Just rename the file.</p><p>You can also change grub.cfg so that after booting the computer you do not have the Grub menu.</p><div class="codebox"><pre><code>set timeout=10

on

set timeout=0</code></pre></div><p>and after booting the computer, instead of the Grub menu you will see the following message:</p><p><strong>Enter passphrase for ahci1,msdos (9283749-23423429-2893749823-23894):</strong></p><br /><p>At the moment everything is working well, but after entering the password I get the message:</p><div class="codebox"><pre><code>error: AHCI transfer error </code></pre></div><p>but even with this error everything works stably.</p><p><strong>When I deleted the DVD there was no more error))</strong> And I liked it so much, it’s old school))</p><br /><p>If you have anything to add, please write...</p>]]></description>
			<author><![CDATA[null@example.com (jim)]]></author>
			<pubDate>Sun, 11 Feb 2024 09:06:05 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=1010&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Cross-compiler for HyperbolaBSD?]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=918&amp;action=new</link>
			<description><![CDATA[<p>Will there be a cross-compiler available to build the hyper kernel, libraries, and minimal userland on any other posix-compliant system?</p>]]></description>
			<author><![CDATA[null@example.com (schilling.klaus)]]></author>
			<pubDate>Fri, 20 Oct 2023 16:52:36 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=918&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Direct download link HyperbolaBSD]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?id=916&amp;action=new</link>
			<description><![CDATA[<p>Hi all . Please tell me where the direct link for downloading the image disappeared?</p><p>The wiki lists mirrors&nbsp; <a href="https://wiki.hyperbola.info/doku.php?id=en:project:sources">https://wiki.hyperbola.info/doku.php?id … ct:sources</a> , but I only see the torrent or the path to the programs <a href="https://mirror.cedia.org.ec/hyperbola/gnu-plus-linux-libre/stable/pool/hyperbola/">https://mirror.cedia.org.ec/hyperbola/g … hyperbola/</a></p>]]></description>
			<author><![CDATA[null@example.com (jim)]]></author>
			<pubDate>Wed, 18 Oct 2023 20:05:30 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?id=916&amp;action=new</guid>
		</item>
	</channel>
</rss>
