<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Power notes, booting notes	</title>
	<atom:link href="https://www.dragonflydigest.com/2019/01/14/power-notes-booting-notes/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dragonflydigest.com/2019/01/14/power-notes-booting-notes/</link>
	<description>A running description of activity related to DragonFly BSD.</description>
	<lastBuildDate>Mon, 14 Jan 2019 15:28:31 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: Aaron LI		</title>
		<link>https://www.dragonflydigest.com/2019/01/14/power-notes-booting-notes/comment-page-1/#comment-487881</link>

		<dc:creator><![CDATA[Aaron LI]]></dc:creator>
		<pubDate>Mon, 14 Jan 2019 15:28:31 +0000</pubDate>
		<guid isPermaLink="false">https://www.dragonflydigest.com/?p=22409#comment-487881</guid>

					<description><![CDATA[Let me share more details about booting DragonFly BSD with GRUB2 on my ThinkPad X200.

The X200 doesn&#039;t have UEFI, so only legacy BIOS. However, I&#039;m using GPT for the disk (with Linux on it first). DragonFly BSD&#039;s boot loader doesn&#039;t support such a setup, i.e., directly chainloading from GRUB2 won&#039;t work.

The whole setup consists of two parts:

(1) GRUB2
---------------------------------------
insmod part_dfly
set root=&#039;(hd0,gpt8,dfly1)&#039;
kfreebsd /kernel/kernel
kfreebsd_loadenv /loader.conf
---------------------------------------

(2) DragonFly BSD&#039;s /boot/loader.conf
---------------------------------------
vfs.root.mountfrom=&quot;hammer2:da0s7d@ROOT&quot;
# Extra settings for GRUB2
module_path=&quot;/boot/kernel;/boot/modules.local&quot;
---------------------------------------

The extra &#039;module_path&#039; setting is useful (though not necessary to boot), otherwise, &#039;kldload &#039; will fail to load the module because it doesn&#039;t know the module search paths.]]></description>
			<content:encoded><![CDATA[<p>Let me share more details about booting DragonFly BSD with GRUB2 on my ThinkPad X200.</p>
<p>The X200 doesn&#8217;t have UEFI, so only legacy BIOS. However, I&#8217;m using GPT for the disk (with Linux on it first). DragonFly BSD&#8217;s boot loader doesn&#8217;t support such a setup, i.e., directly chainloading from GRUB2 won&#8217;t work.</p>
<p>The whole setup consists of two parts:</p>
<p>(1) GRUB2<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
insmod part_dfly<br />
set root='(hd0,gpt8,dfly1)&#8217;<br />
kfreebsd /kernel/kernel<br />
kfreebsd_loadenv /loader.conf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>(2) DragonFly BSD&#8217;s /boot/loader.conf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
vfs.root.mountfrom=&#8221;hammer2:da0s7d@ROOT&#8221;<br />
# Extra settings for GRUB2<br />
module_path=&#8221;/boot/kernel;/boot/modules.local&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>The extra &#8216;module_path&#8217; setting is useful (though not necessary to boot), otherwise, &#8216;kldload &#8216; will fail to load the module because it doesn&#8217;t know the module search paths.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
