LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2023, 10:21 PM   #16
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled

Another curiosity of my situation is that when this initially occurred, by desktop and folder preferences were all as normal. The only difference was that the folder panel showed Documents, Pictures, Music, Video... etc, with red x. And when I clicked, it said those locations were not available.

In addition, the Trash was still full. In fact there was some salvageable files there. Now, however, perhaps after a reboot, the Trash is empty. I definitely did not empty the Trash.
 
Old 09-13-2023, 12:00 AM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Quote:
The only difference was that the folder panel showed Documents, Pictures, Music, Video... etc, with red x. And when I clicked, it said those locations were not available.
Yep, that's what the Red 'X' means - whatever the icon points to is now corrupt or missing.


Re Trash; it may be in a cfg setting, but I would never use/trust Trash, if my system even has that (not in front of it right now).
Just make backups regularly and assume(!) trash will be emptied during a reboot ...
If it's not, it'll eventually fill the disk ...


As you've discovered, deleting stuff needs to be planned carefully.
You can usually delete oldest log files under /var/log/... , but still research each one first.
 
Old 09-13-2023, 07:35 AM   #18
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Does anyone know why Nemo now shows a small Terminal window at the top ?
Attached Thumbnails
Click image for larger version

Name:	Nemo with Terminal 2023-09-13 13-32-52.png
Views:	10
Size:	107.5 KB
ID:	41640  
 
Old 09-13-2023, 09:13 AM   #19
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
What should I enter at the Filename Encryption Key (FNEK) Signature [mykey
]:
 
Old 09-13-2023, 08:54 PM   #20
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
1 I don't see FNEK in that screenshot...

2 Purging logfiles :

Using a gui is tricky because each app has its own rules and you'd need a someone who knows that specific tool..
(I don't use gui apps for this)

Can I (highly) recommend you just open up a std terminal session, where the cmds are more universal?

Quick n dirty / temp soln is to cd into /var/log (as root/sudo) and remove some of the oldest dirs/files. eg if you have 5 'alternatives.X.log' entries, I'd del the oldest 3, keeping the newest 2.
You can check the dates with 'll' but the ones with the lowest nums (8, 9, 10) would normally be the oldest.
Rinse and repeat for others.

HOWEVER, the best soln is to edit (as root) the log rotation cfgs in /etc/logrotate.d/ and have the system keep it under control for you, or you'll be back in this same position, eventually.

As an example
Code:
 cat bootlog 


/var/log/boot.log
{
    missingok
    daily
    copytruncate
    rotate 7         # <--- this says how many to keep; edit to eg 2
    notifempty
}
HTH
 
Old 09-13-2023, 10:30 PM   #21
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hi chrism01.

Thanks for your input. My /var/log doesn't look anything like that.
 
Old 09-14-2023, 11:33 AM   #22
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by alten View Post
Here's just a simple thing to check.
If you were clicking folders a lot while you were looking around, it's ASTONISHINGLY easy to accidentally click-move-drop a whole folder into another without even realising it. I've done it many times. Your HOME folder could be in a subfolder somewhere. Searching for something like .Desktop file could find it.
HTH
A
If that is what was done then the use of
Code:
find /home -name USERNAME
may reveal it. Although much less likely for it to be outside of /home it could also be done starting the search from the root ( / ) folder
 
Old 09-14-2023, 08:34 PM   #23
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
/var/log is where your logs are - as shown in your GUI screen shot.

The rotation configs are in /etc/logrotate.d as per my prev post.
 
Old 09-18-2023, 10:10 PM   #24
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
/var/log is where your logs are - as shown in your GUI screen shot.

The rotation configs are in /etc/logrotate.d as per my prev post.
Yes, I found the var log, but it doesn't look the same.

Also, the 'cat bootlog' code doesn't work for me.

Thanks for the input though.
 
Old 09-18-2023, 10:46 PM   #25
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Surely the files in the filesystem of the live session should match their counterparts in the real session ?
 
Old 09-18-2023, 11:02 PM   #26
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Just open a terminal and
Code:
cd /var/log

ls
and post the results.
Let's not guess ...
 
Old 09-18-2023, 11:08 PM   #27
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Xorg.0.log cups lightdm ubuntu-system-adjustments-adjust-grub-title.log
auth.log dmesg mintsystem.log ubuntu-system-adjustments-start.log
boot.log gpu-manager.log mintsystem.timestamps wtmp
btmp kern.log private
casper.log lastlog syslog
 
Old 09-19-2023, 12:15 PM   #28
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by drrummer View Post
Code:
Xorg.0.log  cups             lightdm                ubuntu-system-adjustments-adjust-grub-title.log
auth.log    dmesg            mintsystem.log         ubuntu-system-adjustments-start.log
boot.log    gpu-manager.log  mintsystem.timestamps  wtmp
btmp        kern.log         private
casper.log  lastlog          syslog
Note that your post has no formatting.
To show us what things look like on the screen and to make it more readable please consider posting text inside code tags so the data is more easily seen and recognized. It also helps if the actual command is the first line posted.

I added the code tags to your quote above so you might see the difference.
 
Old 09-20-2023, 09:01 AM   #29
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Oh- excellent. Thanks for the tip.

To be honest, I should have noticed the code tag feature.

My mind has been very busy lately and sometimes I struggle to focus on one task.

Thanks again.
 
Old 09-20-2023, 10:38 AM   #30
drrummer
LQ Newbie
 
Registered: Jan 2021
Posts: 23

Original Poster
Rep: Reputation: Disabled
Recap, so far...

RECAP
Okay - here's a rundown on what has happened so far.


1. I wanted to clear up disk space. So I searched for ways to purge old linux packages and software. I didn't want to blindly delete stuff that I felt I didn't need.

2. The last time I deleted stuff, and moved things between partitions, Windows stopped working. Added to that, I have since had to load Linux by entering the following code:
Code:
set root=(hd0,4)
linux /boot/vmlinuz-x-xx-.x-xx-generic /root=/dev/nvmexxxx
initrd /boot/initird.img-x.xx.x-xx-generic
boot
3. A couple of weeks back I tried some commands, which I found on some reputable forums. As far as I can recall I used:
  • Code:
    sudo apt-get autoremove
  • I manually uninstalled packages using the Software Manager.

  • Code:
    sudo apt-get autoclean
  • Code:
    sudo apt-get clean
  • Code:
    jounrnalctl --disk-usage
    -(possibly).
  • Code:
    sudo apt-get purge "*flatpak*"
    -(i think, although I thought it was snap, not flatpak).

4. I executed photorec. Recovered quite a lot of files, many encrypted. Although a lot are website and app elements.

5. I ran Boot Repair in an attempt to regain access to my media.

6. At this point, I believe that my Home folder is a new home folder and not the original one.

6. In an attempt to free up some space for recovery, I move this file: 'crtmpserver', to a memory stick. I put it in a folder called 'RETURN TO media mint 510adab1-194c-4502-80e3-a0a468ca2366 var log', so that I knew where to put it back.

7. At some point I think I renamed the UUID of one of the partitions, so the partition listed above no longer exists.

8. I've tried moving boot files to the first partition.

CONCLUSION

Now I have two issues.
  1. Linux won't boot, no matter what I do.
  2. I can access the encrypted folders but it:
(a) just gives me access to the new home folder.
(b) when it mounts the encrypted folder at /tmp/xxxxxx, the folder is empty.


Any help and advice would be graciously received.

Last edited by drrummer; 09-20-2023 at 11:34 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Home, Sweet Home: Sweet Home 3D 2.1 Linux Version LXer Syndicated Linux News 0 10-06-2009 03:10 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Put a 2nd kanotix at hdb 3/,-4/home. 1st is at hdb8/,-9/home.#2 is using 1st's /home sleekmason Linux - General 3 12-09-2006 09:21 AM
missing jdbc isnt actually missing. trscookie Programming 0 06-04-2006 10:26 AM
Problem running UT Demo, Xlib missing on 0.0.. gldrv missing etc. RHLinuxGUY Linux - Games 3 05-21-2006 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration