stage2: if no /proc, also mount /sys
This commit is contained in:
parent
e2cc56f98c
commit
9b0a5ced13
@ -41,6 +41,8 @@ if [ ! -e /proc/1 ]; then
|
|||||||
mount -n -t proc proc /proc
|
mount -n -t proc proc /proc
|
||||||
mkdir -m 0755 -p /dev
|
mkdir -m 0755 -p /dev
|
||||||
mount -t devtmpfs devtmpfs /dev
|
mount -t devtmpfs devtmpfs /dev
|
||||||
|
mkdir -m 0755 -p /sys
|
||||||
|
mount -t sysfs sysfs /sys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user