People have run into this issue before :       but they weren't looking for an unattended solution.  Windows 7 + Virtual Box 4.2.16 + Vagrant 1.2.2  I'm creating an unattended Vagrant install/upgrade for precise64 (Ubuntu 12.04 LTS Server 64 ).  My Vagrantfile specifies to install precise64 image and then kick-off boostrap.sh  bootstrap.sh  apt-get update -y apt-get upgrade -y   Things proceed along swimmingly until apt-get upgrade -y eventually pops-up this GRUP dialog :  The GRUB boot loader was previously installed to a disk that is no longer present, ...    Based on the forum posts referenced above, I know this to be a bogus warning and even if /dev/sda is selected for GRUB install device , the only way out of the dialog is to specify that GRUB not be installed.  However, I need a way to blow through this dialog for an unattended Ubuntu install/update/upgrade.  Any ideas ?
Per   I did the following:  ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d   On the machine:  sudo apt-get update sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade   I still get a prompt asking me which config file I want to use. These are the lines that come before the prompt:  Setting up grub-pc (1.99-21ubuntu3.1) ...   then:                           ┌───────────────────────────────────────────────────────┤ Configuring grub-pc ├───────────────────────────────────────────────────────┐                                                        │ A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified.  │                                                        │                                                                                                                                     │                                                        │ What do you want to do about modified configuration file grub?                                                                      │                                                        │                                                                                                                                     │                                                        │                                     install the package maintainer's version                                                        │
Analogy of Pearson correlation for 3 variables How can I disable the volume warning if you raise the volume too much? Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$. How does ssh run a command? I'm using Bash on both client and server. When running a command over SSH:   ssh &lt;host&gt; 'declare' gives a list of shell variables. ssh &lt;host&gt; 'mount' gives a list of mountpoints.   However, declare is a Bash builtin, while mount is an external command. How does SSH know which to run if there is a shell builtin and an external command with the same name on the server? Windows 10 high memory usage (unknown reason) A few days ago I updated my PC to Windows 10. However, after some use my PC started to slow down until it was impossible to use – it was due to high memory usage. After a restart, everything came back to normal (total usage around 25% of 8GB of RAM). However, during a few hours of usage the memory builds up again to 70%, and if not restarted it further goes to 100%, and later on even freezes. Task manager does not help very much as it does not show all the processes (added screenshots below). Also tried RAMMap but it gives an error: "error refreshing database". I tried Googling this question, yet without much success.  I do not know much about PCs, but maybe some of you know this issue, or could help to find out what is using my RAM. Is Adzerk safe / legitimate? Why would turning off a sink faucet stop the shower? In what cases does the gerund stemming from a transitive verb take the direct object of that verb and when is a prepositional complement used?  For example:    Brown's deft painting of his daughter is a delight to watch (it is a delight to watch while Brown deftly paints his daughter). Painting his daughter is an outlet for his energy. Securing safety for prisoners is the main problem for the penitentiary system. The widely discussed problem of the securing of prisoners' safety was given priority. What should be the default title case for non-technical questions? As an example, this question is titled using sentence case. I've been going to lots of different meta sites (especially this one), and I think the needle bent on my oh-me-oh-my-my-ocd-oh-meter.  Can we please standardize on using either:   Sentence case Title Case AP Style Title Case   ... and then we can look at just converting titles automatically? This would be a switch, of course, but I'd only imagine turning it off on sites where program code or symbols might be present in titles. Or, it could just become part of editing guidelines.    Additionally, is this a horrible idea?   To see the differences between them, you can put any arbitrary title into  (we have no affiliation with them, it's just a tool I sometimes recommend to people).  We would also eventually adopt this for static routes, but I'm mostly talking about questions. I found this , but I am not sure if this is the same issue.  On , I did some reformatting of the indentation in the code block to make it a bit more readable and it was  for peer review. A few minutes later, it appears the OP made an edit that added some additional code. It looks like my suggested edit was applied when the OP saved his/her edit, and it looks like he got the "credit" for the edit.  I'm not really concerned about the 2 rep points; I'm more curious why this happened and if this is a bug (or limitation) in the editing feature, or if this is known/intended behavior?  Note that this is not a suggested edit that's overridden by a concurrent edit: the recorded edit starts from the post-suggested edit state (and in fact can be identical to it, as in  ). Email Deliverbility How can I enable permissions to edit Email Deliverability access level? Currently it is not editable and in system mode. I need to edit it and set it to "All Email so I can test Approval and workflow functionality. How to show that $\mathbb{Q}$ is not $G_\delta$ Quite a few of the questions given on this site mention a photon in vacuum having a rest frame such as it having a zero mass in its rest frame. I find this contradictory since photons must travel at the speed of light in all frames according to special relativity.  Does a photon in vacuum have a rest frame? How to solve the following congruence equation? $$3n^3+12n^2+13n+2\equiv0,\pmod{2\times3\times5}$$ If $t_n$ be the $n$th triangular number, then  $$t_1^2+t_2^2+...+t_n^2=\frac{t_n(3n^3+12n^2+13n+2)}{30}$$ so if we solve this congruence equation we find the values of $n$ that $t_n$ divides $t_1^2+t_2^2+...+t_n^2$. What does the decay constant mean? In my curriculum, the  is "the probability of decay per unit time"  To me, this seems non-sensical, as the decay constant can be greater than one, which would imply that a particle has a probability of decaying in a time span that is greater than 1.  Can someone explain this? Proving set of interiors is open Cite in the caption of a graphic but not in \listoffigures? Sometimes I'd like to cite the reference in the caption of a graphic. But I want to avoid that this citation is displayed in the \listoffigures. How can I achieve that?  Fore example with this code:  \begin{figure}[htb] \centering \includegraphics{overview_pyramid.png} \caption{Overview pyramid \cite{LM2010}}\label{fg:overview_pyramid} \end{figure} Is centripetal acceleration mandatory for circular motion? Editing photo dimensions in large batches If I had the time, I would go through each and every photo to make sure that the dimensions and quality are pixel perfect. However, I'm in a time crunch, and need to make the couple hundred photos that are 4320 x 3240 into 950x630.   now I could- 1. Upload them into WordPress, uses native image reducing components and J query go from there. 2. Go through each and every photo, reduce file size, and proportion and bring it to Yahoo's PNG processing script.  However, maybe I'm missing a choice or alternative workflow that would allow for processing all of these photos in a clear manner without losing quality or perspectives. Any workflow suggestions? Shouldn't this table span the whole page width? I have this table definition as part of a invoice  \begin{tabularx}{\textwidth}[ht]{lXrr}%   It worked fine for years until I have a very short word in the X column for the first time. Now my table is very small in width and centered horizontally on the page.  In my expectation the X column should fill up all space until the width of the table reaches the width of the page except the margins.  I have read about workarounds specifying something like 1.2\textwidth, but I don't like that, because the table is a template included via \include, so it would affect all my invoices.  I also tried \linewidth, \hsize and \columnwidth, but everything results in the same layout.  Is there a way to make the only X column expand so that it uses all available space?    Complete included table definition (Rechnungstabelle.tex):  \newcommand{\Rechnungstabelle}[4]{% vielen Dank für Ihren Auftrag. \noindent \begin{tabularx}{\textwidth}[ht]{lXrr}% \toprule% \bf{Anzahl} &amp; \bf{Bezeichnung} &amp; \bf{Einzelpreis} &amp; \bf{Gesamtpreis} \\% \midrule% #1% \bottomrule% &amp; \bf{Rechnungsbetrag}  &amp; &amp; \bf{\EUR{#2}} \\% \ifthenelse{\equal{#3}{}}{}{&amp; Enthaltene MwSt. 19\% &amp; &amp; \EUR{#3} \\}% \ifthenelse{\equal{#4}{}}{}{&amp; * Enthaltene MwSt. 7\% &amp; &amp; \EUR{#4} \\}% \end{tabularx}% }   Changing the table header row to  \bf{Anzahl} &amp; \bf{Bezeichnung} \hspace{\textwidth} &amp; \bf{Einzelpreis} &amp; \bf{Gesamtpreis} \\%   is a workaround, but I don't think that would be good TeX style.  Minimum example for reproducing:  \documentclass[ fontsize=12pt,                  paper=a4,                 foldmarks=TBMPL,                 fromalign=center,                 ngerman                 ]{scrlttr2} \usepackage{babel} \usepackage[utf8]{inputenx} \usepackage[right]{eurosym} \usepackage{tabularx} \usepackage{ltablex} \usepackage{booktabs} \usepackage{ifthen}  \input{Rechnungstabelle} \begin{document} \begin{letter}  \Rechnungstabelle{     1,0 h &amp; Do something &amp; \EUR{99,00} &amp; \EUR{99,00} \\      }     {99,00}     {}{} \end{letter} \end{document}