我做到了apt-get upgrade
这一点,但从未完成:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-24-virtual
Updating /boot/grub/menu.lst ... done
You already have a NoLOADER configuration in /etc/grub.conf
Running boot loader as requested
Running /usr/sbin/grub ...
系统没有冻结(Ctrl-Z 可以工作,我拿回了控制台)只是 /usr/sbin/grub 似乎永远无法完成。
我应该怎么办?
答案1
似乎是文件出了问题/etc/grub.conf
。删除文件并重新配置似乎有效:
sudo mv /etc/grub.conf /etc/grub.conf.$(date +%F)
sudo dpkg --configure -a