Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Nice dist upgrade to Ubuntu 9.10 this morning.........not!
To start with, the dist upgrade seemed to be going Ok, but it "lost" my partners login.
Her /home is still there, but it wouldn't let me add her username again, it just comes up with the same error about there already being a /home/username partition for her.
Since then, I tried to cure this with the "idiot windows user cure all" and downloaded and re-installed (mainly because I'm an impatient idiot), this has resulted in loosing my login as well. I can still see my /home/bigjohn partition area in the /home partition but I can't add my username either.
I've managed to get round this for the moment by adding a completely new user called "bigjohnspc" but I'm hoping that when I've reinstated our normal user names I can dump that.
Can someone kindly point me in the right direction please as this is stressing me out like you wouldn't believe........ ?
To start with, the dist upgrade seemed to be going Ok, but it "lost" my partners login.
Her /home is still there, but it wouldn't let me add her username again, it just comes up with the same error about there already being a /home/username partition for her.
When this happens, I tend to think that the UID has changed for the user. *Nix tends to look at the numeric UID rather than the user's name.
What happens when compare the UID of your passwd file and the UID of your old 'bigjohn' home directory, like this:
Next thing....is there a hash for her password in /etc/shadow? Was all authentication wiped out (probably would be unless you preserved it)?
Thanks for the assist wfh, I just got too impatient and eventually just saved what I could from my /home and copied that to the shared FAT32 partition and then just did a re-install but also formatted the /home as well.
I never did find out what happened to my firefox bookmarks and stuff like that, those just seemed to disappear despite copying all my /home to the shared partition.
Ah well, that'll teach me to believe it when they offer upgrades. I'll just have to download as burn a disc of the new version next time. It still seems that even within the same distro, that upgrading is very precarious and not to be trusted, whereas it does seem less problematic to do a full install of the newer version. Why that might be I don't know but it seems to have been like this forever..... why "they" can make it so that's it's a painless/lossless upgrade? well I don't know enough about it to even guess...
I have a theory that if you put /home onto a dedicated partition, this will preserve it when you re-install or upgrade - you would just tell the new set-up process to mount /home on this partition. Furthermore, it may be possible to have two separate Linux installations sharing the same data.
I have never done this myself, but plan to do so next time I upgrade. I'd be pleased to hear from anyone else whether this would work, or whether the problem of UUIDs mentioned above would screw thing up.
Furthermore, it may be possible to have two separate Linux installations sharing the same data.
That's a bad idea. The /home on a separate partition is a good thing, but don't have 2 separate installations using the same home directory. If you have different versions of the same program on each install, they could mess up your config files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.