<?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=5397&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5397</link>
		<description><![CDATA[The most recent posts in [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention.]]></description>
		<lastBuildDate>Mon, 12 Dec 2022 18:11:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39310#p39310</link>
			<description><![CDATA[<p>@dev-1-dash-1</p><p>Yes, you are right, thanks.<br />When booted from /sdb, it becomes hd0.<br />The configuration of one of my computers is the same as yours, so I made sure in practice. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p> Regards.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Mon, 12 Dec 2022 18:11:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39310#p39310</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39307#p39307</link>
			<description><![CDATA[<div class="quotebox"><cite>aluma wrote:</cite><blockquote><div><p>@dev-1-dash-1<br />Maybe I&#039;m wrong, but there is a mistake in your very first post.</p></div></blockquote></div><p>Thank you for trying to help.<br />But you are wrong indeed.<br />See post #5 from this thread.<br />Problem is not in my grub entry, it works exactly as it needs to.</p><p>You can try booting the iso from hdd yourself, with or without &quot;apparmor=0&quot; parameter, and report your experiences.</p><p>This thread is marked solved for now, will keep an eye out for future versions.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Mon, 12 Dec 2022 16:00:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39307#p39307</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39303#p39303</link>
			<description><![CDATA[<p>@dev-1-dash-1<br />Maybe I&#039;m wrong, but there is a mistake in your very first post.</p><div class="codebox"><pre><code>set root=&quot;hd1,9&quot;</code></pre></div><p> is the /sdb drive and you are looking for the image<br />to </p><div class="codebox"><pre><code>fromiso=/dev/sda9</code></pre></div><p>, this is the /sda drive.<br />&#160; Here&#039;s another working version. For other distributions, the path to the bootloader and initrd files may differ.</p><div class="codebox"><pre><code>menuentry &quot;openSUSE&quot; {
  set isofile=/openSUSE.iso
  set root=(hd0,1)
  loopback loop $isofile
  linux (loop)/boot/x86_64/loader/linux install=hd:$isofile
  initrd (loop)/boot/x86_64/loader/initrd
}</code></pre></div><p>PS. With such a record, this error is excluded.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Mon, 12 Dec 2022 08:38:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39303#p39303</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39297#p39297</link>
			<description><![CDATA[<div class="quotebox"><cite>dzz wrote:</cite><blockquote><div><p>? It boots here with or without &quot;apparmor=0&quot; ..</p></div></blockquote></div><p>It most certainly doesn&#039;t boot here without &quot;apparmor=0&quot;. I just tried it again.</p><div class="quotebox"><blockquote><div><p>I always found &quot;findiso&quot; simpler to configure than &quot;fromiso&quot;..</p></div></blockquote></div><p>Irrelevant. Tried both. Makes no difference, unlike apparmor parameter. </p><div class="quotebox"><blockquote><div><div class="codebox"><pre><code>menuentry &quot;devuan5 preview&quot; {
	insmod part_gpt
	set isofile=&#039;(hd0,gpt7)/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso&#039;
	loopback loop $isofile
	linux (loop)/live/vmlinuz boot=live tzdata=Europe/London locales=en_GB.UTF-8 username=devuan findiso=/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso
	initrd (loop)/live/initrd.img
	}</code></pre></div></div></blockquote></div><p>If you&#039;d like to kick the thread a little bit more, we can try and find the difference that makes the difference. On first glance:<br />1) You have gpt partition table, I have msdos. <br />2) I don&#039;t have tzdata param</p><p>But I consider this &quot;solved&quot; because a real live image, when burned to usb/dvd, will use apparmor=0 param. Thus I am replicating&#160; a real live boot with this, and since it seems to work as intended, case should be closed for now.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 22:22:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39297#p39297</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39295#p39295</link>
			<description><![CDATA[<p>? It boots here with or without &quot;apparmor=0&quot; ..</p><p>I always found &quot;findiso&quot; simpler to configure than &quot;fromiso&quot;.. here&#039;s my grub.d/40_custom entry:</p><div class="codebox"><pre><code>menuentry &quot;devuan5 preview&quot; {
	insmod part_gpt
	set isofile=&#039;(hd0,gpt7)/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso&#039;
	loopback loop $isofile
	linux (loop)/live/vmlinuz boot=live tzdata=Europe/London locales=en_GB.UTF-8 username=devuan findiso=/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso
	initrd (loop)/live/initrd.img
	}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dzz)]]></author>
			<pubDate>Sun, 11 Dec 2022 21:56:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39295#p39295</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39293#p39293</link>
			<description><![CDATA[<p>Adding the boot parameter <span class="bbc">apparmor=0</span> allows the system to boot.</p><p>In jessie and all the way up to chimaera, this wasn&#039;t neccessary, but it is now.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 21:21:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39293#p39293</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39289#p39289</link>
			<description><![CDATA[<div class="quotebox"><cite>dev-1-dash-1 wrote:</cite><blockquote><div><p>And why don&#039;t you try your own remedy before recommending it to me?</p></div></blockquote></div><p>Because I couldn&#039;t be bothered. sorry to waste your time.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 11 Dec 2022 19:20:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39289#p39289</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39286#p39286</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>EDIT: btw <span class="bbc">hd1,9</span> in GRUB translates to /dev/sd<em>b</em>9. <span class="bbc">hd0,9</span> would be better but the UUID is the best approach IMO.</p></div></blockquote></div><p>Nice try. :-D</p><p>I boot from sdb by default (set in bios).<br />Thus hd1,9 becomes &quot;the other hd&quot;. It works for all other distros, I&#039;ve tested it extensively . Also, like I&#039;ve said grub can get the the kernel and initrd from within the iso image. <br />I&#039;ve tested also the &quot;findiso=$isofile&quot; option, which means, as far as I know, to look thru all partitions looking for iso with the given name.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 18:47:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39286#p39286</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39285#p39285</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Try</p><div class="codebox"><pre><code>menuentry &quot;devuan5 preview&quot; {
   search.fs_uuid=$uuid
   set isofile=&quot;/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso&quot;
   loopback loop ($root)$isofile
   linux (loop)/live/vmlinuz boot=live fromiso=/dev/disk/by-uuid/$uuid$isofile username=devuan
   initrd (loop)/live/initrd.img
}</code></pre></div><p>Replace both <span class="bbc">$uuid</span> instances with the actual (filesystem) UUID for /dev/sda9.</p><p>EDIT: btw <span class="bbc">hd1,9</span> in GRUB translates to /dev/sd<em>b</em>9. <span class="bbc">hd0,9</span> would be better but the UUID is the best approach IMO.</p></div></blockquote></div><p>And why don&#039;t you try your own remedy before recommending it to me? :-D</p><p>Your approach changes the grub&#039;s behaviour, while the problem is clearly happening later. Grub is fine, because it can get the kernel and initrd from within the iso.</p><p>As for a workaround, I&#039;ve already said I have one - just mount the fs manually to alternative location using &quot;break=premount&quot;.</p><p>Besides, the exact same grub entry (with only the iso filename changed) works for all other devuan&#039;s, from jessie to chimaera. So it should work here.</p><p>The big question is: <br />Is there some more serious problem lurking deep beneath the surface, that will rear it&#039;s head when we least expect.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 18:43:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39285#p39285</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39284#p39284</link>
			<description><![CDATA[<p>Try</p><div class="codebox"><pre><code>menuentry &quot;devuan5 preview&quot; {
   search.fs_uuid=$uuid
   set isofile=&quot;/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso&quot;
   loopback loop ($root)$isofile
   linux (loop)/live/vmlinuz boot=live fromiso=/dev/disk/by-uuid/$uuid$isofile username=devuan
   initrd (loop)/live/initrd.img
}</code></pre></div><p>Replace both <span class="bbc">$uuid</span> instances with the actual (filesystem) UUID for /dev/sda9.</p><p>EDIT: btw <span class="bbc">hd1,9</span> in GRUB translates to /dev/sd<em>b</em>9. <span class="bbc">hd0,9</span> would be better but the UUID is the best approach IMO.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 11 Dec 2022 18:23:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39284#p39284</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39282#p39282</link>
			<description><![CDATA[<p>Same happens if the partition is xfs. <br />The volume gets mounted, and then immediately unmounted.</p><p>Also: in the beginning, when udev runs detection, the font on-screen doesn&#039;t change after the resolution changes, this might indicate that there are problems with udev, if so, that could be the root cause.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 18:20:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39282#p39282</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Daedalus live-image - can't boot iso on hd without manual intervention]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=39279#p39279</link>
			<description><![CDATA[<p>Trying to boot the daedalus preview live image.<br />Live image is on hard drive, on ext3 filesystem. <br />(Note: not ext4, but ext3.)</p><p>grub entry:</p><div class="codebox"><pre><code>menuentry &quot;devuan5 preview&quot; {
            set root=&quot;hd1,9&quot;
            set isofile=&quot;/devuan_daedalus_5.0.preview_20221022_amd64_desktop-live.iso&quot;
            loopback loop ($root)$isofile
            linux (loop)/live/vmlinuz boot=live fromiso=/dev/sda9$isofile username=devuan
            initrd (loop)/live/initrd.img
        }</code></pre></div><p>The same type of entry works for everything from jessie to chimaera.</p><p>On boot, I see <span class="bbc">can&#039;t mount /dev/sda, can&#039;t mount /dev/sdb</span> repeated entries,<br />also I see fs mounted, but then unmounted.</p><p>When booting with <span class="bbc">break=premount</span> and then mounting the partition (sda9, that contains the isos) to an alternative location, say &quot;/alternate_mounts/sda9&quot;, and then ^D to continue boot and everything works, I get to desktop. But, it doesn&#039;t work without this manual step, always the same error.</p><p>To reproduce: just put preview iso on hd, and create grub entry like the one I posted.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Sun, 11 Dec 2022 17:48:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=39279#p39279</guid>
		</item>
	</channel>
</rss>
