I just installed openSUSE 11.3 via live usb. During the post-install process (user management, network settings etc) something screwed up and it could not complete the whole process. So I could not do any user related settings, mounting options etc. and the system rebooted automatically. All seemed well until I noticed that there were “two” /home partitions.
Previously, I had Ubuntu installed. I decided to get rid of it and try openSUSE. During the install process, I had set the partition manager to format Ubuntu’s “/” partition but leave the /home (/dev/sda8) intact, and also set its mount point as /home. But because of the abrupt rebooting during the post-install process, openSUSE created a /home folder in /, rather than mounting the existing partition (which Ubuntu had, /dev/sda8). Every time I open the User & Group management to modify some setting, it complains as such: “In /etc/fstab, there is a mount point for the directory /home, which is used as a default home directory for new users, but this directory is not currently mounted. If you add new users using default values, their home directories will be created in the current /home. This can result in these directories not being accessible after you mount correctly. Continue user configuration?” I understand what’s going on, but I’m unable to figure out how I can get rid of the current /home directory and make it mount the /dev/sda8 partition as /home?
You can move /home to /oldhome and create an empty mount point and mount sda8 on that. However it looks like the filesystem type isn’t set properly in fstab, it shows unknown. You have to fix that first.
Since a user account logins to /home, you’ll need to do this switcheroo from the console as root.
You might want to first try manually mounting sda8 from the CLI on a temp mount point that you mkdir, e.g. /sda8, to check that the partition is indeed intact.
Thanks for your reply, ken_yap. I moved /home to /oldhome and created a new /home to mount /dev/sda8 after fixing the /etc/fstab entry. I even copied all the contents from the old /home/username directory to the new /home/username directory, so as not to lose any configuration settings etc. It mounts correctly, but when I login, the desktop does not load and it gives an error: “Kstartupconfig4 does not exist or fails. The error code is 3. Check.” Clicking the only button available in this error dialog (“okay”) takes me back to the login screen. Any idea what this could mean?
Scratch that. I have fixed the problem. What happened was that my copying the /oldhome/username files, they belonged to root, especially the ~/.kde4 folder and its contents. After chown’ing it, the problem was fixed.