Results 1 to 4 of 4
Thread: Kernel Panic in centos -6.2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2012
Kernel Panic in centos -6.2
I have Centos-6.2 on my system(P-4,1GB RAM, 80GB hdd).While working on my system I just face one problem my all folder get symbol of lock so I go for open terminal but my terminal is also not opened.So I shut down my pc without proper way.After restart my system I got shell prompt.their is one message (Give root password or press Ctrl-d)
so I give my password I got root system#rompt which is saying run fsck manually without -a -p so I run this option and again restart my system.In single mode user Here on root prompt I just type fsck -t ext3 /dev/sda3 and press enter that time I got warning message that checking mounted filesystem may damage your filesystem but I ignor the warning and I start file checking and pressing Enter continously. after some time I restart my computer and when I try to start in normal mode that time I got following error.
mount:/dev/sda3 already mounted or /sysroot busy
according to mtab,/dev/sda3 is already mounted on /syroot.
I know I myself created this problem by forcefully checking mounted filesystem but after this I try take another hard disk in that harddisk I have Ubuntu 12.04 LTS I start ubuntu in single user mode and here when I try to mount the centos root partition (i.e mount -t ext3 /dev/sda3 /media) in ubuntu that time I got message on prompt as follow
mount: mount point /mount does not exist
root kiran-System-Name:/# mount -t ext3 /dev/sda3 /media
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
After this when I try to check file system by(fsck this is also not working)
Then after this I start my system in normal mode and when Idouble click on my centos root partition that time it is showing only lost+found folder in it no other folders are their so how can I take my system to its prevoius mode.
- Join Date
- Mar 2012
Respective sir actually I was using wrong mount command to mount when I use
mount -t ext4 /dev/sda3 /media
root@kiran-System-Name:/# blkid /dev/sda1: UUID="f73f27b6-2ce8-4a96-9954-59927a85f79f" TYPE="ext4" /dev/sda2: UUID="406ebf08-bb1e-4335-a784-a114d9ac2a1e" TYPE="swap" /dev/sda3: UUID="bc4c81e4-6c4d-4cf0-9072-ff4cd8ebb070" TYPE="ext4" /dev/sda5: UUID="ebd475eb-8a4c-4f92-965e-1760a5c25847" SEC_TYPE="ext2" TYPE="ext3" /dev/sdb1: LABEL="REDHAT1" UUID="EEC5-9F32" TYPE="vfat" /dev/sdb2: LABEL="REDHAT2" UUID="2ED0-0C20" TYPE="vfat" /dev/sdb5: UUID="5783dc40-b87a-4ffb-85cc-1ce3a596b6b0" TYPE="ext4" /dev/sr0: LABEL="Idea Net Setter" TYPE="iso9660" root@kiran-System-Name:/# fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x101b101a Device Boot Start End Blocks Id System /dev/sda1 * 2048 1435647 716800 83 Linux /dev/sda2 1435648 5531647 2048000 82 Linux swap / Solaris /dev/sda3 5531648 56324095 25396224 83 Linux /dev/sda4 56326142 156301311 49987585 5 Extended /dev/sda5 56326144 156301311 49987584 83 Linux Disk /dev/sdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xda466af2 Device Boot Start End Blocks Id System /dev/sdb1 * 63 55295729 27647833+ c W95 FAT32 (LBA) /dev/sdb2 55295730 110591459 27647865 c W95 FAT32 (LBA) /dev/sdb3 110591998 156301311 22854657 5 Extended /dev/sdb5 110592000 156301311 22854656 83 Linux root@kiran-System-Name:/#
Thanks for the outputs
it shows only lost+found folder in it this folder contains so many files name starting with#(eg.#76345252) so I think this are files with inode number so will u please told me how to recover this files from this mode
I think you have to rename the files from lost+found manually.