<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Grub on ads' corner</title><link>https://andreas.scherbaum.la/tags/grub/</link><description>Recent content in Grub on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 26 Jul 2024 10:16:48 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/grub/index.xml" rel="self" type="application/rss+xml"/><item><title>How to determine the mount point for a device on Linux</title><link>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</link><pubDate>Fri, 26 Jul 2024 10:16:48 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</guid><description>&lt;p&gt;While &lt;a href="https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/"&gt;reinstalling a server&lt;/a&gt; and moving it to &lt;em&gt;Debian&lt;/em&gt;, I ran into the problem that I need to sync the &lt;em&gt;EFI&lt;/em&gt; partitions. The system is using a &lt;em&gt;RAID&lt;/em&gt; on two disks (&lt;em&gt;RAID 1&lt;/em&gt;), but the &lt;em&gt;EFI&lt;/em&gt; partitions can&amp;rsquo;t be a &lt;em&gt;RAID&lt;/em&gt; and need to exist on both disks. Or rather it is useful to have the &lt;em&gt;EFI&lt;/em&gt; partition on every disk: if one disk fails, the system can boot from the other disk.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;grub&lt;/code&gt; only installs the necessary files on one partition. However one can use a script as &lt;code&gt;grub&lt;/code&gt; hook, and sync all partitions.&lt;/p&gt;&#10;&lt;p&gt;This script needs to determine if a device (the &lt;em&gt;EFI&lt;/em&gt; partition) is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.&lt;/p&gt;</description></item><item><title>Install Debian Bookworm on a Software RAID and EFI</title><link>https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/</link><pubDate>Fri, 19 Jul 2024 22:11:01 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/</guid><description>&lt;p&gt;Moving my systems away from &lt;em&gt;Ubuntu&lt;/em&gt;, I also have to reinstall a server at home. This system has two equal disks for a &lt;em&gt;RAID&lt;/em&gt; system, and my plan is to install &lt;em&gt;Debian&lt;/em&gt; on it. Turns out, setting up a Software &lt;em&gt;RAID&lt;/em&gt; on &lt;em&gt;Debian&lt;/em&gt; and booting from &lt;em&gt;EFI&lt;/em&gt; is not a straightforward approach. This blog posting describes the steps.&lt;/p&gt;</description></item></channel></rss>