<?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=555&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Replace GRUB with alternate bootloader: extlinux]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=555</link>
		<description><![CDATA[The most recent posts in Replace GRUB with alternate bootloader: extlinux.]]></description>
		<lastBuildDate>Thu, 06 Aug 2020 21:15:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23861#p23861</link>
			<description><![CDATA[<div class="quotebox"><cite>Vernon wrote:</cite><blockquote><div><p> I have only seen the block device allocation change when disks were added. I have never seen the block device allocation change on a single disk system. Regardless, using UUIDs is a much safer practice long term.</p></div></blockquote></div><p>It also happens if you unplug the drives and put them back in a different order.<br /> I did this once, OK, I was adding new drives for a RAID1 install, and forgot to record which socket each disk was plugged in to originally and got some what confused for a while. However even if you don&#039;t add drives just permuting the existing drives would do it.</p>]]></description>
			<author><![CDATA[dummy@example.com (Marjorie)]]></author>
			<pubDate>Thu, 06 Aug 2020 21:15:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23861#p23861</guid>
		</item>
		<item>
			<title><![CDATA[Re: Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23860#p23860</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="codebox"><pre><code>	append initrd=/initrd.img ro root=/dev/sda1</code></pre></div></div></blockquote></div><p>It&#039;s better to identify the root partition with UUIDs, the block device allocation can change from one boot to the next.</p><div class="codebox"><pre><code>	append initrd=/initrd.img ro root=UUID=$uuid</code></pre></div><p>^ Replace <span class="bbc">$uuid</span> with the actual UUID of the root partition.</p></div></blockquote></div><p>Great point! However, I have only seen the block device allocation change when disks were added. I have never seen the block device allocation change on a single disk system. Regardless, using UUIDs is a much safer practice long term.</p>]]></description>
			<author><![CDATA[dummy@example.com (Vernon)]]></author>
			<pubDate>Thu, 06 Aug 2020 20:16:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23860#p23860</guid>
		</item>
		<item>
			<title><![CDATA[Re: Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23859#p23859</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="codebox"><pre><code>	append initrd=/initrd.img ro root=/dev/sda1</code></pre></div></div></blockquote></div><p>It&#039;s better to identify the root partition with UUIDs, the block device allocation can change from one boot to the next.</p><div class="codebox"><pre><code>	append initrd=/initrd.img ro root=UUID=$uuid</code></pre></div><p>^ Replace <span class="bbc">$uuid</span> with the actual UUID of the root partition.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 06 Aug 2020 17:08:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23859#p23859</guid>
		</item>
		<item>
			<title><![CDATA[Re: Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23855#p23855</link>
			<description><![CDATA[<p>Thanks very much for this tutorial! I have always found GRUB way too complicated and bloated. I opted for a text boot menu and a two second timeout so my <span class="bbc">/boot/extlinux/extlinux.conf</span> looks like </p><div class="codebox"><pre><code>ui menu.c32

label devuan
        menu label devuan
        kernel /vmlinuz
        append initrd=/initrd.img ro root=/dev/sda1
        timeout 20</code></pre></div><p>More&#160; <span class="bbc">/boot/extlinux/extlinux.conf</span>&#160; options can found at </p><p><a href="https://git.zytor.com/syslinux/syslinux.git/plain/doc/syslinux.txt" rel="nofollow">https://git.zytor.com/syslinux/syslinux … slinux.txt</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Vernon)]]></author>
			<pubDate>Thu, 06 Aug 2020 14:20:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23855#p23855</guid>
		</item>
		<item>
			<title><![CDATA[Re: Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7870#p7870</link>
			<description><![CDATA[<p>If you&#039;re using gpt with bios, the procedure is slightly different. You may need to do the following steps first.</p><p><a href="https://wiki.archlinux.org/index.php/syslinux#GUID_partition_table" rel="nofollow">https://wiki.archlinux.org/index.php/sy … tion_table</a></p><div class="quotebox"><blockquote><div><p>GUID partition table</p><p>For a GPT, ensure bit 2 of the attributes is set for the /boot partition using gdisk. In other words, the &quot;legacy_boot&quot; flag must be set. Using sgdisk the command is:</p><div class="codebox"><pre><code># sgdisk /dev/sda --attributes=1:set:2</code></pre></div><p>This would toggle the attribute legacy BIOS bootable on partition 1 of /dev/sda. To check:</p><div class="codebox"><pre><code># sgdisk /dev/sda --attributes=1:show

 1:2:1 (legacy BIOS bootable)</code></pre></div></div></blockquote></div><p>Then follow the instructions in the first post, except for the dd command.<br />Change the following</p><div class="codebox"><pre><code>dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sda bs=440 count=1</code></pre></div><p>to this:</p><div class="codebox"><pre><code>dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/mbr/gptmbr.bin of=/dev/sda</code></pre></div><p>If you want to use UUID instead of device names in the menu, edit the &#039;append&#039; line to replace</p><div class="codebox"><pre><code>root=/dev/sda1</code></pre></div><p>with something like </p><div class="codebox"><pre><code>root=UUID=xxxxxxxxxxxxxxxxxxx</code></pre></div><p> (replace xxxxx... with the correct uuid.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 06 Mar 2018 13:47:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7870#p7870</guid>
		</item>
		<item>
			<title><![CDATA[Replace GRUB with alternate bootloader: extlinux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1177#p1177</link>
			<description><![CDATA[<p>extlinux is a simple bootloader that&#039;s part of the syslinux project. (syslinux is for FAT partitions, extlinux is for ext2/3/4 partitions, isolinux is for CD/DVD)</p><p>You can easily switch from using grub as a bootloader to using extlinux (and back again if you want). </p><p>Run the following commands as root. Replace /dev/sda and /dev/sda1 with the correct drive and partition for your system. <br />BE SURE YOU NAME THE CORRECT DEVICES!</p><div class="codebox"><pre><code>apt-get install extlinux syslinux-common
mkdir /boot/extlinux
extlinux --install /boot/extlinux
dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sda bs=440 count=1
cp /usr/lib/syslinux/modules/bios/*.c32 /boot/extlinux</code></pre></div><p>Create a boot menu with your favorite text editor, add the following lines and save it as /boot/extlinux/extlinux.conf </p><div class="codebox"><pre><code>ui vesamenu.c32

label devuan
	menu label devuan
	kernel /vmlinuz
	append initrd=/initrd.img ro root=/dev/sda1</code></pre></div><p>Reboot</p><p>If you want to add a splash image and 5-second timeout, copy a 640x480 png (or jpg) image named splash.png (or splash.jpg) to /boot/extlinux and add the following lines to extlinux.conf:</p><div class="codebox"><pre><code>ui vesamenu.c32
menu background splash.png
timeout 50

label devuan
	menu label devuan
	kernel /vmlinuz
	append initrd=/initrd.img ro root=/dev/sda1</code></pre></div><p>There are more things you can do with the menu. See syslinux documentation for more information:<br /><a href="http://www.syslinux.org/wiki/index.php?title=Menu" rel="nofollow">http://www.syslinux.org/wiki/index.php?title=Menu</a></p><p>To revert to booting with grub, run </p><div class="codebox"><pre><code>grub-install /dev/sda</code></pre></div><p>Reboot</p><p>To switch back to extlinux again: </p><div class="codebox"><pre><code>dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sda bs=440 count=1</code></pre></div><p>Reboot</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 19 Apr 2017 21:18:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1177#p1177</guid>
		</item>
	</channel>
</rss>
