当前位置: 技术问答>linux和unix
这段话到底什么意思啊?
来源: 互联网 发布时间:2017-05-25
本文导语: Restoring GRUB For the system to boot, you will need to restore grub. To do this, you will need to reconfigure it in a chroot: sudo -s for f in dev dev/pts proc ; do mount --bind /$f /media/whatever/$f ; done chroot /media/whatever dpkg-reconfigu...
Restoring GRUB
For the system to boot, you will need to restore grub. To do this, you will need to reconfigure it in a chroot:
sudo -s
for f in dev dev/pts proc ; do mount --bind /$f /media/whatever/$f ; done
chroot /media/whatever
dpkg-reconfigure grub-pc
You will get a menu asking you what drive(s) grub should be installed on. Choose whatever drive(s) the computer will be booting from.
For more information on repairing grub, see GrubHowto
来源于:https://help.ubuntu.com/community/BackupYourSystem/TAR,
我到底应该如何做才可以恢复我的grub呢?详情请查看
http://bbs.csdn.net/topics/390849085?page=1#post-397919615
For the system to boot, you will need to restore grub. To do this, you will need to reconfigure it in a chroot:
sudo -s
for f in dev dev/pts proc ; do mount --bind /$f /media/whatever/$f ; done
chroot /media/whatever
dpkg-reconfigure grub-pc
You will get a menu asking you what drive(s) grub should be installed on. Choose whatever drive(s) the computer will be booting from.
For more information on repairing grub, see GrubHowto
来源于:https://help.ubuntu.com/community/BackupYourSystem/TAR,
我到底应该如何做才可以恢复我的grub呢?详情请查看
http://bbs.csdn.net/topics/390849085?page=1#post-397919615
|
我的理解也是在命令行中执行,在恢复之后。 没做过,不一定正确