Update Using the Recovery MFS authored by David Johnson's avatar David Johnson
......@@ -204,6 +204,9 @@ mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /sys /mnt/sys
# If you need internet access and name resolution:
mount -o bind /etc/resolv.conf /mnt/etc/resolv.conf
# Or, if the above command fails because /mnt/etc/resolv.conf
# is a symlink to the systemd stub resolver, try
mount -o bind /etc/resolv.conf /mnt/run/systemd/resolve/stub-resolv.conf
# Change your root to be the root of the on-disk filesystem:
chroot /mnt /bin/bash
# Run whatever programs you need, such as apt-get or grub-install.
......
......