Grub2 reinstall after Debian downgrade from Jessie to Wheezy
Hello again!
And so I've messed up! I'm building a NAS based on Debian 7.6 Wheezy x64, but was trying to get realtek-firmware package and have enabled the testing repository in my APT sources.list. It wouldn't be a problem if I would disable this repo right after installing the realtek-firmware package, but I've forgotten about this entry and performed Code:
apt-get update & apt-get upgrade Code:
apt-get purge grub2 Many thanks for all the help and advices. EDIT: I've found some new information concerning this topic: I've check the apt-show-versions command and have found out that the Grub2 package in my system is indeed from Debian Wheezy (the package version is 1.99 and not 2.2-beta), but still the Grub2 working in my MBR (stage1 I guess) is Grub 2.2-beta which may cause the errors. So I think the right solution here would be to reinstall Grub 1.99 to my MBR on /dev/sda, but here's another problem: I don't have the grub-install command on that system. Could you point me to the right package containing this file? Best regards, Chris. |
Solution
Hehe, that was easy :) ...
I've found a user with similar problem here. The solution was to reinstall grub-pc package with apt-get install --reinstall grub-pc command and to install grub2 to MBR with grub-install /dev/sda. Everything is working fine now! Cheers! |
All times are GMT -5. The time now is 08:03 AM. |