LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 11-03-2010, 11:06 PM   #1
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Talking A problem using "preupgrade" and how I solved it


I just ran preupgrade on my F13 system, and discovered a hole in the logic coded in anaconda to discover the location of the "old" system so it can be mounted and a chroot done before the new rpm files are installed.

The problem I had was that, on my system, /boot is on /dev/sdb2 and I have several (old) backup copies of system directories on /dev/sdb1/ while my "real" F13 installation is on /dev/sda7.

preupdate ran fine, creating the /boot/update/ directory and the various rpm files in /var/yum, but, when I rebooted to start the installation, anaconda found the old backup stuff in /dev/sdb1 and "decided" that sdb1 was the location of the installation to be converted to F14. Fortunately, the first thing that the program tried to do was run a backup copy of /etc/fstab made for a different computer. This caused the update to abort, and me to scratch my head about an abort message caused by the system looking for a drive on a different computer. After a few hours digging through the stuff in the /boot/update directory, I finally realized what the problem was, and renamed all the backup stuff in sdb1 to have non-standard names.

When I did that, and rebooted, the preupdate process finished with only a few minor problems with obvious solutions. (Actually, the "minor" problem was that the /dev/sdb2 contents were erased during the cleanup, so the system was unbootable from that location until I restored it. But I normally use the Ubuntu GRUB 2 boot loader for all the distribution on the laptop, so that wasn't too much of a problem. I, of course, keep the old GRUB boot directory in the Fedora file system so kernel updates won't kill my "real" GRUB boot stuff.)
 
Old 11-04-2010, 01:09 PM   #2
x-nc
Member
 
Registered: Feb 2007
Location: VA, USA
Distribution: CentOS, Fedora
Posts: 53

Rep: Reputation: 4
I'm not sure if this would be classified as a hole in the logic or its inability to handle a non-standard configuration but it is something that should be looked at either way. It's good you caught it, PTrenholme. You should run it back up the food chain so that someone can look into how best to handle this kind of situation.
 
  


Reply

Tags
fedora 14


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED: X error with NVIDIA driver: "Graphics card does not have necessary..." ??? tigerflag Linux - Hardware 3 09-26-2009 09:01 PM
can't open default font "fixed" (problem solved,it's so silly) jimmerlin Linux From Scratch 1 11-24-2008 09:24 PM
"Default_pref" problem solved!!! gubak Linux - General 1 06-07-2007 08:21 PM
Proposed solution for "status" (aka "problem solved") indicator demerson3 LQ Suggestions & Feedback 12 04-08-2006 03:15 PM
"perl Makefile.PL" complains about cc & gcc (self solved tip) Raptor Ramjet Slackware 2 09-13-2004 03:24 PM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration