Fedora Linux Support Community & Resources Center
  #1  
Old 18th November 2009, 10:37 PM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,145
linuxfedorafirefox
Space needed for preupgrade

My laptop currently has F 11, with /boot on a separate, ext3 partition. After running kernel.py, I have 156MB free out of 196. Does anybody know if that's enough? If not, would it be safe to use gparted from a CD to adjust things? (I have /home on its own partition, so if everything mucks up, the important stuff's still there. Besides, it's not my main box.)
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #2  
Old 18th November 2009, 11:01 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
I'm not sure 40Mb is enough, try deleting your obsolete F11 kernels.
Reply With Quote
  #3  
Old 18th November 2009, 11:43 PM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,145
linuxfedorafirefox
I downloaded and ran kernel-prune.py and there was no output. Checking, I have exactly three kernels taking up 9.4M, plus whatever other files are associated with them. Is there a way to tell yum to trim me down to the newest kernel, without making it permanent?
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #4  
Old 18th November 2009, 11:46 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Quote:
Originally Posted by sidebrnz View Post
I downloaded and ran kernel-prune.py and there was no output. Checking, I have exactly three kernels taking up 9.4M, plus whatever other files are associated with them. Is there a way to tell yum to trim me down to the newest kernel, without making it permanent?
I would use rpm to remove the older kernels ( just leave one )


Code:
rpm -qa |grep kernel

and use rpm -e to remove the two oldest kernels
Reply With Quote
  #5  
Old 19th November 2009, 04:27 AM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,145
linuxfedorafirefox
Now posting from the laptop, for convenience. Grump! I need 12 Meg. Not sure if that's enough, but there's a few other suggestions as well.

BTW, there's more coming out of that grep than you'd expect. To limit it to exactly what I need, I ran this:

uname -r
rpm -qa | grep kernel-PAE-2

because that got rid of everything except what I needed. I also used the tune2fs suggestion and got rid of /boot/efi and all its contents. Now, 39 M free. will try again...

Edit: This worked. All OK now.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #6  
Old 19th November 2009, 07:35 AM
jflesher's Avatar
jflesher Offline
Registered User
 
Join Date: May 2007
Location: USA
Age: 52
Posts: 258
linuxfedorafirefox
More space

I had the same issue; I uninstalled the some old kernels and went from needing 16mb, to 8mb, then un-install kmod and another old kernel and got to 0mb, now my question is 0mb needed?

Seems like it doesn't need any more space, yet it still fails.

I think preupgrade needs to uninstall old kernels and kmods as part of its run time and give you more options to clean up space.

Update:
I just tired upgrading from a DVD and got the same error.

I might add this isn't a lap top; so it would seem it doesn't mater.

The error I'm getting is:

You need more space on the following systems:
0 M on /mnt/sysimage/boot

Seems like a bug:
http://fedoraproject.org/wiki/PreUpg...ace_in_.2Fboot
__________________
A Binary Bit lost in Binary Bit LAN
Vets Help Center
My Smolt Profile

Last edited by jflesher; 19th November 2009 at 08:09 AM. Reason: update
Reply With Quote
  #7  
Old 19th November 2009, 01:11 PM
alexuk Offline
Registered User
 
Join Date: Aug 2008
Location: London, UK
Posts: 69
linuxfedorafirefox
Exactly same problem here. The install was a pervious upgrade to F11 from F10 - wonder whether this played a part? Freed up quite a bit of space in /boot.
Reply With Quote
  #8  
Old 19th November 2009, 07:18 PM
jflesher's Avatar
jflesher Offline
Registered User
 
Join Date: May 2007
Location: USA
Age: 52
Posts: 258
linuxfedorafirefox
I deleted the update folder in boot and installed from a DVD, just need to do some tweaks now, but I'm back up and running. I'll play with this some more on another computer.

I did a fresh install from F11 prior to this, so I don't think F10 upgrade is a player, I think that if I did a fresh install of F12 all would have been ok; I might still do that.
__________________
A Binary Bit lost in Binary Bit LAN
Vets Help Center
My Smolt Profile
Reply With Quote
  #9  
Old 20th November 2009, 12:10 AM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,832
linuxfedorafirefox
if you make sure to use the updated version of preupgrade that the common bugs page recommends, its space calculation should be accurate. i.e. it should correctly tell you whether you have enough space available for preupgrade to succeed or not.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #10  
Old 20th November 2009, 12:21 AM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,145
linuxfedorafirefox
I can't speak for anybody else, but I had yumex update my F 11 system just before running preupgrade, so I should have had the latest and greatest. In the end, using rpm to remove my two older kernels and /boot/efi and all its contents did the trick. I'm not worried about my desktop, because it's ext3 and there's not a separate /boot partition. Thanx for the update, however, because it might keep somebody else from getting stuck.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #11  
Old 20th November 2009, 03:39 AM
jflesher's Avatar
jflesher Offline
Registered User
 
Join Date: May 2007
Location: USA
Age: 52
Posts: 258
linuxfedorafirefox
I had the latest updates also; I had a 200MB boot partition and had 27MB free and it still would not start.
__________________
A Binary Bit lost in Binary Bit LAN
Vets Help Center
My Smolt Profile
Reply With Quote
  #12  
Old 20th November 2009, 06:34 AM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,832
linuxfedorafirefox
'the latest and greatest' ain't late enough - until about an hour ago, the update was only in updates-testing. the common bugs page _does_ explain very carefully how to install from there, though. if you just installed the 'latest' from updates, up till tomorrow, you still have the old one.

(the new one has been promoted to updates now and that will trickle through onto mirrors tomorrow I guess).
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #13  
Old 23rd November 2009, 08:19 AM
jflesher's Avatar
jflesher Offline
Registered User
 
Join Date: May 2007
Location: USA
Age: 52
Posts: 258
linuxfedorafirefox
I just did a successful preupgrade on a 32 bit Intel 3.0, its has an old Gforce MX 4000, upgrade went smooth.

I followed these steps http://fedoraproject.org/wiki/PreUpg...ace_in_.2Fboot

did a package-cleanup --oldkernels

then did a rpm -qa | grep kernal and manually delete another old kernel after manually removing a akmod

then I enabled all the testing repo's: fedora-updates-testing.repo, rpmfusion-free-updates-testing.repo and rpmfusion-nonfree-updates-testing.repo and then did a yum update
__________________
A Binary Bit lost in Binary Bit LAN
Vets Help Center
My Smolt Profile
Reply With Quote
Reply

Tags
needed, preupgrade, 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 on F12 boot space problem. richk Installation and Live Media 3 17th November 2009 11:11 PM
How much space does preupgrade require in /boot/upgrade? jimwrightbe Installation and Live Media 6 20th September 2009 12:06 AM
preupgrade will increase space needs in /boot? marko Installation and Live Media 1 20th April 2008 06:21 AM
space needed for fedora 5 ekdya Installation and Live Media 3 8th September 2006 06:11 PM


Current GMT-time: 06:18 (Tuesday, 18-06-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