qubes-linux-kernel/vm-initramfs/pre-pivot/50_mount_modules.sh
Marek Marczykowski 844130705c initramfs: remove explicit -o ro from /lib/modules (#333)
If /dev/xvdd is R/O, this is done automatically
2011-09-01 11:38:05 +02:00

11 lines
223 B
Bash
Executable File

#
# This file should be places in pre-pivot directory in dracut's initramfs
#
#!/bin/sh
echo "Waiting for /dev/xvdd device..."
while ! [ -e /dev/xvdd ]; do sleep 0.1; done
mount -n -t ext3 /dev/xvdd $NEWROOT/lib/modules