Fedora Linux Support Community & Resources Center
  #1  
Old 3rd December 2011, 02:59 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
How to get more space on /boot

I am trying to upgrade my laptop from 32-bit Fedora 15 to 32-bit Fedora 16. I tried preupgrade, but it came up with a message that /boot did not have enough space. I went to a DVD installer, but get the same message. This same problem happened on one of my VirtualBox VMs, and I wound up totally trashing the VM and still not getting it to work.

I have removed all kernels except one. On the VM I even removed that one, and it still would not work. The VM is now unbootable - totally lost.

I am not going to make the laptop unbootable. The VM is a crash-test dummy which I can (and often do) totally trash out. The laptop is a working computer which would take days to rebuild from scratch.

The /boot partition has 194 meg of space, of which about 28 meg is used. The DVD installer says I need 3 meg more space.

What can I delete in /boot that will NOT render the computer unbootable?

Thanks - Bill Gee
Reply With Quote
  #2  
Old 3rd December 2011, 03:09 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: How to get more space on /boot

Run this, it should give you at least 4Mb


Code:
su
dracut -v -f -H  /boot/initramfs-$(uname -r).img $(uname -r)
Reply With Quote
  #3  
Old 3rd December 2011, 07:09 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

Hi Leigh -

Thanks, that worked nicely.

Now I have a new problem ... After completing the F16 upgrade from DVD, the system will not run "yum update". It gets through all the package downloads (over 900 meg!!!), then fails when running the transaction check. There are many, many lines of errors. Here are the first few:

Code:
ERROR with transaction check vs depsolve:
libmtp = 1.0.6-5.fc15 is needed by (installed) libmtp-hal-1.0.6-5.fc15.i686
Please report this error in http://yum.baseurl.org/report
**Found 51 pre-existing rpmdb problem(s), 'yum check' output follows:
GConf2-gtk-2.32.3-1.fc15.i686 has missing requires of GConf2 = ('0', 2.32.3', '1.fc15')
This goes on for several screens.

Now what? I tried "package-cleanup --orphans", but that did not change anything.

Thanks - Bill Gee
Reply With Quote
  #4  
Old 3rd December 2011, 07:19 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 551
linuxredhatmozilla
Re: How to get more space on /boot

The procedure is written here:
http://fedoraproject.org/wiki/Upgrad...dora_using_yum

You need to do:
Code:
yum update yum
yum clean all
yum --releasever=16 --disableplugin=presto distro-sync
__________________
:confused:
Reply With Quote
  #5  
Old 3rd December 2011, 07:44 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

Hi Skull One -

Hmmm ... I ran the first command "yum update yum" and got a reply "No packages marked for Update." I think this means yum is already up to date.

Reviewing the link you posted, I think it does not apply to me. The link describes how to do a version upgrade with yum. In my case the version upgrade is already done ... It's too late to do it with yum. What I need to do is bring the *current* version up to date.

Am I missing something else in your reply?

Thanks - Bill Gee
Reply With Quote
  #6  
Old 3rd December 2011, 08:03 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: How to get more space on /boot

Quote:
Originally Posted by CrazyCaver View Post
Hi Skull One -

Hmmm ... I ran the first command "yum update yum" and got a reply "No packages marked for Update." I think this means yum is already up to date.

Reviewing the link you posted, I think it does not apply to me. The link describes how to do a version upgrade with yum. In my case the version upgrade is already done ... It's too late to do it with yum. What I need to do is bring the *current* version up to date.

Am I missing something else in your reply?

Thanks - Bill Gee

dist-sync may clear the package errors
Reply With Quote
  #7  
Old 4th December 2011, 12:50 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 551
linuxredhatmozilla
Re: How to get more space on /boot

Quote:
Originally Posted by CrazyCaver View Post
Hi Skull One -

Hmmm ... I ran the first command "yum update yum" and got a reply "No packages marked for Update." I think this means yum is already up to date.

Reviewing the link you posted, I think it does not apply to me. The link describes how to do a version upgrade with yum. In my case the version upgrade is already done ... It's too late to do it with yum. What I need to do is bring the *current* version up to date.

Am I missing something else in your reply?

Thanks - Bill Gee
Sorry for that, you are in a case similar to 'using preupgrade'.

The commands are standard after an upgrade:
- be sure to have the latest yum;
- clean all the cache;
- sync the packages to the distribution. You could just use 'yum --disableplugin=presto distro-sync'.

As Leigh said, this will solve the errors.
__________________
:confused:
Reply With Quote
  #8  
Old 4th December 2011, 01:01 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

Hi Leigh and SkullOne -

That did not work. I ran the yum commands you gave and the system downloaded a complete new set of packages. However, it failed at the same point with the same error.

Just for grins, I tried "yum remove libmtp". It wants to remove amarok and rythmbox for dependencies. Those are not big deals for me. I did not go ahead with the removal because I am not sure it will fix the other 51 dependency errors.

Any idea what I should try next?

Thanks - Bill Gee
Reply With Quote
  #9  
Old 4th December 2011, 01:06 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: How to get more space on /boot

Quote:
Originally Posted by CrazyCaver View Post
Hi Leigh and SkullOne -

That did not work. I ran the yum commands you gave and the system downloaded a complete new set of packages. However, it failed at the same point with the same error.

Just for grins, I tried "yum remove libmtp". It wants to remove amarok and rythmbox for dependencies. Those are not big deals for me. I did not go ahead with the removal because I am not sure it will fix the other 51 dependency errors.

Any idea what I should try next?

Thanks - Bill Gee

Post the complete error output.
Reply With Quote
  #10  
Old 4th December 2011, 01:13 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 551
linuxredhatmozilla
Re: How to get more space on /boot

Try adding '--skip-broken' for a first update, and '--obsoletes' for a second one.
__________________
:confused:
Reply With Quote
  #11  
Old 4th December 2011, 01:44 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

OK, you asked for it ... Here is the complete yum transaction. The command line for this was:

yum --releasever=16 --disableplugin=presto distro-sync --skip-broken

Due to size - over 130K - I am trying this as an attached file rather than inline text.

Bill Gee
Attached Files
File Type: txt yum-upgrade-error.txt (130.1 KB, 46 views)
Reply With Quote
  #12  
Old 4th December 2011, 02:11 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: How to get more space on /boot

Can you post


Code:
yum --releasever=16 update *\boost\*
Reply With Quote
  #13  
Old 4th December 2011, 03:09 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

Hi Leigh -

No joy ... Yum installed 18 packages updating various boost components. After that I tried the regular yum update again, and it gave the same errors I have already posted.

Thanks - Bill Gee
Reply With Quote
  #14  
Old 4th December 2011, 03:14 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: How to get more space on /boot

Quote:
Originally Posted by CrazyCaver View Post
Hi Leigh -

No joy ... Yum installed 18 packages updating various boost components. After that I tried the regular yum update again, and it gave the same errors I have already posted.

Thanks - Bill Gee

You need to post the output for this command each time.

Code:
yum --releasever=16 --disableplugin=presto distro-sync
Reply With Quote
  #15  
Old 4th December 2011, 03:40 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: How to get more space on /boot

Umm..... OK - but it did not change.

Bill Gee

---------- Post added at 09:40 AM ---------- Previous post was at 09:38 AM ----------

Oops, missed the attached file.

Dammit, won't let me attach the file! I get a message that I have already uploaded it.

Last edited by CrazyCaver; 4th December 2011 at 03:43 PM.
Reply With Quote
Reply

Tags
or boot, space

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preupgrade - Not enough space in /boot (F12->13) Burlesque Using Fedora 22 30th May 2010 09:50 AM
Yum complaining about lack of space on /boot Anztac Using Fedora 2 21st January 2010 02:27 AM
What to do about low space in /boot during installation ednorm Hardware & Laptops 10 3rd January 2010 11:38 AM
preupgrade will increase space needs in /boot? marko Installation and Live Media 1 20th April 2008 06:21 AM


Current GMT-time: 12:30 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat