LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-31-2020, 01:03 PM   #1
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Rep: Reputation: Disabled
My Boot is 100% full. How to clear it?



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!
 
Old 07-31-2020, 01:11 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,395

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Could you post the output of the command:

Code:
df -h
 
1 members found this post helpful.
Old 07-31-2020, 01:14 PM   #3
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 749

Rep: Reputation: 173Reputation: 173
/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
 
Old 07-31-2020, 03:58 PM   #4
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
/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.
 
Old 07-31-2020, 05:09 PM   #5
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 749

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by Opa3de View Post
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?
 
Old 08-01-2020, 08:19 AM   #6
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
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?
Repeated with the pasted results:$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 789M 2.9M 787M 1% /run
/dev/mapper/mint--vg-root 909G 42G 822G 5% /
tmpfs 3.9G 19M 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda1 472M 469M 0 100% /boot
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 789M 44K 789M 1% /run/user/1000
Hope this helps.
 
1 members found this post helpful.
Old 08-01-2020, 08:39 AM   #7
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 749

Rep: Reputation: 173Reputation: 173
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.
 
1 members found this post helpful.
Old 08-01-2020, 09:28 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,246

Rep: Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464
From a terminal run the commands

sudo apt-get autoremove

sudo apt-get autoclean

Does that help?
 
1 members found this post helpful.
Old 08-01-2020, 09:52 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,051
Blog Entries: 17

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Opa3de,

To automatically remove old kernels in the future:

Update Manager > Edit > Preferences > Automation > Remove obsolete kernels & dependencies.
 
2 members found this post helpful.
Old 08-02-2020, 07:36 AM   #10
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
Opa3de,

To automatically remove old kernels in the future:

Update Manager > Edit > Preferences > Automation > Remove obsolete kernels & dependencies.
In this sequence, "automation" and "Remove obsolete....." were not listed as choices. ??
 
2 members found this post helpful.
Old 08-02-2020, 07:43 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,051
Blog Entries: 17

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Opa3de,

That's strange because it shows up fine on my Linux Mint 20 MATE.
 
Old 08-02-2020, 03:54 PM   #12
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
From a terminal run the commands

sudo apt-get autoremove

sudo apt-get autoclean

Does that help?
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.
 
1 members found this post helpful.
Old 08-02-2020, 04:58 PM   #13
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 749

Rep: Reputation: 173Reputation: 173
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.
 
Old 08-07-2020, 09:45 PM   #14
blueicetwice
LQ Newbie
 
Registered: Jul 2020
Posts: 3

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by beachboy2 View Post
Opa3de,

That's strange because it shows up fine on my Linux Mint 20 MATE.
Beachboy, it is in my Mint 19.3. I followed your instructions and made
the change! Frank you, most kindly.
 
Old 08-09-2020, 11:26 AM   #15
Opa3de
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Is possible? link-up between 100 Halt and 100 Full? poplinux Linux - Networking 3 10-07-2014 07:32 PM
clear is hashed (/user/bin/clear) What does it mean? mohammed.hossain Linux - Newbie 1 10-24-2010 07:53 PM
not able to clear the var folder show 100% usage help me? oldnavyboy06 Linux - Networking 1 07-11-2006 05:04 AM
How to clear a std::string buff.clear()? lucky6969b Programming 3 03-17-2006 07:50 AM
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 10:14 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