summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init5
1 files changed, 5 insertions, 0 deletions
diff --git a/init b/init
index 975368b..76ec252 100644
--- a/init
+++ b/init
@@ -78,6 +78,11 @@ if [ "${break}" = "y" ] || [ "${break}" = "premount" ]; then
launch_interactive_shell
fi
+rootdev=$(resolve_device "$root") && root=$rootdev
+unset rootdev
+
+[ -z "$skipfsck" ] && fsck_root
+
# Mount root at /new_root
${mount_handler:-default_mount_handler} /new_root