My computer wont Shutdown? Okay... So I've installed Ubuntu 14.04 (Upgraded from 12.04.3 ) I've been using Ubuntu for about two years now and I know myself around the system pretty well...   Every time I attempt to shut down the computer I always get stuck on the Ubuntu Splash menu and have to push the button to shut it off.  Specs:    6GB ram Intel Core 2 Duo CPU E7400 @ 2.80 GHz x2G  Graphics: Gallium 0.4 on AMD RV635 64bit OS Ubuntu 14.04 1TB hard drive (Dual booted Windows 7 on 600GB partition)
My computer wont shutdown If I try to shutdown my computer it simply takes me back to the login-screen. I looked around and found :  Type in terminal:   sudo gedit /etc/default/grub Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Change this to:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force" Save the file and close the file.  Finally, in terminal: sudo update-grub   But now there is a new problem when I try step 5 it says:  *myname*@ubuntu:~$ sudo update-grub [sudo] password for *myname*:  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). *myname*@ubuntu:~$    I am new whit linux and dont know what to do.
This is maybe a duplicate like , but the error still appears.    When I try to click "mark as duplicate" a HTTP 404 error occur.  I'm using Firefox 16.0.2 with Firebug on Mac OS X 10.5.8 Help with proof of $|x+y| \geq |x|-|y|$ mysql select from n last rows I have a table with index (autoincrement) and integer value. The table is millions of rows long.  How can I search if a certain number appear in the last n rows of the table most efficiently? HD bad blocks: is there a way to repair them? How do I free up more space in /boot? A mysterious app named &quot;10102&quot; shows up in my data usage. It bears only the standard Android app icon (the Bugdroid logo with a cube on its torso). From what the graph tells me, it has used 36 megabytes of data in the background and zero on the foreground. I think I haven't uninstalled anything for months. Is it malware? I haven't sideloaded anything and only authorized my laptop as a USB debugger. If it's malware, how do I remove it? I have no idea how to find its package name and 10102 isn't in the list of downloaded apps in settings. I'm running stock &amp; never-been-rooted Android 4.4.4 on Nexus 4. Given n distinct objects, there are $n!$ permutations of the objects and $n!/n$ "circular permutations" of the objects (orientation of the circle matters, but there is no starting point, so $1234$ and $2341$ are the same, but $4321$ is different).  Given $n$ objects of $k$ types (where the objects within each type are indistinguishable), $r_i$ of the $i^{th}$ type, there are   \begin{equation*} \frac{n!}{r_1!r_2!\cdots r_k!} \end{equation*}  permutations.  How many circular permutations are there of such a set? Capturing console output from a .NET application (C#) How do I invoke a console application from my .NET application and capture all the output generated in the console?   (Remember, I don't want to save the information first in a file and then relist as I would love to receive it as live.) HtmlSpecialChars equivalent in Javascript? Show that $PF.PG=b^2$ in a hyperbola If the normal at P to the hyperbola $\frac {x^2}{a^2}-\frac {y^2}{b^2}=1$ meets the transverse axis in G and the conjugate axis in G' and CF be the perpendicular to the normal from the center C then show that $$PF.PG=b^2\space and \space PF.PG'=a^2.$$ We know that the equation of the normal at parametric point $P\equiv(a\sec\theta,b\tan\theta)$ is given by  $$a\,x\cos\theta+b\,y\cot\theta=a^2+b^2$$   Equation of the transverse axis is $y=0$ and that of the conjugate axis is $x=0$.   Hence   $$G\equiv(\frac {a^2+b^2}{a}\sec\theta,0), \, G'\equiv(0,\frac {a^2+b^2}{b}\tan\theta)$$  C is the origin and CF is perpendicular to the normal. Hence   $$ CF\equiv b\,x\sec\theta-a\,y\tan\theta=0\implies y=\frac {b\,x\sec\theta}{a \tan\theta}$$   Substituting this in the equation of the normal we get   $$a\,x\cos\theta+b \,\cot\theta\,\frac {b\,x\sec\theta}{a\,\tan\theta}=a^2+b^2\ $$   implies  $$ (a^2 \cos\theta \sin^2\theta+ b^2\cos\theta)x=(a^2+b^2)\sin^2\theta$$  After finding the coordinates of F, the calculation becomes very complicated. So is there an easier way to approach the problem? I would love to see a pure geometric solution to this problem. When should "no problem" replace "you're welcome" as a response to "thank you"? What's the 'correct' way of registering/installing an Assembly to the GAC? There seems to be lots of different ways to register assemblies with the GAC, as in, they 'work'.  However, what's the "proper" way of doing it?  In response to Lou Franco (and gacutil):  I'm using Gacutil for development, but it seems to me to be not the proper way to install it, since gacutil isn't included in the basic .NET utilities past .NET 1.1 - it's only a developer tool.  Additional: Gacutil (as seen in responses below) is not redistributable, and therefore should not be used in any app that you intend to give to people who are not developers.  AKA, customers.  See .  In response to using WIX:  WIX might be great and all, but how does it work under the hood?  What details makes the way WIX installs the assembly the right way to install it?  How does it look it up?  Is it a system/.NET call?  Is there some call in a dll buried somewhere in System32 that needs to be made?    (Edit: it looks like WIX uses MSI under the hood.  See my comments in the accepted answer.)  Final edit: It looks like the correct way to install an assembly to the GAC is using windows installer, and nothing else.  I'm going to give Wix a try.  Thanks all! By default after a new user signs up, a redirect to the home page happens.  But in such case I want to redirect such user to another page like node/35.  In this node/35 I then want to display some content. Why is it called an “Indian file”? Suppose that $X$ is a topological space equipped with a delta-complex structure. Prove that $X$ is Hausdorff.  I can actually "see" why it should be Hausdorff after the hint from Hatcher asks to "think of a delta-complex X as a quotient space of a collection of disjoint simplices".  I would appreciate if somebody can write out a full formal argument showing this proof. I'm trying to start from the definition of Hausdorff but I don't know how to carry on. Is "do something by date X" inclusive? In Terraria I often try to defeat spazmatism first, but when he transformed, his flamethrower killed me. What is easiest way to kill The Twins? When using the \cite command in figure captions and the ieeetr bibliography style, then  BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).  Is there any way to get BibTeX to ignore the \listoffigures section when numbering? Here is my script:  #!/bin/bash  echo "Digite o local em que deseja instalar o IGRAFU(pressione enter para  instalar em  ${HOME}/IGRAFO):" read caminho if test -z $caminho then caminho="${HOME}/IGRAFO" fi echo "O IGRAFU será instalado no diretório: $caminho" mkdir -pv $caminho  mv -v ./* $caminho echo "Pronto!"   At 'read caminho' I may receive from the user a path like ~/somefolder. When the script receives that kind of path both mv and mkdir won't make tilde expansion, so it will try to create a ~/somefolder and not /home/username/somefolder and therefore fail.  How do I ensure that the tilde will be converted into the HOME variable? I have a realm with a few of my friends and i want to play the creeper primed sound at him but i am afraid he will see the command and ignore it  Im using: /playsound minecraft:entity.creeper.primed block  Version: 1.14.2