Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Nov 10, 2010 12:06 pm 
Offline
Senior Newbie

Joined: Thu Jun 19, 2008 2:28 pm
Posts: 9
I usually use the YUM upgrade procedure for upgrading Fedora releases, but recently upgraded a machine at home using PreUpgrade and it was a much more automated process. The problem with running it on a Linode is that, as part of the upgrade process, it tries to boot into an "upgrade kernel" that invokes the installer, and of course you can't do that on a Linode (or is there a way to do this now? I'ts been awhile since I tried.)

In any event, the preupgrade-cli utility updated grub.conf and tried to boot into the upgrade kernel, but it didn't work, so I'm wondering if anyone has any suggestions on an alternate way to do the upgrade using preupgrade-cli. If not, I'll go back to the more time-consuming YUM upgrade procedure, but I thought I'd ask around to see if there's a quick fix to get the easier (and more rigorously tested) upgrade procedure going.

Thanks.


Top
   
 Post subject:
PostPosted: Fri Feb 18, 2011 1:52 pm 
Offline
Senior Newbie

Joined: Wed Nov 03, 2010 7:11 pm
Posts: 6
Location: Pittsburgh, PA
It is indeed possible to upgrade Fedora via preupgrade-cli on Linode. The one thing that is necessary is to use PV_GRUB for the kernel instead of the default method of using the kernel managed in Xen outside the VM. There are a few forum and Wiki pages that describe how to configure your VM to use PV_GRUB. It's pretty straightforward. The one caveat I encountered with my F13 system was the need to add 'selinux=0' to the kernel command line options in the GRUB config file.

I'd recommend cloning your disks (if you have enough space) just in case. Also, you will need to make sure you have plenty of free space in /boot (a couple hundred megs). Finally, from my experience grubby fails to add a 'root' line to the new kernel config for preupgrade, which will cause the boot into the preupgrade to fail with an Error 21. Just add a 'root' line like exists for your other boot configs (usually 'root hd(0)') and it should work.

Cheers.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group