I did a sudo apt-get upgrade on a fresh Ubuntu 12.04.3 and there was a long list of updates and then this:
Setting up grub-common (1.99-21ubuntu3.14) … Installing new version of config file /etc/grub.d/00_header … Installing new version of config file /etc/grub.d/30_os-prober … Installing new version of config file /etc/grub.d/20_linux_xen … Installing new version of config file /etc/grub.d/10_linux … Setting up grub2-common (1.99-21ubuntu3.14) … Setting up grub-pc-bin (1.99-21ubuntu3.14) … Setting up grub-pc (1.99-21ubuntu3.14) … /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea…
However it completed without errors and I rebooted - the VPS seems to be running fine. Was that really a bad idea or not? What are best practices with regard to apt-get upgrade and dist-upgrade?
(I saw a similar question but it wasn’t related to real GRUB warnings)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!