home on a 2nd hard drive
bjonkman at sobac.com
Tue Aug 28 16:37:00 UTC 2012
It sounds like you may be having two different problems: 1) the drive
containing /home folder is not mounted (so you're seeing /home from the
same mount as the root filesystem) and 2) you no longer have sudo
Fix 1) first. Can you log in as root? If yes, then:
1. log in as root (from a terminal, if necessary)
2. open /etc/fstab in an editor
3. if there's a line that mounts /home then comment it out (put a # in
4. add a line like '/dev/sdb1 home ext4 defaults 0 0' (be sure to use
the /dev/ device and fstype appropriate for your system)
5. Save the /etc/fstab file
If you can't log in as root then boot from a live CD and follow the
steps above, but make sure that you work on the /etc/fstab that's on
your system's drive, not the live CD's filesystem. You'll need to use
sudo to edit /etc/fstab
Let us know if that fixes things. We can tackle your sudo problem once
your home directory is restored.
On 2012-08-28 08:18, Doug Stewart wrote:
> On Tue, Aug 28, 2012 at 7:53 AM, Doug Stewart <doug.dastew at gmail.com>
>> I have a problem! I started with ubuntu 10.04 and did an upgrade to
>> 12.04.1 using Update Manager.
>> In 10.04 I had /home on a 2nd hard drive, and all through the
>> update procedure it was using /home on the 2nd hard drive. At the
>> end of the update procedure it did a reboot, but it failed to mount
>> the /home on the 2nd hard drive!!!!
>> 1) It does start up but does not recognize my old password. So
>> what password will it be wanting for sudo???? I can run as Guest!
>> 2) How do I make it use my /home from the 2nd hard drive?????
>> Thank in advance for any help you can give me. Doug Stewart
>> -- DAS
More information about the ubuntu-ca