<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/28/2014 10:25 AM, Stephen wrote:<br>
</div>
<blockquote cite="mid:54A020D2.3030604@rogers.com" type="cite">
<br>
I have one drive on my system that just has /home on it. It is
getting
<br>
SMART warnings.
<br>
<br>
I have the data backed up, and a new drive to replace it.
<br>
<br>
I am running Ubuntu 12.04.
<br>
<br>
My question is regarding booting without a /home directory
mounted.
<br>
<br>
How do I go about booting, mounting and restoring my data?
<br>
<br>
Thanks!
<br>
</blockquote>
<br>
<font size="-1">An easy approach, if you have both disks attached to
the machine, is to change the fstab so that the new disk is
mounted on /home and the old somewhere else, then log in as root
and say<br>
umount /home, which will undo the existing mapping, and<br>
mount /home, which will create the new mapping.<br>
<br>
If you can't mount both disks, just swap the physical drives and
log in as root.<br>
Root's home directory is /root, so it won't be affected by /home
being empty,<br>
and you can do the restore. <br>
<br>
--dave</font><br>
<pre class="moz-signature" cols="72">--
David Collier-Brown, | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
<a class="moz-txt-link-abbreviated" href="mailto:davecb@spamcop.net">davecb@spamcop.net</a> | -- Mark Twain
</pre>
</body>
</html>