[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

Disabling auto updates in Ubuntu 12.

Hello experts.

Where in Ubuntu 12, in Software Manger the option "Disable auto updates" or "auto updates" never.

I am looking for gui, option, I don't have time and memory to walk through command line forest of recommendations.

(The main reason of the question is that auto update may shift amount of boot options in grub boot menu which may shift option for Window and the default option number will become "Window rescue load" which is really dangerous for unexpecting user.)

Thank you.
0
Bitlab
Asked:
Bitlab
  • 2
  • 2
1 Solution
 
rindiCommented:
Normally Ubuntu wouldn't/shouldn't install kernel updates automatically, unless you have changed it's defaults yourself. The standard settings will just notify you of what updates are available, and then it is up to you to install the, or not. Apart from that, if you do install kernel updates the update manager will (at least that's my experience up to now) change grub accordingly so it loads the same whatever is set automatically as it was before the update, it only changes the Ubuntu entry to the new kernel.

Also, I'm not sure what you mean with "Windows rescue load". That usually isn't part of even the Windows boot manager, unless that is a manufacturer's provided boot option to restore the system to factory defaults. If that is the case, then all you need to do is comment that entry out of your Grub boot menu, as that isn't needed. In all those cases where there is such a recovery partition, you don't start it via grub, but rather via a key combination after turning on the PC, similar to getting into the BIOS, on Dell PC's for example it is usually ctrl+f11 when the blue Dell logo appears. Once you have commented it out within grub it won't show up in the menu (# marks in front of an entry are comments).

If you still want to change your update settings within Ubuntu, first start the update manager and then click on "settings". Now you can change how ubuntu should handle settings. The default is usually to "Display" them and not to "download" or "Download and install" them. Then the user can select what should be done with updates, he'll just get notified about their availability. You can then select or deselect those updates you want installed and which ones you don't need.

You can also run the normal updates via a terminal and the "sudo apt-get update", then "sudo apt-get upgrade" commands. This will install all updates except kernel updates. To also install other updates, including kernel updates, you would enter "sudo apt-get update", then "sudo apt-get dist-upgrade".
0
 
BitlabAuthor Commented:
Thank you. Great answer. Except the point of editing Grub boot menu.

I believe there is not way to disable "Windows rescue loader" or what ever name grub will assign to it.  It is illegal and impossible to disable it in
/boot/grub/grub.cfg

Impossible because the same day Ubuntu updates software, it rewrites this file.

The legal way is to edit
this: /etc/default/grub
but there are the entries to delete?

http://www.experts-exchange.com/Digital_Living/Digital_Music/Q_27420676.html

I already asked this question, but all answers were wrong,  and I am still (1year) live with this boot menu entry.

Thank you.
0
 
rindiCommented:
There is also an /etc/grub.d/40_custom file to which you can add entries. This file then gets processed every time you run sudo update-grub. So that is where you can make your own configs.

The Link below should be of some help:

https://help.ubuntu.com/community/Grub2
0
 
BitlabAuthor Commented:
Thank you.

Perhaps, I have to understand these topics from this link:

Removing Default Script Entries
Using Only a Custom Menu

It may take more than 5 minutes to understand. Let's do it later.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now