I'd like to buy a new 1TB disk to replace my old 150GB disk. Is there an easy way to copy my Ubuntu installation with   my home folder content,  system settings,  applications,  and so on...   so at the end I can just unplug my old disk and plug the new one without having to re-install everything?
The HDD I have my Ubuntu installed is about to fail. I would rather not lose 3 years worth of data, customisation and apps. I am looking for a way to move the complete system (SWAP included, because I'm not sure if I can relink the system to a new SWAP partition) to another HDD. But not the complete HDD&lt; only the partition containing Ubuntu, to a partition on a different HDD. Basically I'd like to do what I've been able to do with Norton Ghost for my Windows install. I thought about using Clonezilla but I think I would have issues with GRUB (Especially trying to boot from a different UUID than what is in the conf file). do you know of any way this could be done?  PS, my home directory is encrypted but that's not really an issue, because I can work around that.  EDIT: changed the explanation to make it clearer
What are these  error below ?  Package natbib Warning: Citation `Krishna2014' on page 16 undefined on input li ne 502.  [16 &lt;./figure/aks smr.png&gt;] [17] [18] ! Undefined control sequence. l.560 \Bibliography                    {figure/bib} I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage.  How can I move my user data from /home to /media/storage/home?  Can I just move the data over there and then simply symlink it back? Since  from other SE sites and is not thought to point out a lack of quality or helpfulness, but only to express agreement or disagreement, I'm wondering why downvoted answers here on meta are shown semi-transparent.  Shouldn't they be non-transparent then (like upvoted answers)?  Or am I missing something? I would like my sections to start on a new page if they do not fit on the current page. In other words:  if a section fits on the current page print it, if it does not fit start printing it on the next page.  I would like this to be done automatically.  \usepackage{titlesec} seems to be the solution, but I can not get it to do the job.   Should it be done with titlesec? how ? Is there a better approach? If I can generally reach web pages on the Internet but can't reach a specific one, how do I troubleshoot what the cause is as an end user?       This question was a .   Read the  for more details or  yourself Right identity and Right inverse implies a group Let $(G, *)$ be a semi-group. Suppose   $ \exists e \in G$ such that $\forall a \in G,\  ae = a$;  $\forall a \in G, \exists a^{-1} \in G$ such that $aa^{-1} = e$.    How can we prove that $(G,*)$ is a group? Inverting Polygons using QGIS? I have a Shapefile with Polygon features  representing the world's land areas (continents, islands).   Is it possible to invert these, and get a geometry that represents the world's oceans and seas?   So the original land Polygons need to become rings in a single global Polygon that covers the planet.  Basically, I'm looking for something like Select > Inverse in Photoshop.   I am using QGIS. nginx httpMapModule regex variables The  states that:     Since 1.0.4, case insensitive regular expressions can be used by prefixing the pattern with ~*.   And gives the example:  map $uri $myvalue {     /aa                   /mapped_aa;     ~^/aa/(?&lt;suffix&gt;.*)$  $suffix; }   I updated to nginx/1.2.7 to make use of this, and naive regexes work okay, but variables don't. When I try the above syntax I get the error:  nginx: [emerg] pcre_compile() failed: unrecognized character after (?&lt; in "^/aa/(?&lt;suffix&gt;.*)$" at "suffix&gt;.*)$"   I also tried the following syntaxes, but none of them worked:  ~^(.*)$  $1; ~^(.*)$  \1;   but neither of them worked either.  Does anyone know how to get variables to work in regular expressions in HttpMapModule? How can I keep multiple live/bootable ISO images on a single USB drive? Sequence of differentiable functions Let $f_n$ be a sequence of differentaible functions on $[0,1]$ to $\mathbb{R}$ converging uniformly to a function $f$ on $[0,1]$, Then    $f$ is differentiable and Riemann integrable there $f$ is uniformly continuous and R-integrable $f$ is continuous, need not be differentiable on $(0,1)$ and need not be R-integrable on $ [0,1]$, $f$ need not be continuous.   Well I think 2 is only correct statement  as every $f_n$ are differentiable on $[0,1]$ hence uniformly contnous, and as they converge uniformly to $f$ on $[0,1]$ so $f$ is uniformly continuous and every continuous function is rieman integrable..Am I correct? Quotient ring of a localization of a ring Let $A$ be a commutative ring. Let $P$ be a prime ideal of $A$. Let $I$ be an ideal of $A$ such that $I \subset P$. Let $\bar A = A/I$. Let $\bar P = P/I$. Is $\bar A_{\bar P}$ isomorphic to $A_P/IA_P$? Two figures side by side How do I Deserialize this XML document:  &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;Cars&gt;   &lt;Car&gt;     &lt;StockNumber&gt;1020&lt;/StockNumber&gt;     &lt;Make&gt;Nissan&lt;/Make&gt;     &lt;Model&gt;Sentra&lt;/Model&gt;   &lt;/Car&gt;   &lt;Car&gt;     &lt;StockNumber&gt;1010&lt;/StockNumber&gt;     &lt;Make&gt;Toyota&lt;/Make&gt;     &lt;Model&gt;Corolla&lt;/Model&gt;   &lt;/Car&gt;   &lt;Car&gt;     &lt;StockNumber&gt;1111&lt;/StockNumber&gt;     &lt;Make&gt;Honda&lt;/Make&gt;     &lt;Model&gt;Accord&lt;/Model&gt;   &lt;/Car&gt; &lt;/Cars&gt;   I have this:  [Serializable()] public class Car {     [System.Xml.Serialization.XmlElementAttribute("StockNumber")]     public string StockNumber{ get; set; }      [System.Xml.Serialization.XmlElementAttribute("Make")]     public string Make{ get; set; }      [System.Xml.Serialization.XmlElementAttribute("Model")]     public string Model{ get; set; } }   .  [System.Xml.Serialization.XmlRootAttribute("Cars", Namespace = "", IsNullable = false)] public class Cars {     [XmlArrayItem(typeof(Car))]     public Car[] Car { get; set; }  }   .  public class CarSerializer {     public Cars Deserialize()     {         Cars[] cars = null;         string path = HttpContext.Current.ApplicationInstance.Server.MapPath("~/App_Data/") + "cars.xml";          XmlSerializer serializer = new XmlSerializer(typeof(Cars[]));          StreamReader reader = new StreamReader(path);         reader.ReadToEnd();         cars = (Cars[])serializer.Deserialize(reader);         reader.Close();          return cars;     } }   that don't seem to work :-( If you have a java.io.InputStream object, how should you process that object and produce a String?    Suppose I have an InputStream that contains text data, and I want to convert it to a String, so for example I can write that to a log file.  What is the easiest way to take the InputStream and convert it to a String?  public String convertStreamToString(InputStream is) {     // ??? } Current  enables one to upgrade to macOS Mojave from a stable release, but I want to try out a fresh installation instead of upgrading with previous data, so that I can assess it better.  I've downloaded an application named "macOS Mojave Beta" from the App Store, and running it would presumably result in an upgrade. Now I wonder what to do next. Would  and booting from it be a good idea, when I'm working with a Beta version? Words that mean ''to say something unintentional'' I am looking for words that mean ''to say something unintentionally'' I just installed Ubuntu 13.10, and I can't configure my wi-fi Epson TX430W printer.  Using the Settings-&gt;Printers interface, I can detect the printer. When I click add, I briefly see a "Searching for drivers" dialog. It dissapears, and then I'm left with the printer forever in "Installing" status.  If I close the window and reopen Printers, it doesn't show up on the list.  How can I solve, or at least diagnose the problem? Is the above statement true? If I have already proven that the set is linearly independent, is it automatically given that the subset is also linearly independent? If so, how would I go about showing that as a proof. A square with side $a$ is given. What is the average distance between two uniformly-distributed random points inside the square?  For more general "rectangle" case, see . The proof found there is fairly complex, and I am looking for a simpler proof for this special case. I expect it could be significantly simpler.  See also . If gravity isn't a force, then why do we learn in school that it is?