mkdir -p /sysroot
+rm -f /proc; mkdir /proc
mount -t proc /proc /proc
mount -t sysfs /sys /sys
# These are useful when debugging.
if grep -sq guestfs_verbose=1 /proc/cmdline; then
- ls -l /dev
+ ls -lR /dev
cat /proc/mounts
lvm pvs
lvm vgs
bash -i
echo
echo "virt-rescue: Syncing the disk now before exiting ..."
- echo "(Don't worry if you see a 'Kernel panic' message below)"
echo
fi
sync
+/sbin/reboot -f