Fedora Linux Support Community & Resources Center
  #1  
Old 17th November 2009, 09:01 PM
DZ* Offline
Registered User
 
Join Date: Jul 2008
Posts: 67
unknownunknown
Preupgrade and F12: boot partition is too small

It appears that the default boot partition is too small for F12 preupgrade:
https://fedorahosted.org/fesco/ticket/270

Did anyone try to see if enough space is freed by following these steps? :
http://fedoraproject.org/wiki/PreUpg...ace_in_.2Fboot

Namely,
1. Leave only 1 kernel
2. tune2fs -r 0 /dev/xxx
3. remove /boot/efi and splash.xpm.gz

"preupgrade now requires at least 167MB" means more space could be needed,
and I'm unclear if the above is sufficient.

Last edited by DZ*; 17th November 2009 at 09:23 PM. Reason: fix typos
Reply With Quote
  #2  
Old 19th November 2009, 05:16 PM
benvon Offline
Registered User
 
Join Date: Nov 2009
Posts: 2
windows_xp_2003safari
After doing all these steps, I was finally able to get the preupgrade to work.
Reply With Quote
  #3  
Old 19th November 2009, 06:18 PM
mennamorato Offline
Registered User
 
Join Date: Nov 2009
Posts: 4
macossafari
/boot partition too small for preupgrade to F12

After a lot of frustration with this... i removed the logical volume partitions that F11 created when i had installed that. Then created custom partition with a larger /boot (1G since i have tons of space what the heck...). Then preupgrade worked - almost ... now im hung up at the very end of "verifying everything" and some traceback and error messages come up about the repository, even though i have a /boot/upgrade/install.img and kernel.
Reply With Quote
  #4  
Old 19th November 2009, 06:23 PM
DZ* Offline
Registered User
 
Join Date: Jul 2008
Posts: 67
unknownunknown
Quote:
Originally Posted by benvon View Post
After doing all these steps, I was finally able to get the preupgrade to work.
Was it a 32 or 64 bit upgrade?
I'm guessing that 64 bit files might be larger...
Reply With Quote
  #5  
Old 19th November 2009, 06:24 PM
mennamorato Offline
Registered User
 
Join Date: Nov 2009
Posts: 4
macossafari
64-bit, good point

Edit: now..how do i get past the very last hurdle? i should be able to do a 'hard disk install' now right ?
Reply With Quote
  #6  
Old 3rd December 2009, 02:42 PM
benvon Offline
Registered User
 
Join Date: Nov 2009
Posts: 2
linuxfedorafirefox
Yes, 64-bit.
Reply With Quote
  #7  
Old 3rd December 2009, 04:43 PM
mennamorato Offline
Registered User
 
Join Date: Nov 2009
Posts: 4
macossafari
works now..

to fix this btw...after making the boot dir larger i did a complete sw upgrade on F11 then finally "preugrade" to F12 worked fine..
Reply With Quote
  #8  
Old 8th December 2009, 07:22 AM
markdk Offline
Registered User
 
Join Date: Jan 2009
Location: New Zealand
Posts: 62
windows_xp_2003firefox
Seems to be a common prob. I guess the Fedora default filesystem layout does not take into account that anyone may actually want to upgrade using preupgrade, or I suppose any other method other than a clean install.

On my FC11 machine as noted in earlier posts deleting everything not required to boot gives just enough space to preupgrade. Eventually worked fine.

My poor FC10 machine didn't have a chance, /boot was smaller there.
I got round it with lots of google'ing to figure out how to use resize2fs, lvresize, pvresize, parted to zap the /dev/sdaN to a smaller size etc, then using clonezilla to back up the smaller partition assigned to LVM.
Then deleting all LVMs, using parted and resize2fs to enlarge /boot and create a new /dev/sdaN to restore into, and restoring the smaller LVM partition backed up by clonezilla. Then mucking about to grow the restored LVM pv/vg/lv to use what was left again.

Lots of hassle. Went and redid the exercise on the FC11->FC12 machine where preupgrade worked as well to avoid probs when FC13,14,15... appears. All my /boot filesystems are 2Gb+ now.

It was a lot of hassle; don't know why the default filesystem layouts make /boot too small to use preupgrade, but if the defaults were a decent size to start with nobody would have probs using preupgrade.

Would be nice if the default filesystem layout on fresh installs didn't use the smallest space needed for /boot for that Fedora version.
I guess going forward if anyone knows anybody about to start a fresh install just shout at them not to use the defaults for filesystem layout and make /boot at least a couple of GB.
Reply With Quote
  #9  
Old 8th December 2009, 01:05 PM
alexuk Offline
Registered User
 
Join Date: Aug 2008
Location: London, UK
Posts: 69
windows_xp_2003firefox
Quote:
Originally Posted by markdk View Post
I guess going forward if anyone knows anybody about to start a fresh install just shout at them not to use the defaults for filesystem layout and make /boot at least a couple of GB.
I think F12 makes /boot approx 500MB
Reply With Quote
  #10  
Old 8th December 2009, 03:59 PM
mennamorato Offline
Registered User
 
Join Date: Nov 2009
Posts: 4
macossafari
YES exactly...tell people to not use default sizes and make it much bigger !
Reply With Quote
Reply

Tags
boot, f12, partition, preupgrade, small

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, Upgrades and Live Media 3 17th November 2009 11:11 PM
How much space does preupgrade require in /boot/upgrade? jimwrightbe Installation, Upgrades and Live Media 6 20th September 2009 12:06 AM
black screen in preupgrade from fedora 10 on boot (anaconda) j0n!-Sn!p3r Installation, Upgrades and Live Media 1 11th September 2009 06:01 PM
[SOLVED] /boot partition option with preupgrade? sdlor Installation, Upgrades and Live Media 2 10th June 2009 02:40 AM
preupgrade will increase space needs in /boot? marko Installation, Upgrades and Live Media 1 20th April 2008 06:21 AM


Current GMT-time: 16:00 (Saturday, 25-10-2014)

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
Hoxtolgay Travel Photos on Instagram - Novozybkov Photos on Instagram - Mocoa