Linux MintThis forum is for the discussion of Linux Mint.
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.
I'm currently using Linux Mint 19 Cinnamon 3.8.9. The command "/dev/sda1" results in a "Bash /dev/sda1-permission denied" How do I get permission to delete unwanted files? I'm new at this stuff. Thanks!
/dev/sda1 isn't a command. can you explain what you were trying to do or how you intended to delete files?
usually using sudo before a command will let you do things that require root permission, but it is best to be careful how you use it.
can you run the command df -h (df reports system disk space usage -h shows it in human-readable [GiB] form instead of bytes) in a terminal and post the output
/dev/sda1 isn't a command. can you explain what you were trying to do or how you intended to delete files?
usually using sudo before a command will let you do things that require root permission, but it is best to be careful how you use it.
can you run the command df -h (df reports system disk space usage -h shows it in human-readable [GiB] form instead of bytes) in a terminal and post the output
I ran df-h command and the output was "command not found." With the df command the output was a list of used/available space were this /dev/sda1 is mounted on /boot. I'm trying to delete old files from this boot. Hope this helps.
I ran df-h command and the output was "command not found".
you need a space between the command df and the option -h. i believe that is probably true for most commands and options. it can helpful when you are starting out to copy and paste the command into your terminal to make sure it is correct.
whichever one you run, it would still be useful to see what the output is. can you copy that from the terminal and paste it into your reply?
you need a space between the command df and the option -h. i believe that is probably true for most commands and options. it can helpful when you are starting out to copy and paste the command into your terminal to make sure it is correct.
whichever one you run, it would still be useful to see what the output is. can you copy that from the terminal and paste it into your reply?
if you are still able to boot into this installation, you should be able to use the kernel manager to delete some of the kernels taking up space in boot.
I tried "sudo apt autoremove -f" This command gave me a chance to free up 425M of space. However, it crashed with an error message due to "broken packages/dependencies." Thanks for your input.
i have never run autoremove with -f. you might want to try without. if you are still having trouble, it would be helpful if you could post the text of both the command you run along with the output you get as a result in the terminal.
In my effort to solve this issue, my hard drive crashed. Messages, F2= "Kernel panic-not syncing, unable to mount roof fs on unknown block." With F12,
"Please unlock disk sda5_crypt." In Post #6, sda1 is listed with 100% used. My password was always associated with sda1. I have no password set up with sda5 to unlock it. ???
I bought a new PC and will consider installing Linux 20 Mint thereon. thanks to all for your input.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.