<?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>wanna-be-a-Debian-system-administrator &#187; grub</title>
	<atom:link href="http://debian.kitaj.net/category/grub/feed/" rel="self" type="application/rss+xml" />
	<link>http://debian.kitaj.net</link>
	<description></description>
	<lastBuildDate>Mon, 17 May 2010 10:02:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing Grub in Debian Rescue Mode</title>
		<link>http://debian.kitaj.net/2009/12/fixing-grub-in-debian-rescue-mode/</link>
		<comments>http://debian.kitaj.net/2009/12/fixing-grub-in-debian-rescue-mode/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 10:40:41 +0000</pubDate>
		<dc:creator>Mitja</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[reinstall]]></category>

		<guid isPermaLink="false">http://debian.kitaj.net/?p=59</guid>
		<description><![CDATA[Today Grub experienced a hiccup which left me with crippled Grub rescue mode complaining about &#8220;symbol &#8216;grub_printf_&#8217; not found&#8220;. Searching Google gave me just one hit — an German forum page from yesterday bearing no solution yet.
After trying many known things I eventually created a satisfiable solution — bootable system. Not knowing how to fix [...]]]></description>
			<content:encoded><![CDATA[<p>Today Grub experienced a hiccup which left me with crippled Grub rescue mode complaining about &#8220;<em>symbol &#8216;grub_printf_&#8217; not found</em>&#8220;. Searching Google gave me just one hit — an German forum page from yesterday bearing no solution yet.</p>
<p>After trying many known things I eventually created a satisfiable solution — bootable system. Not knowing how to fix Grub I decided to downgrade Grub 2 to Grub 1 and the only way to do this is using rescue mode on Debian install disc. The procedure goes as follows:</p>
<ul>
<li>Boot from Debian install disc for architecture you use (i.e. amd64). In the boot menu choose <em>help</em> option as it offers you the option to use the &#8220;old-style&#8221; command line boot options. The default rescue-mode shell lacks some variables needed for installing/removing packages form the system, so it is useful to start rescue-mode with the following boot option (it enables the user input needed during some instal/remove processes): <code>rescue debian-installer/framebuffer=false</code><br />
It is also possible to do this later by running <code>TERM=vt100; export TERM</code> in command-line.</li>
<li>Follow the procedure that looks pretty much as installation procedure, but after certain point it offers you the option to choose the partition to use as a root system. At this point it is good if you know which one is it. Next menu lets you enter the command line in which you can alter your system.</li>
<li>Using apt-get I first removed the Grub 2 installation (just in case leaving behind configuration files) and then installed the <em>grub-legacy</em> package. After some configuring<code><br />
#grub<br />
grub&gt; find /boot/grub/stage1<br />
(hd0,1)<br />
(hd1,0)<br />
grub&gt;root (hd1,0)<br />
grub&gt;setup (hd1)<br />
grub&gt;quit<br />
</code><br />
and<br />
<code><br />
#update-grub<br />
</code><br />
the new &#8220;good-old&#8221; Grub 1 installation was ready for reboot.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://debian.kitaj.net/2009/12/fixing-grub-in-debian-rescue-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rescuing Linux after window$ (re)install</title>
		<link>http://debian.kitaj.net/2007/05/rescuing-linux-after-window-reinstall/</link>
		<comments>http://debian.kitaj.net/2007/05/rescuing-linux-after-window-reinstall/#comments</comments>
		<pubDate>Wed, 23 May 2007 19:46:53 +0000</pubDate>
		<dc:creator>Mitja</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://debian.kitaj.net/index.php/2007/05/rescuing-linux-after-window-reinstall/</guid>
		<description><![CDATA[I knew before, that i should first install windows and then Linux, but windows tends to have an annoying have-to-reinstall-to-fix-a-problem &#8220;feature&#8221;.
Luckily the solution is simple. All you need is a live CD distribution with which you boot into your computer and reinstall GRUB (probably also Lilo &#8211; I don&#8217;t know because I don&#8217;t use it). [...]]]></description>
			<content:encoded><![CDATA[<p>I knew before, that i should first install windows and then Linux, but windows tends to have an annoying have-to-reinstall-to-fix-a-problem &#8220;feature&#8221;.</p>
<p>Luckily the solution is simple. All you need is a live CD distribution with which you boot into your computer and reinstall GRUB (probably also Lilo &#8211; I don&#8217;t know because I don&#8217;t use it). I use <a class="link" href="http://www.sysresccd.org/">System Rescue CD</a>. It works with other LiveCD as well, but <a class="link" href="http://www.sysresccd.org/">System Rescue CD</a> was made for exactly this (kind of) job. It is a command line distro.</p>
<p><span id="more-7"></span>First run grub:</p>
<blockquote><p>#grub</p></blockquote>
<blockquote><p>grub>root (hd0,2)</p></blockquote>
<p>In my case (hd0,2) means 0 for the first (and only) disc in my computer and 2 is the partition number where my grub configuration files are residing (2 means the third (3) partition!!).</p>
<blockquote><p>grub>setup (hd0)</p></blockquote>
<p>hd0 in this case also means the first disc in the computer.</p>
<blockquote><p>grub>quit</p></blockquote>
<p>Reboot computer and you will see your familiar grub boot prompt.</p>
]]></content:encoded>
			<wfw:commentRss>http://debian.kitaj.net/2007/05/rescuing-linux-after-window-reinstall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
