大家有没有遇到过这样的问题,难道只剩重装了吗
代码: 全选
root@AY1312181648231623e7Z:/# update-grub
GRUB >= 2.00 has been unpacked but not yet configured.
grub-mkconfig will not work until the upgrade is complete.
It should run later as part of configuring the new GRUB packages.
root@AY1312181648231623e7Z:/# grub-install /dev/vda
Installing for i386-pc platform.
Installation finished. No error reported.
root@AY1312181648231623e7Z:/# update-grub
GRUB >= 2.00 has been unpacked but not yet configured.
grub-mkconfig will not work until the upgrade is complete.
It should run later as part of configuring the new GRUB packages.
root@AY1312181648231623e7Z:/# update-grub2
GRUB >= 2.00 has been unpacked but not yet configured.
grub-mkconfig will not work until the upgrade is complete.
It should run later as part of configuring the new GRUB packages.
root@AY1312181648231623e7Z:/# grub-install -v
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ... not found. Looking for /proc/device-tree ...
grub-install: info: ... not found.
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
root@AY1312181648231623e7Z:/# dpkg --get-selections | grep linux
libselinux1:amd64 install
linux-firmware install
linux-generic install
linux-headers-3.13.0-163 install
linux-headers-3.13.0-163-generic install
linux-headers-3.16.0-77 install
linux-headers-3.16.0-77-generic install
linux-headers-generic install
linux-headers-server install
linux-image-3.13.0-163-generic install
linux-image-3.16.0-77-generic install
linux-image-3.2.0-29-generic install
linux-image-extra-3.13.0-163-generic install
linux-image-generic install
linux-image-server install
linux-libc-dev:amd64 install
linux-server install
util-linux install
root@AY1312181648231623e7Z:/# uname -a
Linux AY1312181648231623e7Z 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux