LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC6 upgrade to F7 disaster (https://www.linuxquestions.org/questions/fedora-35/fc6-upgrade-to-f7-disaster-562081/)

dssrjol 06-15-2007 01:49 PM

FC6 upgrade to F7 disaster
 
Hi I feel I have experienced Fedora meltdown

I have attempted to use the DVD Fedora 7 UPGRADE facility and left with a system that is unbootable and showing multiple kernels.

Thankfully I have backed up my /home folder onto external HDD. But would rather attempt understand and fix this, before a fresh re-install.

I felt I followed all the appropriate steps on the upgrade choices on the installation routine - however I am now presented with a solitary boot screen that indicates:

"Booting Fedora (2.6.20-1.2952.fc6xen)

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /xen.gz-2.6.20-1.2952.fc6

Error 15:File not found

Press any key to continue..."

Fedora 6?? I thought I had upgraded to 7,??, Anyhow...

Pressing the key results in a GNU GRUB version 0.97 window that lists:

Fedora (2.6.20-1.2952.fc6xen)
Fedora-xen (2.6.20-2925.9.fc7xen)
Fedora-base (2.6.20-1.2952.fc6)
Fedora-base (2.6.21-1.3194.fc7)

Selecting any of these DOES NOT boot -

1. Selecting the fc6 kernels just presents the Error 15 screen again

2. Selecting the fc7 kernels displays a number of dmesg messages - but always finishes with:

"setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!"

At which point it just hangs and I have to manually power & reboot.

Please help - I'm completely stuck :scratch:

dssrjol 06-15-2007 04:37 PM

Did a bit of digging- suspected problem was grub related, and used the rescue mode on the DVD and got through to the hdd, using the /mnt/sysimage. Used chroot /mnt/sysimage and found 2 grub.conf files in /boot/grub

The actual grub.conf file I renamed to grub.conf.old and then renamed a grub.conf.rpmsave file to make into the actual grub.conf file.

The result is the system seems to have found and only list the correct (and only 1) kernel of F7......however the problem of:

Quote:

"setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!"
still occurs...therefore still unbootable :cry:

wizzywizard 06-17-2007 01:48 AM

Hi,

Just a thought. I know the new Fedora kernel now sees all hard drive partitions as SCSI SATA drives now and not the old way eg: hda, hdb and so on.

What type of hard drive you using?

Check fstab file to see if they the fstab file is directing disk operations to sda and not hda, by changing this may sort your problem out..

Gordy




Quote:

Originally Posted by dssrjol
Did a bit of digging- suspected problem was grub related, and used the rescue mode on the DVD and got through to the hdd, using the /mnt/sysimage. Used chroot /mnt/sysimage and found 2 grub.conf files in /boot/grub

The actual grub.conf file I renamed to grub.conf.old and then renamed a grub.conf.rpmsave file to make into the actual grub.conf file.

The result is the system seems to have found and only list the correct (and only 1) kernel of F7......however the problem of:



still occurs...therefore still unbootable :cry:


Brad.Scalio@noaa.gov 06-17-2007 06:34 AM

Quote:

Originally Posted by dssrjol
"setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!"

At which point it just hangs and I have to manually power & reboot.

Please help - I'm completely stuck :scratch:

Can you post what comes right before the above messages
These are the final symptoms of a lot of kernel problems on boot

Post what comes after: Uncompressing Linux .....
Otherwise what you posted won't help troubleshoot the problem


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