<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>debug Archives - Tom Barbette</title>
	<atom:link href="https://perso.uclouvain.be/tom.barbette/tag/debug/feed/" rel="self" type="application/rss+xml" />
	<link>https://perso.uclouvain.be/tom.barbette/tag/debug/</link>
	<description></description>
	<lastBuildDate>Mon, 03 Feb 2014 11:03:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2022/04/cropped-logo-uclouvain-2021-barbette-32x32.png</url>
	<title>debug Archives - Tom Barbette</title>
	<link>https://perso.uclouvain.be/tom.barbette/tag/debug/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to debug at boot time</title>
		<link>https://perso.uclouvain.be/tom.barbette/how-to-debug-at-boot-time/</link>
		
		<dc:creator><![CDATA[Tom Barbette]]></dc:creator>
		<pubDate>Mon, 03 Feb 2014 10:50:10 +0000</pubDate>
				<category><![CDATA[INFO-0940 Operating Systems]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[info0940]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[os]]></category>
		<guid isPermaLink="false">http://queen.run.montefiore.ulg.ac.be/~barbette/?p=149</guid>

					<description><![CDATA[<p>If all you get is a black screen when booting, boot in recovery mode to see a little more information : When you are in the grub menu, choose the “recovery” version If there is none or if it’s still black type “e” in the grub menu over the kernel entry you want. Find the &#8230; </p>
<p class="link-more"><a href="https://perso.uclouvain.be/tom.barbette/how-to-debug-at-boot-time/" class="more-link">Continue reading<span class="screen-reader-text"> "How to debug at boot time"</span></a></p>
<p>The post <a href="https://perso.uclouvain.be/tom.barbette/how-to-debug-at-boot-time/">How to debug at boot time</a> appeared first on <a href="https://perso.uclouvain.be/tom.barbette">Tom Barbette</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If all you get is a black screen when booting, boot in recovery mode to see a little more information :</p>
<p><a href="https://www.tombarbette.be/wp-content/uploads/2014/02/recovery.png"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-150" alt="recovery" src="https://www.tombarbette.be/wp-content/uploads/2014/02/recovery-300x225.png" width="300" height="225" srcset="https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery-300x225.png 300w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery-1024x771.png 1024w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery-160x120.png 160w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery.png 1077w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>When you are in the grub menu, choose the “recovery” version</p>
<p>If there is none or if it’s still black type “e” in the grub menu over the kernel entry you want. Find the line starting by linux, and add “ro single recovery” at the end.<br />
Type F10 to boot.</p>
<p><a href="https://www.tombarbette.be/wp-content/uploads/2014/02/recovery2.png"><img decoding="async" class="alignnone size-medium wp-image-151" alt="recovery2" src="https://www.tombarbette.be/wp-content/uploads/2014/02/recovery2-300x227.png" width="300" height="227" srcset="https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery2-300x227.png 300w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery2-1024x776.png 1024w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery2-160x120.png 160w, https://perso.uclouvain.be/tom.barbette/wp-content/uploads/2014/02/recovery2.png 1078w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Grub normally have a “Previous versions” menu to allow you to boot with the ubuntu default kernel&#8230;</p>
<p>&nbsp;</p>
<p>In fact if you get a black screen when booting, chances is that you&#8217;re missing some modules. But you can get more:</p>
<ul>
<li>Add a serial device to your virtualbox, select &#8220;file&#8221; mode, with e.g. /tmp/vbox-jerry</li>
<li>run tail -f /tmp/vbox-jerry on your machine to watch that log file,</li>
<li>before booting, press e to edit the config and add at the tail of the command line &#8221; console=ttyS0,57600&#8243;</li>
<li>this will work only for boot time, when syslogd will start, the log will go to /var/log/syslog</li>
<li>You can use the /etc/default/grub file like for the screen size (see slides of info0940) to make it permanent</li>
</ul>
<p><strong><span style="color:red">A network problem during boot may stall you for 120 seconds, with or without a black screen ! So wait a little !</span></strong></p>
<p>The post <a href="https://perso.uclouvain.be/tom.barbette/how-to-debug-at-boot-time/">How to debug at boot time</a> appeared first on <a href="https://perso.uclouvain.be/tom.barbette">Tom Barbette</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
