![]() |
Home folder empty and Login Screen loop - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6) +--- Forum: Start up and Shutdown (https://www.linuxliteos.com/forums/forumdisplay.php?fid=27) +--- Thread: Home folder empty and Login Screen loop (/showthread.php?tid=3463) Pages:
1
2
|
Home folder empty and Login Screen loop - Lite Potato - 11-09-2016 After having rsync'd and deleted the original /home folder, I did not find the new copy. If Puppy Linux live CDs automatically mount fstab, this could have been the problem. I am on the Linux Lite live DVD at the moment of posting this. Will its default settings work for copying over? Re: Home folder empty and Login Screen loop - LL-user - 11-09-2016 Hi Lite Potato, Welcome to the Forum! ![]() Could you please explain a bit more detailed your situation/setup? How I understand your post so far is that you booted up your computer with Puppy Linux and rsync'd your home folder. Where did you copy it to? Now you've booted up the same computer with Linux Lite and want to rsync it back - although you can't find the copy? If you provide more info it's easier to help ![]() Re: Home folder empty and Login Screen loop - Lite Potato - 11-09-2016 I installed an ext3 partition for it on a separate HDD, and then I performed rsync while on LL, and, if I remember well, I booted Puppy and deleted only the contents of the OS partition's /home. Here is the command used found at http://serverfault.com/a/505758: Code: rsync -avhW --no-compress --progress /src/ /dst/ Re: Home folder empty and Login Screen loop - LL-user - 11-09-2016 The rsync command is fine, copying the content of the folder src - not the folder itself due to the trailing / - to the folder dst. The question is how and where was the separate HDD (portable?) installed/mounted? Can you remember the actual command line you used (check history)? Have there been any error messages while you run rsync? Can you still see the ext3 partition? If yes, are there any files on there? How did you search for the copy of your home folder? Sorry to bombard you with all these questions. For me your description/ the situation is still quite vague. Still hard to come to any conclusion/ give any further advice. Re: Home folder empty and Login Screen loop - Lite Potato - 11-09-2016 (11-09-2016, 09:24 AM)LL-user link Wrote: The question is how and where was the separate HDD (portable?) installed/mounted?The device in question was an internal SATA HDD's logical sub-partition mounted as Code: /mnt/home2/ (11-09-2016, 09:24 AM)LL-user link Wrote: Can you remember the actual command line you used (check history)?It might have been Code: rsync -avhW --no-compress --progress /home /mnt/home2 (11-09-2016, 09:24 AM)LL-user link Wrote: Have there been any error messages while you run rsync?No error messages appeared. Is there a chance of rsync having only simulated a transfer without my knowledge? (11-09-2016, 09:24 AM)LL-user link Wrote: Can you still see the ext3 partition? If yes, are there any files on there?The partition is existing, but empty (no hidden files either). (11-09-2016, 09:24 AM)LL-user link Wrote: How did you search for the copy of your home folder?I looked in the root of the new part, of course. In Puppy, I also edited fstab and deleted the old home after, if that matters. Re: Home folder empty and Login Screen loop - LL-user - 11-09-2016 Simulating the transfer via rsync is done by the flag -n or --dry-run. Could you please post the output of Code: sudo parted --list Am I correct assuming you are not having a backup? And that you didn't check for the transferred files before you deleted the original? Or did you see them at some stage? Forgot to ask: Was your home on a separate partition? Is that the one you're referring to by editing fstab? How exactly did you delete it? Re: Home folder empty and Login Screen loop - rokytnji - 11-10-2016 Defaults for /home/username is usually in /etc/skel folder Code: harry@biker1:/etc/skel$ ls -a Re: Home folder empty and Login Screen loop - Lite Potato - 11-10-2016 (11-09-2016, 11:44 PM)LL-user link Wrote: Could you please post the output of The lists: Code: Model: ATA ST380011A (scsi) Code: Filesystem Type Size Used Avail Use% Mounted on Code: #[Partition] [Mount Point] [File System Type ("auto" is recommended)] [Options] [Dump (zero is recommended)] [File System Check Order (Linux Part.->1; all other->2)] (11-09-2016, 11:44 PM)LL-user link Wrote: Am I correct assuming you are not having a backup? And that you didn't check for the transferred files before you deleted the original? Or did you see them at some stage? The only backup I had was unintentionally deleted; the original /home was on the same partition as the system folders, but the new one wws not; Yes, fstab appears to have done something with that folder; and when home was assumedly copied in LL to the new part, I deleted the old folder in Puppy. Shortly following, both folders were possibly deleted in one instance. Re: Home folder empty and Login Screen loop - LL-user - 11-10-2016 Thanks for the listings. Will have a look and come back to you. Fstab is by itself NOT changing any data. It "only" defines how disk partitions/filesystems are mounted into the OS filesystem NOTE: In case you would consider data recovery if the need arises, please do not boot from the disk in question, especially don't change any data on there. Only mount it - as read only - within another OS running, like the Puppy LiveCD. Re: Home folder empty and Login Screen loop - LL-user - 11-11-2016 Hi again, Lite Potato ![]() Please check whether I've put your puzzle pieces together correctly? ![]() 1. You have LL installed on sda2 and had it booted 2. Its home folder resided on the same partition 3. sdc5 got mounted to /mnt/home2 4. You performed: Code: rsync -avhW --no-compress --progress /home /mnt/home2 5. You booted up PuppyLiveCD and made the change in fstab and deleted /home on sda2 6. sdc5 is empty A few more questions: * How big was your original home folder? * in your fstab I read this: "change from "/home2" to "/home"" - So you used this fstab entry to mount home2, didn't you? - Did you use /home2 (as mentioned in fstab) or actually /mnt/home2? -> You should still see the mount point in LL on sda2 if you haven't deleted it. - Is this the fstab change you're referring to you have made via Puppy? * Have you done anything more to your LL installation since you deleted your home folder than booting LL and trying to log in? Specifically, did you write any data to it? PS: As you're very familiar with all the technical background may I please encourage you for the next time you reach out for support to explain your issue similar to this list, indicating the general setup, connections (like between devices and mount points), chronological steps performed, and outcome. Rather give to much than little information. It will increase your chances for help dramatically and ensures the issue getting solved a lot faster ![]() |