No space on the boot disk to update kernel2019 Community Moderator Electiondf says I have 20G more disk space used than du. Why?Cannot update new kernel for CentOS 7 although the server have space enoughDisk still full after deleting some filesLost space in LVMUbuntu Server 16.04 filesystem usagebash script which will highlight maximum disk usage line on outputdu not accounting for space shown by dfHow to See Bound Folders and Release ThemHow to know what consumes storage?Grub2 Centos 7 installation from ISO on hard-disk drive
Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?
What would you call a finite collection of unordered objects that are not necessarily distinct?
How to interpret the phrase "t’en a fait voir à toi"?
Giant Toughroad SLR 2 for 200 miles in two days, will it make it?
Why is delta-v is the most useful quantity for planning space travel?
My boss asked me to take a one-day class, then signs it up as a day off
How do ultrasonic sensors differentiate between transmitted and received signals?
Teaching indefinite integrals that require special-casing
Could solar power be utilized and substitute coal in the 19th century?
How can I successfully establish a nationwide combat training program for a large country?
Invariance of results when scaling explanatory variables in logistic regression, is there a proof?
Are Warlocks Arcane or Divine?
Is there a good way to store credentials outside of a password manager?
Lifted its hind leg on or lifted its hind leg towards?
Fast sudoku solver
Stereotypical names
word describing multiple paths to the same abstract outcome
How to prevent YouTube from showing already watched videos?
Simple image editor tool to draw a simple box/rectangle in an existing image
What is the opposite of 'gravitas'?
Pronouncing Homer as in modern Greek
Can a controlled ghast be a leader of a pack of ghouls?
How will losing mobility of one hand affect my career as a programmer?
Java - What do constructor type arguments mean when placed *before* the type?
No space on the boot disk to update kernel
2019 Community Moderator Electiondf says I have 20G more disk space used than du. Why?Cannot update new kernel for CentOS 7 although the server have space enoughDisk still full after deleting some filesLost space in LVMUbuntu Server 16.04 filesystem usagebash script which will highlight maximum disk usage line on outputdu not accounting for space shown by dfHow to See Bound Folders and Release ThemHow to know what consumes storage?Grub2 Centos 7 installation from ISO on hard-disk drive
I have installed centos 7 on vmware and seem to have ran out of space on the boot drive.
Is there a way to add more space without formatting the disk?
[root@centos7 /]# df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 297M 272M 26M 92% /boot
centos disk-usage
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 3 more comments
I have installed centos 7 on vmware and seem to have ran out of space on the boot drive.
Is there a way to add more space without formatting the disk?
[root@centos7 /]# df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 297M 272M 26M 92% /boot
centos disk-usage
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
Please share us the content ofdu -sh /boot/*, normal it takes 150MB Max.
– Mongrel
Jan 28 '16 at 6:39
well,resize2fsis a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs
– SHW
Jan 28 '16 at 6:40
@AngRed Would this suffice ?[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot
– Atul
Jan 28 '16 at 6:41
|
show 3 more comments
I have installed centos 7 on vmware and seem to have ran out of space on the boot drive.
Is there a way to add more space without formatting the disk?
[root@centos7 /]# df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 297M 272M 26M 92% /boot
centos disk-usage
I have installed centos 7 on vmware and seem to have ran out of space on the boot drive.
Is there a way to add more space without formatting the disk?
[root@centos7 /]# df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 297M 272M 26M 92% /boot
centos disk-usage
centos disk-usage
asked Jan 28 '16 at 6:32
AtulAtul
4772722
4772722
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
Please share us the content ofdu -sh /boot/*, normal it takes 150MB Max.
– Mongrel
Jan 28 '16 at 6:39
well,resize2fsis a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs
– SHW
Jan 28 '16 at 6:40
@AngRed Would this suffice ?[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot
– Atul
Jan 28 '16 at 6:41
|
show 3 more comments
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
Please share us the content ofdu -sh /boot/*, normal it takes 150MB Max.
– Mongrel
Jan 28 '16 at 6:39
well,resize2fsis a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs
– SHW
Jan 28 '16 at 6:40
@AngRed Would this suffice ?[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot
– Atul
Jan 28 '16 at 6:41
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
Please share us the content of
du -sh /boot/*, normal it takes 150MB Max.– Mongrel
Jan 28 '16 at 6:39
Please share us the content of
du -sh /boot/*, normal it takes 150MB Max.– Mongrel
Jan 28 '16 at 6:39
well,
resize2fs is a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs– SHW
Jan 28 '16 at 6:40
well,
resize2fs is a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs– SHW
Jan 28 '16 at 6:40
@AngRed Would this suffice ?
[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot– Atul
Jan 28 '16 at 6:41
@AngRed Would this suffice ?
[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot– Atul
Jan 28 '16 at 6:41
|
show 3 more comments
2 Answers
2
active
oldest
votes
Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.
initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64
2
Runningpackage-cleanup --oldkernels --count=2would remove all but the running kernel and the most recent kernel.
– jsbillings
Jan 31 '16 at 12:58
add a comment |
boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.
Or there is another way. From VMware documentation here :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047
For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:
Select the virtual machine from the Inventory.
Click Edit Virtual Machine Settings.
Click Hard Disk.
Click Utilities > Expand, enter the new size, then click Expand.
Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.
add 1G using above steps. using Gparted move your partitions around and resize /boot .
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f258194%2fno-space-on-the-boot-disk-to-update-kernel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.
initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64
2
Runningpackage-cleanup --oldkernels --count=2would remove all but the running kernel and the most recent kernel.
– jsbillings
Jan 31 '16 at 12:58
add a comment |
Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.
initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64
2
Runningpackage-cleanup --oldkernels --count=2would remove all but the running kernel and the most recent kernel.
– jsbillings
Jan 31 '16 at 12:58
add a comment |
Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.
initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64
Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.
initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64
answered Jan 28 '16 at 6:53
MongrelMongrel
2,12331849
2,12331849
2
Runningpackage-cleanup --oldkernels --count=2would remove all but the running kernel and the most recent kernel.
– jsbillings
Jan 31 '16 at 12:58
add a comment |
2
Runningpackage-cleanup --oldkernels --count=2would remove all but the running kernel and the most recent kernel.
– jsbillings
Jan 31 '16 at 12:58
2
2
Running
package-cleanup --oldkernels --count=2 would remove all but the running kernel and the most recent kernel.– jsbillings
Jan 31 '16 at 12:58
Running
package-cleanup --oldkernels --count=2 would remove all but the running kernel and the most recent kernel.– jsbillings
Jan 31 '16 at 12:58
add a comment |
boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.
Or there is another way. From VMware documentation here :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047
For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:
Select the virtual machine from the Inventory.
Click Edit Virtual Machine Settings.
Click Hard Disk.
Click Utilities > Expand, enter the new size, then click Expand.
Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.
add 1G using above steps. using Gparted move your partitions around and resize /boot .
add a comment |
boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.
Or there is another way. From VMware documentation here :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047
For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:
Select the virtual machine from the Inventory.
Click Edit Virtual Machine Settings.
Click Hard Disk.
Click Utilities > Expand, enter the new size, then click Expand.
Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.
add 1G using above steps. using Gparted move your partitions around and resize /boot .
add a comment |
boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.
Or there is another way. From VMware documentation here :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047
For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:
Select the virtual machine from the Inventory.
Click Edit Virtual Machine Settings.
Click Hard Disk.
Click Utilities > Expand, enter the new size, then click Expand.
Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.
add 1G using above steps. using Gparted move your partitions around and resize /boot .
boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.
Or there is another way. From VMware documentation here :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047
For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:
Select the virtual machine from the Inventory.
Click Edit Virtual Machine Settings.
Click Hard Disk.
Click Utilities > Expand, enter the new size, then click Expand.
Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.
add 1G using above steps. using Gparted move your partitions around and resize /boot .
answered Jan 28 '16 at 8:54
Sarfaraz AhmadSarfaraz Ahmad
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f258194%2fno-space-on-the-boot-disk-to-update-kernel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Technically, you can add kernel in any partition and update the grub configuration files accordingly
– SHW
Jan 28 '16 at 6:34
I am actually trying to update the system via yum and new update for kernel is available. Would it be possible to add more space to exising /dev/sda1 ? This would also help me utilize space going forth
– Atul
Jan 28 '16 at 6:35
Please share us the content of
du -sh /boot/*, normal it takes 150MB Max.– Mongrel
Jan 28 '16 at 6:39
well,
resize2fsis a command to extend the size of a partition. but it will do when some conditions met. RTFM of resize2fs– SHW
Jan 28 '16 at 6:40
@AngRed Would this suffice ?
[root@centos7 /]# du -h /boot 4.0K /boot/grub 0 /boot/grub2/themes/system 0 /boot/grub2/themes 2.4M /boot/grub2/i386-pc 3.3M /boot/grub2/locale 2.5M /boot/grub2/fonts 8.1M /boot/grub2 256M /boot– Atul
Jan 28 '16 at 6:41