LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Centos 7 question - dev/centos/root does not exist (https://www.linuxquestions.org/questions/linux-newbie-8/centos-7-question-dev-centos-root-does-not-exist-4175519337/)

linuxquestions_forum_use 09-18-2014 04:59 PM

Centos 7 question - dev/centos/root does not exist
 
Newbie question.

Having trouble booting Centos 7 on a Dell PC and I wanted to ask why.

Everything the other day was fine but I wanted to use the computer to run spinrite on another drive, so I changed the BIOS from "Raid Autodetect/AHCI" to "Legacy".


The next day I forgot to change the BIOS setting back, and booted Centos 7 fine, but I noticed files were missing.

So when I change the BIOS back to "Raid Autodetect/AHCI" I can't boot and get this error below.

I wanted to ask if changing the BIOS settings to "Legacy" and not swithcing back to AHCI before rebooting again, cause the boot error below, and if I need to reformat and start fresh... or if there is a fix.

Started file system check on dev/mapper/centos-root
Warning could not boot
Warning /dev/centos/root does not exist
Warning /dev/centos/swap does not exist
Warning dev/mapper/centos-root does not exist

Starting Dracut emergency shell

jailbait 09-18-2014 05:38 PM

Quote:

Originally Posted by linuxquestions_forum_use (Post 5240512)

The next day I forgot to change the BIOS setting back, and booted Centos 7 fine, but I noticed files were missing.

During the time that you ran with the incorrect BIOS setting did you delete any files, or update files, or create new files? In other words did you do anything to the file system other than read-only?

----------------------
Steve Stites

linuxquestions_forum_use 09-19-2014 09:36 AM

I thing I _maybe_ figured it out. I had a second backup hard drive in the PC, and I think I was booting off the wrong one...

Or maybe I was running off both if that is possible.

When I booted off one hard drive, all the user accounts where there, but I had missing files.

When I booted off the other backup hard drive, many user accounts were missing, but no files were missing.

Thanks for the reply Steve!


All times are GMT -5. The time now is 02:57 PM.