<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5145&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5145</link>
		<description><![CDATA[The most recent posts in [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu.]]></description>
		<lastBuildDate>Tue, 26 Jul 2022 08:24:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36814#p36814</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>If /sys/firmware/efi/ does not exist then the system is not booted in UEFI mode and no new NVRAM boot entries can be made.</p><p>@OP: make sure &quot;Legacy&quot; mode (CSM) is disabled and UEFI is enabled in the firmware (&quot;BIOS&quot;) options.</p><p>As a last resort Windows can chainload Devuan with this command (run as Administrator):</p><div class="codebox"><pre><code>bcdedit /set &quot;{bootmgr}&quot; path &quot;\EFI\debian\grubx64.efi&quot;</code></pre></div></div></blockquote></div><p>That was the problem! I have enabled both legacy and UEFI in the BIOS, and legacy had higher priority so the installation USB stick was booted in legacy mode.<br />After changing the priority, I started the USB-stick in recovery mode and the efi directory was there. However, efivars had not been mounted and I had to mount it by hand. After that</p><div class="codebox"><pre><code># update-grub
# grub-install --target=x86_64-efi</code></pre></div><p>did the job: I now get the GRUB menu with Devuan as default entry and from there I can also boot into Windows.</p><p>Thanks a lot for all the answers!</p>]]></description>
			<author><![CDATA[dummy@example.com (giorgiob)]]></author>
			<pubDate>Tue, 26 Jul 2022 08:24:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36814#p36814</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36812#p36812</link>
			<description><![CDATA[<p>If /sys/firmware/efi/ does not exist then the system is not booted in UEFI mode and no new NVRAM boot entries can be made.</p><p>@OP: make sure &quot;Legacy&quot; mode (CSM) is disabled and UEFI is enabled in the firmware (&quot;BIOS&quot;) options.</p><p>As a last resort Windows can chainload Devuan with this command (run as Administrator):</p><div class="codebox"><pre><code>bcdedit /set &quot;{bootmgr}&quot; path &quot;\EFI\debian\grubx64.efi&quot;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 26 Jul 2022 05:44:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36812#p36812</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36806#p36806</link>
			<description><![CDATA[<p>perhaps it works with </p><div class="codebox"><pre><code># modprobe efivars</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 25 Jul 2022 23:07:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36806#p36806</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36801#p36801</link>
			<description><![CDATA[<p>Thanks a lot for the hints.</p><p>I have booted into recovery mode: There is indeed no directory /sys/firmare/efi, neither in the installer console nor in the chroot shell.<br />I tried</p><div class="codebox"><pre><code># mount -t efivarfs efivarfs /sys/firmware/efi/efivars</code></pre></div><p>In the chroot shell this gives:</p><div class="codebox"><pre><code>mount: /sys/firmware/efi/efivars: mount point does not exist</code></pre></div><p>I am not allowed to create the mount point:</p><div class="codebox"><pre><code># mkdir -p /sys/firmware/efi/efivars
mkdir: cannot create directory `/sys/firmware/efi&#039;: Operation not permitted</code></pre></div><p>Trying to mount from another console (without chroot) gives the following error:</p><div class="codebox"><pre><code>mount: mounting efivarfs on /sys/firmware/efi/efivars failed: No such file or directory</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (giorgiob)]]></author>
			<pubDate>Mon, 25 Jul 2022 21:02:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36801#p36801</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36799#p36799</link>
			<description><![CDATA[<p><a href="https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface#Mount_efivarfs" rel="nofollow">https://wiki.archlinux.org/title/Unifie … t_efivarfs</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 25 Jul 2022 19:59:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36799#p36799</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36797#p36797</link>
			<description><![CDATA[<p>Well, the error you got saying &quot;EFI variables are not supported on this system.&quot; tells me you run into the same problem I have seen several times with Chimaera. Have a read through this thread: <a href="https://dev1galaxy.org/viewtopic.php?id=4496" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=4496</a></p><p>I guess you need to mount the efivars before running the grub-install.</p><p>Good luck, rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 25 Jul 2022 19:30:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36797#p36797</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Chimaera Dual Boot with Existing Windows (GPT/EFI): No GRUB Menu]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36796#p36796</link>
			<description><![CDATA[<p>I am trying to install Devuan Chimaera on a Lenovo ThinkPad that has Windows 10 pre-installed.<br />I would like to have a dual boot system. I have done such installations many times with MBR but<br />I have no experience with EFI/GPT.</p><p>The SSD internal disk has a GPT-partitioning that initially looked like this:</p><div class="codebox"><pre><code>/dev/sda1 1G Microsoft basic data
/dev/sda2 260M EFI System
/dev/sda3 500M Microsoft reserved
/dev/sda4 ~220 G Microsoft basic data (drive C:)
/dev/sda5 953 M Microsoft basic data </code></pre></div><p>I have shrinked partition 4 from Windows and then installed Devuan using a netinstall image.<br />From the installer, I have created a 1G ext4 boot partition (/dev/sda6) and a 124 G encrypted partition (/dev/sda7) in the free space.<br />Then I have used the encrypted partition as a volume for LVM and put a swap and a root partition in it.</p><p>The installation seemed to work. I had a warning from GRUB but I thought everything would be OK.<br />But when I rebooted the laptop I got not GRUB-menu: the system just booted into Windows.</p><p>So I read some domentation (https://www.gnu.org/software/grub/manual/grub/grub.html, Section 4.1 Installing GRUB using grub-install)<br />and I rebooted the installation USB-stick into recovery mode and opened a shell in the root filesystem of the installation.</p><p>There; I followed the instructions from the GRUB documentation and made a directory</p><div class="codebox"><pre><code>/boot/efi</code></pre></div><p>and mounted the EFI System partition (/dev/sda2) under /boot/efi. Then I ran</p><div class="codebox"><pre><code># update-grub
# grub-install --target=x86_64-efi</code></pre></div><p>This seemed to work, even though the second command printed a warning: EFI variables are not supported on this system.<br />Anyway, the EFI System partition now contained a directory:</p><div class="codebox"><pre><code>/EFI/debian</code></pre></div><p>or</p><div class="codebox"><pre><code>/boot/efi//EFI/debian</code></pre></div><p>from Devuan.</p><p>So, I left the recovery shell and rebooted but I still got no GRUB-menu: The computer booted directly into Windows as if GRUB were not installed.</p><p>Do you have any hints? I can reinstall from scratch and post any GRUB warnings here in case you need more detailed information.</p>]]></description>
			<author><![CDATA[dummy@example.com (giorgiob)]]></author>
			<pubDate>Mon, 25 Jul 2022 19:10:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36796#p36796</guid>
		</item>
	</channel>
</rss>
