From 8d4bb3881dbb702f08f830417a24b2b81d1a2678 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 23:15:31 +0100 Subject: Some more articles reformatting --- content/blog/miscellaneous/boot-from-initramfs.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'content/blog/miscellaneous/boot-from-initramfs.md') diff --git a/content/blog/miscellaneous/boot-from-initramfs.md b/content/blog/miscellaneous/boot-from-initramfs.md index 3d5c55e..df740b6 100644 --- a/content/blog/miscellaneous/boot-from-initramfs.md +++ b/content/blog/miscellaneous/boot-from-initramfs.md @@ -1,12 +1,18 @@ --- title: "Boot from initramfs shell" -linkTitle: "Boot from initramfs shell" date: 2014-01-24 -description: > - Boot from initramfs shell +description: How to finish booting from an initramfs shell +tags: + - Debian --- -I had to finish booting from an initramfs shell, here is how I used `switch_root` to do so : +## The problem + +Sometimes, your linux machine can get stuck while booting and drop you into an initramfs shell. + +## The solution + +All initramfs are potentially different, but almost always feature busybox and common mechanisms. Recently I had to finish booting from an initramfs shell, here is how I used `switch_root` to do so : {{< highlight sh >}} lvm vgscan -- cgit v1.2.3