LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-11-2007, 08:06 AM   #1
kgandhi5
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
kernel panic - not syncing


Hello,
When i boot my system i get this message:
mount:could not find filesystem '/dev/root'
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!
I tried to update my system & then it stopped working.
Please let me know the recovery methods to solve this problem & bring my system back to working.
 
Old 11-11-2007, 08:22 AM   #2
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
What kind of upgrade?

It seems like you kernel is not able to mount the file system.
If you updated/compile the kernel did you update you grub/lilo too?
What distribution are you using? some come with a installation cd(kernel in it) and you can boot system from those cds'
And try doing file system check.
 
Old 11-11-2007, 10:03 AM   #3
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
Hi,

it seems that it is a filesystem support error...have you compiled your own kernel with the update?
what kind of filesystem do you use for your root partition "/" ?
you must make sure this filesystem is supported in your kernel, not as a module, but compiled with it.

what if you boot on your previous kernel? (the one you had before you ugrapde) it shouldn't have been erased.
also, it may help if you post your grub or lilo configuration.
 
Old 11-11-2007, 11:12 AM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
setuproot and switchroot seems to be an initrd problem. Did you make sure to replace your old initrd when you upgraded your kernel?
 
Old 11-11-2007, 11:43 AM   #5
kgandhi5
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knockout_artist View Post
What kind of upgrade?

It seems like you kernel is not able to mount the file system.
If you updated/compile the kernel did you update you grub/lilo too?
What distribution are you using? some come with a installation cd(kernel in it) and you can boot system from those cds'
And try doing file system check.
Hello,
Thanks for your reply.
I am using Fedora7 with dual boot & i was adding new additional hdd with new partition. i checked it showed me both hdd in fdisk 40 & 80 ide. i created one 40gb extended partition & then i used these cmds,
[root]# fdisk /dev/hdd1
[root]# mkfs -t ext3 /dev/hdd1.
then it gave error & now system is not booting.
i used rescue linux mode but when it comes to searching fedora core installation it gives me error :
An error occurred trying to mount some or all of your system. some of it may be mounted under /mnt/sysimage. it goes to shell prompt.
what to do next, should i reinstall or try other rescue opts.

----------------------------------------------------------------------
 
Old 12-08-2007, 09:48 PM   #6
lakshaya
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Question Boot Problem

Hello,
When i boot my system i get this message:
mount:could not find filesystem '/dev/root'
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!
I tried to update my system & then it stopped working.
Please let me know the recovery methods to solve this problem & bring my system back to working.[/QUOTE]
 
  


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
Kernel Panic (!) - not syncing Andknig Linux - General 2 09-14-2006 12:15 PM
kernel panic - not syncing gentoo_user Linux - Hardware 1 06-01-2006 08:48 PM
Kernel panic - not syncing carboncopy Slackware 9 12-13-2005 05:53 AM
Kernel panic-not syncing MRDucks Mandriva 2 11-04-2005 06:57 PM
Kernel panic - not syncing darkarcon2015 Slackware 7 11-01-2005 09:02 PM


All times are GMT -5. The time now is 09:43 AM.

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