How to increase ubuntu 14.04 boot partition size?

My /boot/ partition is 243MB.  I would like to increase it to 500MB but no idea how to.  I am very, very new to Linux, so please don't give me processes to perform, I need exact command lines I can type in.

I have 1TB of physical space, nearly all of it available.  This is a pure ubuntu machine, no Windows, dual boot, etc.
LVL 1
Mike CaldwellConsultant to IP industryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
arnoldCommented:
Post df -k
parted -l

frisk -l

In short you need to use your Ubuntu liveCd and take the risk resizing partitions.
The boot partition is likely a raw ext4 partition.


Presumably you want to do this because you are running out of space?
Delete some of the old kernels
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
Mike CaldwellConsultant to IP industryAuthor Commented:
arnold, I will assume your suggested commands would work.  But I do not want to get into the Live CD concept, and I embrace your recommendation to just delete old kernels.  Earlier today I got help in procedures to do just that, so I accept your suggested commands at face value, and will indeed just keep the old stuff swept out and leave the boot sector as-is.  Thanks for the advice.
0
 
arnoldCommented:
The commands are informational only. I do not make blind recommendations and without seeing how your disk is partitioned and mounted, there is no way to make suggestion.
To resize an existing partition you have to boot the system from a different.
With the boot partition, the other option requires additional space that can be used to create a new primary partition copying the data to it, then adjusting grub.conf to point to a different partition.

The risks are there and the use of a liveCd to correct if thing go wrong needs to be considered.

Please advise if you wish to reasses your point award.
0
 
Mike CaldwellConsultant to IP industryAuthor Commented:
No, thanks; I'll dig out more documentation on what you suggested and learn more by doing so.  I'm an old Windows guy and my sons keep harping on me to "grow up" to Linux.  My Linux machine is my media server, so if I get too bold and mess it up, even for a  day, my wife will go nuts!  When I first posted this my /boot/ literally had zero bytes and I had seven kernel images in it, and when it has zero there is almost nothing one can do with it.  So my instinct was to "just" make it bigger.  Google searches produced page-long copies of code to do this, along with the Live CD thing, so I was looking for something simple.  But now my /boot/ is only 30% full and I know how to clean out back images as new kernels get added, so I really don't need to do this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.