Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am following these instructions- https://help.ubuntu.com/community/AutomaticSecurityUpdates on Ubuntu 10.04 LTS Server 64 bit.

The problem is that when the update script is executed, it gets stuck because GRUB is asking a question "You chose not to install GRUB to any devices. If you continue, the boot loader may not be properly configured, and when this computer next starts up it will use whatever was previously in the boot sector"

How do I make automated install work? Is there a way to blacklist a particular update to a package.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Reconfigure the grub-pc package

sudo dpkg-reconfigure -plow grub-pc

When asked about the partition or disk to install Grub to, choose one, or just skip the options and click OK if you don't want Grub to be installed anywhere.


Then check the options

debconf-show grub-pc

You should see the key grub-pc/install_devices set to the disk/partition you've chosen, or grub-pc/install_devices_empty set to true if you chose not to install Grub.


Then if you test this by reinstalling the package

sudo apt-get --reinstall install grub-pc

you should not be asked any You chose not to install GRUB to any devices questions anymore.

share|improve this answer
1  
Thanks! I however need to do this automatically and not interactively. Any ideas? –  user837208 Nov 26 '11 at 20:53
1  
You do this interactively once. Then you should not be prompted anymore. –  arrange Nov 26 '11 at 21:02
    
Have you solved this problem? I need to do it automatically too. –  Fa11enAngel Jul 30 '13 at 9:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.