<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4918&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Question about netinstall to existing UEFI-based system]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4918</link>
		<description><![CDATA[The most recent posts in Question about netinstall to existing UEFI-based system.]]></description>
		<lastBuildDate>Thu, 03 Mar 2022 14:02:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35009#p35009</link>
			<description><![CDATA[<p>All the Devuan installer will do is add a new directory to the EFI system partition and add a new boot entry to the top of the list in the motherboard NVRAM. You can always re-instate the Void GRUB menu by placing it at the top instead:</p><div class="codebox"><pre><code>efibootmgr -o xxxx,yyyy</code></pre></div><p>Replace <span class="bbc">xxxx</span> &amp; <span class="bbc">yyyy</span> with the boot numbers for Void &amp; Devuan, respectively. Running <span class="bbc">efibootmgr</span> with no arguments will list the current NVRAM boot entries and their order.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 03 Mar 2022 14:02:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35009#p35009</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35007#p35007</link>
			<description><![CDATA[<p>@fsmithred:&#160; thanks, I am not aware of what would modify my custom grub.cfg file between boots;&#160; on Void grub.cfg persists until I install a new kernel and then I manually revise it.&#160; Probably Devuan does something different.</p><p>I take your point about using UUIDs when multiple drives are present.</p><p>The 177 line grub.cfg file created for Void has does not contain the strings &quot;msdos&quot; or &quot;gpt&quot;, but I can see that msdos-&gt;gpt would be right;&#160; I assume that files in /etc/grub.d/ are used by grub-mkconfig to create grub.cfg.&#160; Unfortunately, I can&#039;t find out what Devuan would put here without actually letting the installer load the bootloader.&#160; Lots of thinking needed.&#160; Maybe a few experiments.</p><p>I am probably making too much of a meal of this and should just rsync backup everything to USB drive and let the Devuan installer run bootloader as its last step.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Wed, 02 Mar 2022 23:29:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35007#p35007</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35006#p35006</link>
			<description><![CDATA[<p>If you wanted to replace the grub-mkconfig generated /boot/grub/grub.cfg in Void then you would have to disable whatever automation Void is using to run grub-mkconfig whenever the kernel is updated and instead edit the file manually yourself to point to the new kernel &amp; initramfs images.</p><p>I don&#039;t use Void so I have no idea if they have an equivalent to De{vu,bi}an&#039;s kernel &amp; initramfs symlinks in the root partition.</p><p>But you probably don&#039;t need the <span class="bbc">insmod</span> stuff anyway. In my experience GRUB is pretty good at autoloading modules.</p><p>EDIT: looks like the Void grub package uses <a href="https://github.com/void-linux/void-packages/blob/master/srcpkgs/grub/files/kernel.d/grub.post" rel="nofollow">this script</a> in /etc/kernel.d/ so you could replace that with your own script to change the kernel &amp; initramfs image names to match the new, updated versions. I presume a <span class="bbc">.post</span> suffix for the script would cause it to be applied after any kernel upgrade.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 02 Mar 2022 22:47:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35006#p35006</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35004#p35004</link>
			<description><![CDATA[<p>Put your custom menuentry in /etc/grub.d/40_custom and then run the grub-mkconfig command to regenerate the menu. If you modify grub.cfg directly, your edits will be overwritten the next time the menu gets updated.</p><p>And if you have more than one hard disk, you&#039;re better off using UUIDs instead of /dev/sda2, in case the drives don&#039;t always come up in the same order.</p><div class="quotebox"><blockquote><div><p>set root=&#039;hd0,msdos2&#039;</p></div></blockquote></div><p>Really? Not &#039;hd0,gpt2&#039;? You have msdos partition table with uefi instead of gpt?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 Mar 2022 22:17:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35004#p35004</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35001#p35001</link>
			<description><![CDATA[<p>Thanks for the replies.</p><p>@fsmithred:&#160; it sounds like the Devuan installer does the right thing.&#160; To be safe, I will use rsync on both partitions and &quot;sgdisk --backup&quot; to save the partition table.</p><p>@rolfie:&#160; I didn&#039;t understand your reply [my fault].</p><p>@head_on_a_stick?&#160; your solution implies that, as long as I don&#039;t allow the Devuan installer to install the GRUB bootloader, then I can create my own complete menuentry script for Devuan and append it to the end of the Void grub.cfg file [running grub_install from Void].&#160; That sort of implies that I can replace the Void supplied monster grub.cfg with a simpler:</p><p>&#160; menuentry &#039;Void 5.9.16&#160; runit restart [sda2]&#039; {<br />&#160; &#160; &#160;insmod gzio<br />&#160; &#160; &#160;insmod part_msdos<br />&#160; &#160; &#160;insmod ext2<br />&#160; &#160; &#160;set root=&#039;hd0,msdos2&#039;<br />&#160; &#160; &#160;linux /boot/vmlinuz-5.9.16_1 root=/dev/sda2 rootfstype=ext2 quiet ro nosmt<br />&#160; &#160; &#160;initrd /boot/initramfs-5.9.16_1.img<br />&#160; }</p><p>which makes no reference to UEFI!&#160; Or am I missing something?</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Wed, 02 Mar 2022 20:58:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35001#p35001</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34985#p34985</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>With the downside that you have to modify this with every new kernel manually, there will be no automatic configuration possible.</p></div></blockquote></div><p>The OP can add a custom menuentry in Void for Devuan that boots from the /vmlinuz &amp; /initrd.img symlinks in the Devuan root partition that always point to the latest version:</p><div class="codebox"><pre><code>menuentry &#039;Devuan&#039; {
   search.fs_uuid $uuid
   linux /vmlinuz ro quiet root=UUID=$uuid
   initrd /initrd.img
}</code></pre></div><p>Replace <span class="bbc">$uuid</span> with the actual (filesystem) UUID of the Devuan root partition and put that stanza at the end of the file at /etc/grub.d/40_custom in Void then run this command in Void:</p><div class="codebox"><pre><code># grub-mkconfig -o /boot/grub/grub.cfg</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 02 Mar 2022 11:23:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34985#p34985</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34982#p34982</link>
			<description><![CDATA[<p>Well, in EFI mode the two installations are completely independent from each other. There is no detection of another Linux, this only works with Windose. You will either have to use the computers BIOS Boot override key or set up a manual grub config. With the downside that you have to modify this with every new kernel manually, there will be no automatic configuration possible. </p><p>Apart from that: use manual partitioning, make sure you hit p3 for Chimaera. Note: I have made the experience that with the first boot past the install the efivars are not mounted. I am adding that to the fstab. There are threads about that here in the forum.</p><p>If you have further questions, please ask.</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 02 Mar 2022 09:32:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34982#p34982</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34979#p34979</link>
			<description><![CDATA[<p>If you choose Expert install, you will get the choice of installing grub or not. If you let the installer install grub, it will make a boot entry for Void. If you don&#039;t let it add the bootloader, you will need to reboot into Void and do whatever it is you do there to add Devuan to the boot menu.</p><p>With uefi, each system that installs a bootloader will create a directory on the efi partition without removing any previous directoryies. If you install the Devuan bootloader and then want to go back to letting Void boot the computer, you can remove the Devuan entry with efibootmgr. It will be removed from the list of bootable devices that efibootmgr shows you, but the directory will still be there. You would have to do something extraordinary to screw it up permanently.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 Mar 2022 01:07:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34979#p34979</guid>
		</item>
		<item>
			<title><![CDATA[Question about netinstall to existing UEFI-based system]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34978#p34978</link>
			<description><![CDATA[<p>I have accepted that my new computer is an UEFI-only zone.&#160; I installed Void Linux on it:&#160; partition 1 is the vfat[fat16] containing efi &quot;stuff&quot;;&#160; partition 2 contains the Void root file system.&#160; When it boots, I am presented with the GRUB menu showing Void.</p><p>I now want to install Devuan 4.0 on partition 3, but I am&#160; wary of messing up.&#160; Does the netinstall.iso installer work as I would expect:&#160; detects the Void system in partition 2, and constructs a combined grub.conf with Void and Devuan choices?</p><p>When I say &quot;wary&quot; I mean terrified, as I wasted 2 days trying and failing to convert the system from UEFI to MBR.</p><p>All my previous computers over 2.5 decades have been MBR-based, so this is all very new to me.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Tue, 01 Mar 2022 23:57:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34978#p34978</guid>
		</item>
	</channel>
</rss>
