my boot grub is full again. how can i get rid of the junk
I went through this before, and need to do it again. I need to know what to do to stop all the new stuff from downloading!
Gabrielle Grower
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi Gabi. I think it could be problem related with the Linux kernel packages. Please check/show us a results of the 'dpkg -l |grep linux-image' [1] command (run without quotes!).
Best regards.
_____________
[1] it could be also 'dpkg -l |grep linux-image |wc -l' command.
Revision history for this message
|
#2 |
Have you tried going through this procedure again?
Revision history for this message
|
#3 |
Uninstall old kernels. Why are you using a separate /boot partition? It is not needed now.
Revision history for this message
|
#4 |
Dear Gabrielle,
The problem is not "to stop all the new stuff from downloading". These are regular error corrections priovided for download, and you should not prevent them from installing. The solution to your problem must be that whenever you get a new kernel update installed, you have to remove the older version that is now obsolete.
Please open a terminal ad issue the following commands:
df -h
df -i
ls -l /boot
dpkg -l | grep linux-image
dpkg -l | grep linux-head
Then copy/paste all output, using the same process as half a year ago for https:/
Revision history for this message
|
#5 |
i-Q500A:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/
udev 2.9G 4.0K 2.9G 1% /dev
tmpfs 1.2G 856K 1.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.9G 148K 2.9G 1% /run/shm
none 100M 16K 100M 1% /run/user
/dev/sda1 228M 197M 20M 92% /boot
gabi@gabi-Q500A:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/
udev 747771 523 747248 1% /dev
tmpfs 750168 450 749718 1% /run
none 750168 4 750164 1% /run/lock
none 750168 5 750163 1% /run/shm
none 750168 14 750154 1% /run/user
/dev/sda1 124496 297 124199 1% /boot
gabi@gabi-Q500A:~$ ls -l /boot
total 196913
-rw-r--r-- 1 root root 852420 Jun 19 2013 abi-3.5.
-rw-r--r-- 1 root root 852910 Jul 8 2013 abi-3.5.
-rw-r--r-- 1 root root 853021 Aug 13 14:56 abi-3.5.
-rw-r--r-- 1 root root 853195 Aug 21 21:21 abi-3.5.
-rw-r--r-- 1 root root 853336 Sep 11 12:02 abi-3.5.
-rw-r--r-- 1 root root 853336 Oct 1 20:00 abi-3.5.
-rw-r--r-- 1 root root 853401 Oct 23 08:25 abi-3.5.
-rw-r--r-- 1 root root 853401 Nov 12 14:59 abi-3.5.
-rw-r--r-- 1 root root 148133 Jun 19 2013 config-
-rw-r--r-- 1 root root 148148 Jul 8 2013 config-
-rw-r--r-- 1 root root 148148 Aug 13 14:56 config-
-rw-r--r-- 1 root root 148148 Aug 21 21:21 config-
-rw-r--r-- 1 root root 148148 Sep 11 12:02 config-
-rw-r--r-- 1 root root 148148 Oct 1 20:00 config-
-rw-r--r-- 1 root root 148148 Oct 23 08:25 config-
-rw-r--r-- 1 root root 148148 Nov 12 14:59 config-
drwxr-xr-x 5 root root 1024 Dec 3 14:16 grub
-rw-r--r-- 1 root root 15957370 Aug 5 11:18 initrd.
-rw-r--r-- 1 root root 16019255 Aug 5 11:18 initrd.
-rw-r--r-- 1 root root 16020346 Aug 24 11:39 initrd.
-rw-r--r-- 1 root root 16020154 Sep 8 12:03 initrd.
-rw-r--r-- 1 root root 16020609 Sep 29 10:47 initrd.
-rw-r--r-- 1 root root 16021671 Oct 28 11:05 initrd.
-rw-r--r-- 1 root root 16019924 Nov 11 16:59 initrd.
-rw-r--r-- 1 root root 16022102 Dec 3 14:16 initrd.
drwxr-xr-x 2 root root 12288 Feb 22 2013 lost+found
-rw-r--r-- 1 root root 176764 Jan 3 2013 memtest86+.bin
-rw-r--r-- 1 root root 178944 Jan 3 2013 memtest86+
-rw------- 1 root root 2902541 Jun 19 2013 System.
-rw------- 1 root root 2902836 Jul 8 2013 System.
-rw------- 1 root root 2903704 Aug 13 14:56 System.
-rw------- 1 root root 2904355 Aug 21 21:21 System.
-rw------- 1 root root 2904635 Sep 11 12:02 System.
-rw------- 1 root root 2904635 Oct 1 20:00 System.
-rw------- 1 root root 2904657 Oct 23 08:25 System.
-rw------- 1 root root 2904678 Nov 12 14:59 System.
-rw------- 1 root root 5129680 Jun 19 2013 vmlinuz-
-rw------- 1 root root 5130320 Jul 8 2013 vmlinuz-
-rw------- 1 root root 5131856 Aug 13 14:56 vmlinuz-
-rw------- 1 root root 5133136 Aug 21 21:21 vmlinuz-
-rw------- 1 root root 5133360 Sep 11 12:02 vmlinuz-
-rw------- 1 root root 5133360 Oct 1 20:00 vmlinuz-
-rw------- 1 root root 5133328 Oct 23 08:25 vmlinuz-
-rw------- 1 root root 5135056 Nov 12 14:59 vmlinuz-
gabi@gabi-Q500A:~$ dpkg -l | grep linux-image
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-generic 3.5.0.44.60 amd64 Generic Linux kernel image
gabi@gabi-Q500A:~$ dpkg -l | grep linux-head
ii linux-headers-
gabi@gabi-Q500A:~$
gabi@gabi-Q500A:~$
Revision history for this message
|
#6 |
sudo apt-get --purge remove linux-image-
sudo apt-get --purge autoremove
Will clear lots of space.
Revision history for this message
|
#7 |
Thank you again so much!! Problem solved!!!! I've saved the commands for next time.
Thank you,
Gabrielle Grower
Revision history for this message
|
#8 |
Dear Gabrielle, I am sorry that I have to disillusion you a bit.
The command that actionparsnip has given, helped well in the current situation, but it will not solve similar problems in future (because the numbers of the packages to remove will be different).
I recommand that you install ubuntu-tweak and use it regularly (say once a month) to check if there are old kernels shown in the janitor, and then remove them.
open a terminal and issue the following commands for installation (only needed once):
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
Then start ubuntu-tweak, switch to the 'Janitor' tab, click on 'Old kernel' in the left column and finally select all old kernels and header files on the right hand side (maybe except the ones with the highest number for backup purposes) and finally start the real cleanup.
see also http://
Revision history for this message
|
#9 |
Manfred,
Everything went well until I closed the computer. When it came on today all I get is the Asus black page, and then the MEMTEST86, V4.20. And it never goes off! I can't boot up at all. Help!!!!!
Gabrielle Grower
<email address hidden>
-----Original Message-----
From: Manfred Hampl <email address hidden>
To: ggrower123 <email address hidden>
Sent: Fri, Jan 10, 2014 2:36 am
Subject: Re: [Question #241917]: my boot grub is full again. how can i get rid of the junk
Your question #241917 on Ubuntu changed:
https:/
Manfred Hampl posted a new comment:
Dear Gabrielle, I am sorry that I have to disillusion you a bit.
The command that actionparsnip has given, helped well in the current
situation, but it will not solve similar problems in future (because the
numbers of the packages to remove will be different).
I recommand that you install ubuntu-tweak and use it regularly (say once
a month) to check if there are old kernels shown in the janitor, and
then remove them.
open a terminal and issue the following commands for installation (only needed
once):
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
Then start ubuntu-tweak, switch to the 'Janitor' tab, click on 'Old
kernel' in the left column and finally select all old kernels and header
files on the right hand side (maybe except the ones with the highest
number for backup purposes) and finally start the real cleanup.
see also http://
ubuntu-
--
You received this question notification because you asked the question.
Revision history for this message
|
#10 |
It might be that you have erroneously deinstalled _all_ kernel packages instead of all but the current one or two.
Just to re-check:
When you boot your computer, for a short period you see an ASUS welcome screen, and the next thing you see is a screen with "Grub ..." in the title, and a selection possibility that shows only memtest and nothing about Ubuntu?
Is that the case?
Revision history for this message
|
#11 |
Yes Manfred,
What have I done?
Gabrielle
Revision history for this message
|
#12 |
It seems that you by error have deinstalled all versions of the kernel package, instead of keeping the newest one or two. You are not the first person who did that.
For repairing that, you have to do parts of a re-installation of Ubuntu. For that task you need an Ubuntu installation kit.
Do you have an Ubuntu installation DVD available, or an USB stick with the installation kit?
Do you have much personal data on the Ubuntu system that you want not to lose?
In one of your other question documents you wrote about "a guy named eric put Ubuntu 12.10 ony my computer at a computer shop". Do you see the possibility to ask for professional (and probably to be paid) support?
Revision history for this message
|
#13 |
Thank you Manfred. I ordered a 12.04 installation disc on ebay, and when it arrives, I will have have it put on professionally>
Thanks for everything!
Gabrielle Grower
Can you help with this problem?
Provide an answer of your own, or ask Gabrielle Grower for more information if necessary.