<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AResetRootPassword</id>
	<title>ZhoubaWiki:ResetRootPassword - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AResetRootPassword"/>
	<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:ResetRootPassword&amp;action=history"/>
	<updated>2026-04-04T06:56:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:ResetRootPassword&amp;diff=15&amp;oldid=prev</id>
		<title>Garak: Created page with &quot;== Recovering Root Password On Debian And Grub2 ==  On the grub boot screen type &lt;code&gt;e&lt;/code&gt; for edit. Next edit the line starting with &lt;code&gt;linux&lt;/code&gt;, at the end add &lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:ResetRootPassword&amp;diff=15&amp;oldid=prev"/>
		<updated>2021-05-22T16:23:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Recovering Root Password On Debian And Grub2 ==  On the grub boot screen type &amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt; for edit. Next edit the line starting with &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;, at the end add &amp;lt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Recovering Root Password On Debian And Grub2 ==&lt;br /&gt;
&lt;br /&gt;
On the grub boot screen type &amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt; for edit. Next edit the line starting with &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;, at the end add &amp;lt;code&amp;gt;init=/bin/bash&amp;lt;/code&amp;gt;. It should look like this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
linux /boot/vmlinuz-version root=UUID=hex ro quite init=/bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next hit &amp;lt;code&amp;gt;Ctrl-X&amp;lt;/code&amp;gt; to boot, you should land on a prompt without having to type your password. Next enter the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
passwd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the new password twice, type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sync&lt;br /&gt;
reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should be all set!&lt;/div&gt;</summary>
		<author><name>Garak</name></author>
	</entry>
</feed>