LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-15-2007, 01:49 PM   #1
dssrjol
LQ Newbie
 
Registered: Dec 2006
Location: UK
Distribution: F9, FreeNas
Posts: 21

Rep: Reputation: 15
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
 
Old 06-15-2007, 04:37 PM   #2
dssrjol
LQ Newbie
 
Registered: Dec 2006
Location: UK
Distribution: F9, FreeNas
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 06-17-2007, 01:48 AM   #3
wizzywizard
LQ Newbie
 
Registered: Jul 2004
Posts: 19

Rep: Reputation: 0
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
 
Old 06-17-2007, 06:34 AM   #4
Brad.Scalio@noaa.gov
Member
 
Registered: Jan 2007
Location: Washington DC
Distribution: RedHat & spins ... Fedora, CentOS, Mandriva
Posts: 82

Rep: Reputation: 15
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
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
 
  


Reply


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
Upgrade from fc5 to fc6 naveedccsp Fedora 1 10-31-2006 09:50 AM
FC6 beta3 upgrade to Final FC6 thyraios Fedora 1 09-18-2006 07:55 PM
Suse 9.3 upgrade disaster thegreatgatsby SUSE / openSUSE 1 04-23-2005 02:21 AM
AHHH!!! kernel upgrade disaster! axion0917 Linux - General 35 12-11-2003 06:45 AM
glibc upgrade disaster flap Linux - Software 8 05-27-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration