I have been working with Linux for only a short time so I need some step-by-step directions to learn. I did a clean install of Opensuse to get rid of this problem, did latest updates, and it came back immediately.
I have the dreaded “Cannot enter home directory, Using /” and “Call to lnusertemp failed”.
When I go on as root and look for the folder under my username, it says it is on a partition on the same USB drive with NTFS format. When I search for the home directory, it also says it is on that same partition.
Tried to create a home folder under root on the correct partition and tell Yast that home was the location for the users. It created my user folder but the logon must have gone back to the NTFS partition.
What commands do I need to type to make Opensuse mount on the correct partition? Or am I off base on the cause?
Log out as user, log in as root, use “usermod -m -d /path/to/new/home user”. This command moves old home content to new location.
I do not understand all that you are telling. But reading from your thread title, I assume that you want to put your /home on an NTFS file system. I like to warn against it (my personal opinion). There is software to read and write from NTFS file systyems in Linux, but that does not make NTFS file systems the same as native Linux file systems. There are big differences between the two (like no ownership by user/group, no permission bits) that require a lot of jumping through hoops.
The ability to mount and use non native Linux file systems should only be used to exchange data between Linux and non-Linux systems, but never as part of a Linux system itself.
Let me say that it is my personnel opinion that due to the difference in how permissions work and other possible yet undisclosed application issues, I would not attempt to use an NTFS partition for my /home user area. Why do you feel you need to do this? Is this a dual boot PC with Windows and openSUSE? Do you wish to share /home with another PC, perhaps running Windows? You know that openSUSE can read and write to NTFS partitions and you can use an NTFS partition to pass data to Windows if you are using dual boot. But, NTFS is just not the same as an EXT4 partition, the default that is used and tested with openSUSE and its many applications. Just because you might get it to start working is not the end of any potential issues without a good explanation as to why you feel you need to use a NTFS partition for your /home user area.
Let me say that there is a free download of a utility to let Windows read/write to Linux EXT4 partitions. Do a search on “Paragon ExtFS for Windows” and you can find it online.
Thank You,
On 08/03/2013 06:46 PM, mrjacque wrote:
> drive with NTFS format
do not put linux system or home on ntfs…it will destroy the
permissions system which is required by linux…i’d suggest
ext4…stay away from btrfs, LVM and others for now…
if you want some space where both Linux and Windows can read and
write, that is ok…but, that space is not /home…just leave
some ntfs space inside your Windows system files and then when
mounted linux can see and use it–and we assume windows can also
–
dd
http://tinyurl.com/DD-Caveat
http://tinyurl.com/DD-Complaints
On 2013-08-03 18:46, mrjacque wrote:
> I have been working with Linux for only a short time so I need some
> step-by-step directions to learn. I did a clean install of Opensuse to
> get rid of this problem, did latest updates, and it came back
> immediately.
You can not set home on an NTFS partition, period (an expert might be
able to know how, but I have not read of such a thing).
You can, however, have home on a normal Linux filesystem, and store data
on an NTFS filesystem. For example, put ~/Documents in there. Even so,
some applications might not work properly if they need features such as
links.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
I did not intentionally put it on that drive, and do not know how it happened, but when I do a search, it shows as being there.
I did the usermod command to set up a location, but where does the file need to be set-up to be found at login?
Open a terminal and enter
cat /etc/fstab
Copy the output and paste it into your reply using the
tags (#).
On 2013-08-03 22:56, mrjacque wrote:
>
> I did the usermod command to set up a location, but where does the file
> need to be set-up to be found at login?
What file?
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
Results of fstab
/dev/disk/by-id/ata-GENERIC-part6 swap swap defaults 0 0
/dev/disk/by-id/ata-GENERIC-part7 / ext4 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
In reply to robin_ the personality file with my user name. Right now it is in /root and the signin does hot know my password.
Right now you have no home partition defined so home will simply be in the root partition. That in itself will not cause any problems except that upgrading or changing to another distro is a bit harder and you may not have a lot of space to store personal items.
Please show us the output of
sudo fdisk -l
Also please put code tags around computer output. That is the # sign button at top of edit window. It reduces problem in formatting
/root is the home directory of the home user there should be no files of interest there. Don’t play in there
Got no idea what you mean by personality file???
Also never ever log into a GUI as root.
The personality file to me is the one with your logiin information - your user name.
I got the login working. I needed to know where in Yast to put the user data. When I pit it in / instead of /root, it worked.
Thank you for your suggestions.
On 2013-08-04 06:56, mrjacque wrote:
>
> The personality file to me is the one with your logiin information -
> your user name.
There is no such thing.
Users are defined in /etc/passwd - warning: damage the file and you hose
your system.
You need read a book on Unix or Linux.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
That is very strange. Such things do not happen out of the blue sky when installing.