<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.6bit.ch/index.php?action=history&amp;feed=atom&amp;title=GRUB2</id>
	<title>GRUB2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.6bit.ch/index.php?action=history&amp;feed=atom&amp;title=GRUB2"/>
	<link rel="alternate" type="text/html" href="http://wiki.6bit.ch/index.php?title=GRUB2&amp;action=history"/>
	<updated>2026-05-10T13:38:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.6bit.ch/index.php?title=GRUB2&amp;diff=25&amp;oldid=prev</id>
		<title>Xbl: Created page with &quot;= Reset Root Password =  1. enter GRUB2 edit mode  2. modify linux-kernel string by adding &lt;code&gt;rd.break&lt;/code&gt; at the end  3. press CTRL+x to boot with entered options  4. use chroot to mount /sysroot to / &lt;code&gt;chroot /sysroot&lt;/code&gt;, pwd should read &lt;code&gt;/&lt;/code&gt;  5. remount the root file system in read/write mode &lt;code&gt;mount -o remount,rw /&lt;/code&gt;  6. run passwd to set new password &lt;code&gt;passwd&lt;/code&gt;  7. create hidden file .autorelabel to run SELinux relabeling on...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.6bit.ch/index.php?title=GRUB2&amp;diff=25&amp;oldid=prev"/>
		<updated>2022-03-29T12:47:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Reset Root Password =  1. enter GRUB2 edit mode  2. modify linux-kernel string by adding &amp;lt;code&amp;gt;rd.break&amp;lt;/code&amp;gt; at the end  3. press CTRL+x to boot with entered options  4. use chroot to mount /sysroot to / &amp;lt;code&amp;gt;chroot /sysroot&amp;lt;/code&amp;gt;, pwd should read &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt;  5. remount the root file system in read/write mode &amp;lt;code&amp;gt;mount -o remount,rw /&amp;lt;/code&amp;gt;  6. run passwd to set new password &amp;lt;code&amp;gt;passwd&amp;lt;/code&amp;gt;  7. create hidden file .autorelabel to run SELinux relabeling on...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Reset Root Password =&lt;br /&gt;
&lt;br /&gt;
1. enter GRUB2 edit mode&lt;br /&gt;
&lt;br /&gt;
2. modify linux-kernel string by adding &amp;lt;code&amp;gt;rd.break&amp;lt;/code&amp;gt; at the end&lt;br /&gt;
&lt;br /&gt;
3. press CTRL+x to boot with entered options&lt;br /&gt;
&lt;br /&gt;
4. use chroot to mount /sysroot to / &amp;lt;code&amp;gt;chroot /sysroot&amp;lt;/code&amp;gt;, pwd should read &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. remount the root file system in read/write mode &amp;lt;code&amp;gt;mount -o remount,rw /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. run passwd to set new password &amp;lt;code&amp;gt;passwd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. create hidden file .autorelabel to run SELinux relabeling on all files &amp;lt;code&amp;gt;touch .autorelabel&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; the chroot shell and &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xbl</name></author>
	</entry>
</feed>