Locked Drive After moving to Linux from Windows [HELP] [Pop-OS]

It looks like the folder is owned by root and I don't know what NNFS file system is.
you will have to open Nautilus as root. you can do that with this command in a terminal
Code:
pkexec Nautilus
enter your user password when asked. Be careful as you can move most any file with nautilus in this mode and moving or deleting some will break your system.
You should also be able to copy the file using the terminal if you like with This command
Code:
sudo cp /mnt/Drive/Foldername
If you copy it to your home folder you may still need to change the permissions for the Folder. Good Luck.
Error:
pkexec must be setuid root

@Lord Boltar's advice above may fix this, but if you will try this... open a terminal and type:
Code:
sudo su

Give your password (you may or may not see any **** characters echo). You should see the end of your "prompt" change from a $ symbol to a # symbol. This makes you the root user.

Try your copy command again and see if it works.
Error:
sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
 


Okay, thanks for your patience. This is odd.

Following @Thunderpants (and what I was thinking earlier).... let's be sure of this question:

Is this computer also using Windows 10? Dual-booting with Pop_OS?
 
Are you able to update (repositories) on your Pop_OS from a terminal? Please try, like this:
Code:
sudo apt update

Then
Code:
sudo apt upgrade
 
This page will tell you how to fix the uid 0 /1000 issue use the one for Ubuntu which pop-os is based upon Fix uid
 
1. I would suggest unplugging the USB on /mnt/Drive first.

2. Carefully follow the directions for Ubuntu/Debian in @kc1di's link above. Be sure to reboot afterwards.

3. Plug in your USB again. Check with ls -l. The USB should be owned by you as your username, not root. That's what I find as I plug in several different USB drives.
 
Are you able to update (repositories) on your Pop_OS from a terminal? Please try, like this:
Code:
sudo apt update

Then
Code:
sudo apt upgrade
Error
sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

So... Now I just realised I don't have any permissions now to use admin commands anymore. IDK what happen, I cant even sudo any more. :(
 
Reboot the computer,choose recovery console - to get the boot menu to show, you have to hold down the Shift key during bootup and choose (recovery mode) then select "Drop to root shell prompt"
Now type the following commands
Code:
chown root:root /usr/bin/sudo
Code:
chmod 4755 /usr/bin/sudo
Reboot the machine again

If all else fails I would reinstall the OS and start over
 
BIG PROBLEM I cant shutdown my computer or restart.
Hold the power button down for a few seconds it will shut down then turn it back on and go to the recovery console as my above post states - post #32

Also if you manage to get back into your system and your external drive is formatted to NTFS make sure the following files are installed in your Pop OS - ntfs-3g and libntfs-3g833 these are required to have read/write to NTFS Fuse File System and for ExFat you will need exfat-fuse and exfat-utils

also be advised that 21.04 is only good for 9 months it is an interim release you would be better off using 20.04 it is a LTS release
 
Last edited by a moderator:
At this point I think I would consider a re download of the .iso and reinstall the system.
Something is very wrong.
 
I have no more internet on my computer :(
From bad to worse. Do you still have the USB that you used to install Pop_OS? It really does sound like you need to start over from scratch.
 

Members online


Latest posts

Top