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)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!