Can't login as root, no access to my SATA drive

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

sudo ... and when it asks for the password, it's your password. Another trick is: sudo su - which will give you a root shell.

If you really really want to enable the root account you can give it a passwd once you're root. From there on su - should work like expected again.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

Peter Witteveen wrote:Root appears to be the owner of the disk; sda1. I can only read, not write.
Can you please give me the result of this command? (the whole output please!)

Code: Select all

cat /etc/fstab
And while you are at it, also this please:

Code: Select all

sudo fdisk -l /dev/sda
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

According to your fstab above /dev/sda1 is NTFS e.g. a Windows drive? Trying to write to it by force as you did is dangerous. Microsoft never really released the specifications for the NTFS filesystem, hence there are some "do's" and "dont's" ...

I suggest you use the safe methods for accessing your NTFS drive:

http://www.linuxmint.com/forum/viewtopi ... 3729&#3729
http://www.linuxmint.com/forum/viewtopi ... 8630&#8630
http://www.linuxmint.com/forum/viewtopi ... =8773#8773

You could have found that info yourself if you had used the "search" function here, e.g. searching for "ntfs" would have given you above results too.
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

Peter Witteveen wrote: I didn't know that NTFS could be the problem.
There have been various attempts of "the Linux people" (e.g. various programmers) to reverse-engineer NTFS. There is a NTFS-module (= "driver") in the kernel but it was long (and probably still is) regarded as being totally unsafe for write access, as NTFS does some "strange" things and Microsoft won't tell us exactly why and how; typical "closed source" bullsh*t. Then there are other approaches to the problem. Currently you can use "ntfs-3g" and under Linux Mint you can use a nice GUI tool "mintDisk" which will work hand in hand with those new (but still totally unofficial) NTFS drivers. As I said previously those new approaches to the "NTFS problem" should be much safer than the old NTFS drivers which might still be in the Linux kernel (and those are normally "read only" with good reason!).
Peter Witteveen wrote: When i was in Linspire i was always able to write to an NTFS disk. I never knew it was dangerous.
See here what they say about this:
http://forum.linspire.com/viewtopic.php ... dc5#562244
Locked

Return to “Other topics”