summaryrefslogtreecommitdiff
path: root/_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown')
-rw-r--r--_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown b/_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown
index 5348e94..7837969 100644
--- a/_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown
+++ b/_posts/2015-03-28-reset-forgotten-password-on-luks-encrypted-ubuntu.markdown
@@ -20,7 +20,7 @@ I needed to reset my account password. Normally, with physical access to a machi
My second approach was to boot into single user mode by editing the GRUB command script.
-<div class="center"><a href="/assets/images/ubuntu-grub.png"><img src="/assets/images/ubuntu-grub.png" alt="Ubuntu's GRUB menu"></a></div>
+<div class="text-center"><a href="/assets/images/ubuntu-grub.png"><img src="/assets/images/ubuntu-grub.png" alt="Ubuntu's GRUB menu"></a></div>
By going down to the recovery mode option and hitting <kbd>e</kbd>, you can edit the GRUB commands. By adding <code>init=/bin/bash</code> at the end of the line beginning with <code>linux</code> that specifies the boot image, you can specify an initial shell to use. Then I hit <kbd>F10</kbd> to boot.