<?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%3AGrubShellBoot</id>
	<title>ZhoubaWiki:GrubShellBoot - 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%3AGrubShellBoot"/>
	<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:GrubShellBoot&amp;action=history"/>
	<updated>2026-04-04T06:55:20Z</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:GrubShellBoot&amp;diff=20&amp;oldid=prev</id>
		<title>Garak: Created page with &quot;== Grub Shell Boot ==  Sometimes an installation of Grub bootloader fails on the halfway, probably caused by changing partitions order or so. In cases like this either Grub Sh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:GrubShellBoot&amp;diff=20&amp;oldid=prev"/>
		<updated>2021-05-22T16:33:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Grub Shell Boot ==  Sometimes an installation of Grub bootloader fails on the halfway, probably caused by changing partitions order or so. In cases like this either Grub Sh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Grub Shell Boot ==&lt;br /&gt;
&lt;br /&gt;
Sometimes an installation of Grub bootloader fails on the halfway, probably caused by changing partitions order or so. In cases like this either Grub Shell or Grub Rescue shell is presented.&lt;br /&gt;
&lt;br /&gt;
This section shows how to manually boot a system from the Grub Shell. The Grub shell offers an autocomplete feature, so utilize it to save your fingers.&lt;br /&gt;
&lt;br /&gt;
1/ list disks and partitions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; ls&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2/ identify your partition by listing partion contents like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; ls (hd0,gpt5)/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3/ Set root partition. No spaces around equals sign!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; set root=(hd0,gpt5)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4/ Set path to a linux image. Autocomplete your way out or use symlinks generated to system root in case your GNU/Linux distro prepares them for you. (if not, use &amp;lt;code&amp;gt;/boot/vmlinuz-XXXX&amp;lt;/code&amp;gt; instead)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; linux /vmlinuz root=/dev/nvme0n1p5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* use &amp;lt;code&amp;gt;linuxefi&amp;lt;/code&amp;gt; command for UEFI native mode partitions&lt;br /&gt;
* root param must not be forgotten!&lt;br /&gt;
&lt;br /&gt;
5/ Set path to an initrd. Autocomplete your way out or use symlinks generated to system root in case your GNU/Linux distro prepares them for you. (if not, use &amp;lt;code&amp;gt;/boot/initrd-XXXX&amp;lt;/code&amp;gt; instead)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; initrd /initrd.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* use &amp;lt;code&amp;gt;initrdefi&amp;lt;/code&amp;gt; command for UEFI native mode partitions&lt;br /&gt;
&lt;br /&gt;
6/ Boot!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grub&amp;gt; boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Your system should be booting right now in case everything went OK.&lt;/div&gt;</summary>
		<author><name>Garak</name></author>
	</entry>
</feed>