LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-04-2008, 04:28 AM   #1
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
kernel error


hai Friends

I have one major problem in my server.

when server is running iby mistake i am using this command fsck.

then i am getting like error when i restart the system.

mkrootdev: label /1 not found
mount : error 2 mounting ext3
mount : error 2 mounting none
switchroot : mount failed : 22
umount /initrd/dev/ failed : 2
kernel panic - not syncing attempted to kill init .

any solutions pls help me
bye
 
Old 12-04-2008, 06:59 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,832
Blog Entries: 27

Rep: Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130
Hi,

You should perform the 'fsck' as a single user to prevent problems with the filesystem. You can use a LiveCD or the install cd/dvd to then run the 'fsck' on the filesystem in need of maintenance that is not mounted.
 
Old 12-05-2008, 10:43 PM   #3
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Kernel problem

Quote:
Originally Posted by onebuck View Post
Hi,

You should perform the 'fsck' as a single user to prevent problems with the filesystem. You can use a LiveCD or the install cd/dvd to then run the 'fsck' on the filesystem in need of maintenance that is not mounted.


Dear Sir

thank u for u r reply.
i am not understand cleary. now any solution to boot the system.
pls tel me sir.

Once again thank u

bye
 
Old 12-06-2008, 06:54 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,832
Blog Entries: 27

Rep: Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130
Hi,

You can use a LiveCD to boot your system. You would then perform the 'fsck' on the filesystem in question from the command line interface(cli). You should have your install cd/dvd which could be used instead of the 'LiveCD'.

Just remember that when maintenance is required on a 'filesystem' you must be in single user mode so that you are assured no one has access to the filesystem in question when you are performing this action on the filesystem.
 
Old 12-06-2008, 07:08 AM   #5
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Kernel problem

Quote:
Originally Posted by onebuck View Post
Hi,

You can use a LiveCD to boot your system. You would then perform the 'fsck' on the filesystem in question from the command line interface(cli). You should have your install cd/dvd which could be used instead of the 'LiveCD'.

Just remember that when maintenance is required on a 'filesystem' you must be in single user mode so that you are assured no one has access to the filesystem in question when you are performing this action on the filesystem.


Hai

i tried but it show no such partition or file directory.

there is no partition in /root
when i type cd /root
it shows no such file or directory.

bye
 
Old 12-06-2008, 07:14 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,832
Blog Entries: 27

Rep: Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130
Hi,

You are not going to be performing on '/root'.

You would do it on a partition or device which contains your filesystem.

Code:
~#fsck -y /dev/hda1      #this would attempt to correct any 
                         # filesystem errors 
                         #on '/dev/hda1', change to your device
You should 'man fsck'.
 
Old 12-06-2008, 07:18 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,832
Blog Entries: 27

Rep: Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130Reputation: 2130
Hi,

Look at the 'Beginner Linux Guide'.
 
  


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
upgrading Fedora Core 3 kernel 2.6.9-1.667 to 2.6.26.3 manually+kernel panic error LinuxLovinNoob Linux - Newbie 7 12-17-2008 08:45 PM
error when boot the linux kernel:Internal error: Oops: 7 [#1] JammyWei Linux - Embedded & Single-board computer 2 06-25-2008 02:23 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration