LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in booting Fedora 10 after upgrading from Fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-booting-fedora-10-after-upgrading-from-fedora-9-a-728847/)

mynameisthomas 05-27-2009 09:05 AM

Problem in booting Fedora 10 after upgrading from Fedora 9
 
Hi,

I am a Linux newbie. I recently upgraded fedora 9 to fedora 10 using preupgrade. The whole upgrade process went smoothly and I was able to use Fedora 10.

Later I used yum to update installed packages. But after a reboot, I am unable to boot. I get the following message :

Quote:

Waiting for driver initialization
Loading pata_acpi module
Waiting for driver initialization
Loading ata_genric module
Trying to resume from /dev/sda5
Unable to access resume device (/dev/sda5)
Creating root device
Mounting root filesystem
mount : error mounting /dev/root on /sysroot as ext3 : No such file or directory
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed : No such file or directory
no fstab.sys, mounting internal defaults
setuproot : error mounting /proc : No such file or directory
setuproot : error mounting /sys : No such file or directory
Mount failed for selinuxfs on /selinux : No such file or directory
Switching to new root and running init
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed : No such file or directory
Booting has failed.
Please guide me, how can I fix this problem

Regards

chrism01 05-27-2009 06:46 PM

Well, I know one or two people on this board claim to be able to do upgrades in place, (try the LQ search fn) but the usual advice is that a fresh install is much safer. Most people do this most of the time.
If you took a backup before the upgrade (& you should have), I'd recommend a fresh install.
Fedora is a bleeding edge distro and trying to upgrade as well is very likely to cause issues.
FWIW, RH don't support upgrades across their major versions either http://www.redhat.com/docs/en-US/Red...ted_Notes.html

mynameisthomas 05-29-2009 02:04 AM

I have finally solved this problem.

First I accessed my machine with a Fedora 9 live usb.
I noticed that kernel installed in my upgraded Fedora 10 machine was still that of fedora 9. I have no idea why.

Quote:

vmlinuz-2.6.27.23-78.2.50.fc9.i686
initrd-2.6.27.23-78.2.50.fc9.i686.img
I downloaded Fedora 10 kerenel : kernel-2.6.27.5-117.fc10.i686.rpm and tried to install it with rpm.
But it gave an error that a new and latest kernel in already installed.

I used --oldpackage option with rpm and forced install it.

Then I used mkinitrd -v to create initial ramdisk image.

Rest was a simple change in Grub configuration to use the new vmlinuz-2.6.27.5-117.fc10.i686 to boot.


All times are GMT -5. The time now is 07:33 PM.