PDA

View Full Version : FC6 won't boot


ian_smart
5th March 2007, 04:10 PM
Hi, I'm pretty new to linux and hope my question is in the right place - apologies if I should be using a different forum.

Anyway, I've had FC6 installed on my pc for a month or so now without any problems until today. Some updates got loaded which required a reboot and during the reboot I now get an error during the "Checking filesystems" phase.

I get the message... (apologies for slight typos - I'm copying this from another screen!)

*** an error occurrred during the file system check
*** dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning - SELinux is active
*** disabling security enforcement for system recovery
*** run 'setenforce 1' to reenable

I log on with my root password and get the prompt:

(Repair filesystem) 1 #

Having looked around the forums here and elsewhere I've tried running fsck which comes back very quickly with a message saying that

/boot: clean
/dev/VolGroup00/LogVol00: clean

there's other stuff about version numbers and file and block counts too. which is long so I haven't included it here.

If I then reboot it's groundhog day again!

Can anyone suggest what I should try next?

TIA, Ian

ian_smart
5th March 2007, 05:17 PM
okay, I've been a bit silly.... I forgot to say (I actually did forget) that I had turned SELinux back on after turning it off to see if it was causing a previous issue that I was looking at. It was the act of going from 'disabled' to 'enforcing' that caused the hiccup. I added selinux=0 to the boot and got in, then set to permissive which sorted the problem.

david_mayer
17th April 2007, 05:24 AM

I just wanted to speak up and say that your posts just fixed my problem. I was trying out various selinux configs to try to fix a network issue, when the power burped. I wrongly assumed that a disk was fuzzed and spent quite a while using fcsk without success to find the problem. When I read your posts, I realized what I had done. I was back up in seconds. And I was just about to rebuild. Thanks so much for posting your solution.

RuTHLeSS
23rd April 2007, 05:06 AM
I have this same error when after you set selinux to setenforce 0 what did you do next. I messed up my fstab so when it boots it's not looking in the right place. After I enter this command it will not let me correct my fstab its giving me readonly


Thanks

RuTHLeSS
23rd April 2007, 06:03 AM
I found another post on this topic about fstab I tried the following this is what I did I used the rescue cd.
mkdir /hello
mount -t ext /dev/hda1/hello
get the following error after this command - mount error -cannot read /etc/fstab no such file or directory
So it will not let me in chroot /hello to modify the /etc/fstab I did I fdisk -l
I have got the following


start end block Id system
/dev/hda1 1 3 104391 83 linux
/dev/hda2 14 4982 39914921 8e linux LVM