LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel error (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-error-688246/)

saran_sai 12-04-2008 04:28 AM

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

onebuck 12-04-2008 06:59 AM

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.

saran_sai 12-05-2008 10:43 PM

Kernel problem
 
Quote:

Originally Posted by onebuck (Post 3364162)
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

onebuck 12-06-2008 06:54 AM

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.

saran_sai 12-06-2008 07:08 AM

Kernel problem
 
Quote:

Originally Posted by onebuck (Post 3366297)
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

onebuck 12-06-2008 07:14 AM

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'.

onebuck 12-06-2008 07:18 AM

Hi,

Look at the 'Beginner Linux Guide'.


All times are GMT -5. The time now is 01:26 PM.