diff --git a/dracut/simple/init.sh b/dracut/simple/init.sh index 6c8ae0c..132e7f9 100644 --- a/dracut/simple/init.sh +++ b/dracut/simple/init.sh @@ -10,7 +10,7 @@ if [ -e /dev/mapper/dmroot ] ; then echo "Qubes: FATAL error: /dev/mapper/dmroot already exists?!" fi -modprobe xenblk || modprobe xen-blkfront || echo "Qubes: Cannot load Xen Block Frontend..." +/sbin/modprobe xenblk || /sbin/modprobe xen-blkfront || echo "Qubes: Cannot load Xen Block Frontend..." die() { echo "$@" >&2 @@ -47,7 +47,7 @@ if [ `cat /sys/class/block/$ROOT_DEV/ro` = 1 ] ; then if [ $VOLATILE_SIZE -lt $SWAP_SIZE ]; then die "volatile.img smaller than 1GB, cannot continue" fi - sfdisk -q --unit S /dev/xvdc >/dev/null </dev/null </dev/null </dev/null <