mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed root detection'
This commit is contained in:
parent
03cfa86c21
commit
b408ef9afd
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ else
|
||||||
/bin/mknod /dev/root b ${BLOCKDEVICE} >/dev/null
|
/bin/mknod /dev/root b ${BLOCKDEVICE} >/dev/null
|
||||||
export root="/dev/root"
|
export root="/dev/root"
|
||||||
fi
|
fi
|
||||||
if [ ! -b "${root}" ]; then
|
if [ ! -b "${root}" -a ! -L "${root}" ]; then
|
||||||
err "Unable to detect or create root device '${root}'"
|
err "Unable to detect or create root device '${root}'"
|
||||||
echo "You are being dropped to a recovery shell"
|
echo "You are being dropped to a recovery shell"
|
||||||
echo " Type 'reboot' to reboot"
|
echo " Type 'reboot' to reboot"
|
||||||
|
|
Loading…
Reference in a new issue