LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   sysroot starting Failed (https://www.linuxquestions.org/questions/linux-kernel-70/sysroot-starting-failed-4175593209/)

Vivekanandan Dhamodharan 11-09-2016 05:31 AM

sysroot starting Failed
 
Hi Experts,

I have using centos-7 os in my virtual box, two days before it's working on good condition suddenly today this centOs wasn't loading properly. It's try to loading after grub loader and through it the error shown as below
1. Failed to mount /sysroot.
2. Dependency failed for Initrd Root File system.
3. Dependency failed for Reload configuration from the Real Root.
After the i tried in two ways to reload the centos but it didn't worked:-
1.try to login through Single user mode by changing through edit mode in grub loader by appending after "rhgb quiet" as "single" and continue via ctrl+x but it didnt work again showing sysroot mount error.

After that i got only :/# code in my terminal view. If i try to any command in terminal, It's give only command not found error.


2. I tried to single user mode in order to repair through xfs_repair /dev/sda2 it's seems to be error in loading xfs_repair service so can you give me solution to repair broken file responsible to load sysroot.


kindly give me solution.

Thanks in advance.

syg00 11-09-2016 10:33 PM

Boot the guest using the iso image you used to install CentOS - run the xfs_repair from that.


All times are GMT -5. The time now is 12:46 AM.