On 14-12-28 10:45 AM, David Collier-Brown wrote:
On 12/28/2014 10:25 AM, Stephen wrote:
I have one drive on my system that just has /home on it. It is getting
SMART warnings.
I have the data backed up, and a new drive to replace it.
I am running Ubuntu 12.04.
My question is regarding booting without a /home directory mounted.
How do I go about booting, mounting and restoring my data?
Thanks!
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
umount /home, which will undo the existing mapping, and
mount /home, which will create the new mapping.
If you can't mount both disks, just swap the physical drives and log in
as root.
Root's home directory is /root, so it won't be affected by /home being
empty,
and you can do the restore.
--dave
Thank you!
Operation complete :)
--
Stephen
---
GTALUG Talk Mailing List - [email protected]
http://gtalug.org/mailman/listinfo/talk