To get a working user set up, I had to add a user...
sudo adduser testwhich creates a user named test with the default settings from your /etc folder which is not on the SDHC card, so I figured this would work. I logged in as test, then rebooted the computer to a command prompt and logged back in under my own user as I still could not log in at the login screen using my user to create my user directory using the mkdir command. from my home directory I copied the test folders contents into my user directory using
sudo cp -rP /home/test/* /home/username/.then change the owner of the files from root to me by changing directory to your user folder
sudo chown username:username *and wallah... it seems to be working for now, but none of my settings, but I can use my OS again... time to start making backups... luckily I didn't have anything important yet.
sudo chown username:username .*
Well, I guess a little too soon here. I thought it was working just fine, then when I started up my Acer today I had to mount the /home directory myself... I'll look into it, but can't figure out why my fstab isn't automatically mounting it. If anyone actually stumbles across my blog and knows a thing or two about Linux... I'd greatly appreciate the help
ReplyDeleteRealized my SDHC card had not been formatted correctly... it looked good when I did fdisk -l, but when I looked in parted, I realized that it wasn't actually in ext2 format. So, I backed up my /home directory, reformatted the SDHC card and copied over the files as described above, then had to change the owners cuz I used sudo cp... which you don't actually have to do, and to it works better if you do it this way
ReplyDeletesudo chown -R username:username /username