anaconda does not find root for upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem upgrading redhat-9.0 to Fedora Core1, The problem
appears to be that Anaconda is not able to find my root
directory. Therefore, I do not get the option to "upgrade" during the
install process.

I would like to avoid the clean install if at all possible. Here are
some more details. I have the following partitioning setup:

#df -h | grep /dev/hd
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             3.9G  624M  3.1G  17% /
/dev/hda1             485M   14M  447M   3% /boot
/dev/hda6             7.7G  5.0G  2.4G  68% /usr
/dev/hda7             7.7G  2.7G  4.7G  36% /tmp
...

I have grepped around in /usr/lib/anaconda/*.py to find out what is
going on, but I got lost trying to trace the routines.

1. any quick fixes to this problem? Does kickstart have some secret
parameter to tell anaconda where root is? The manual says that kickstart
ignores any partition information given when using the upgrade option,
so I didn't try kickstart yet. I'm also worried that it will nuke my old
partitions if it doesn't find root, never mind --noformat and --onpart :).

2. I can see that upgrade.py uses partedUtils.py and calls

   def findExistingRootPartitions(self, intf, mountpoint):
"""Return a list of all of the partitions which look like a root fs."""
       rootparts = []
	...

   and that it looks for /etc/fstab files and /etc/redhat-release in
   order to qualify root partitions, but I cannot see why it does not
   find them (they do exist).

3. Can I get the anaconda code to run in some trace/debug/verbose mode
  in order to pin down the problem more acurately?

4. Is there some type of dry-run mode for anaconda where I can run it
  from disk on the existsing system to see what is going on?

I've been using redhat since 4.2, but I am not all that sophisticated
about the install process, so if someone could post some hints that
would be very helpful...

Thanks

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral. http://special.msn.com/bcentral/loudclear.armx




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux