LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2009, 05:45 PM   #1
Mamsaac
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
Issues with Fedora, cannot boot. File system check fails, no shell starts.


Using Fedora 12 with latest updates. In fact, I guess that the problem came with the update from this morning or one from yesterday, since I hadn't turned it off since then.

On start, an error is displayed telling me that the file system check failed and mentions that I will get a shell access and that it will restart after shell exits. The thing is, that I get a message asking me for either the login or to press ctrl+D, but neither work. If I press ctrl+D, it will send the same prompt again and if I press any verbose key (that is, excluding "alt", "ctrl" and those) it will automatically send the same prompt again. So, I can't use ctrl+D or try to write the login.

I decided to use an Ubuntu LiveCD (Jaunty) that I kept saved.

Started Ubuntu, installed the package lvm2. This is because Fedora is installed in a lvm partition.


Code:
root@ubuntu:~# vgchange -a y
  2 logical volume(s) in volume group "VolGroup" now active

root@ubuntu:~# fsck -y /dev/VolGroup/lv_root 
fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
F12-Alpha-i686-L contiene un sistema de ficheros con errores, se fuerza la revisión.
Paso 1: Verificando nodos-i, bloques y tamaños
Paso 2: Verificando la estructura de directorios
Paso 3: Revisando la conectividad de directorios
Paso 4: Revisando las cuentas de referencia
Paso 5: Revisando el resumen de información de grupos
F12-Alpha-i686-L: 158616/786432 ficheros (0.3% no contiguos), 1561967/3115008 bloques
root@ubuntu:~# fsck -y /dev/VolGroup/lv_root 
fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
F12-Alpha-i686-L: limpio, 158616/786432 ficheros, 1561967/3115008 bloques
That was the output. I'm sorry that it is in Spanish, but the translation is pretty much this: I used commands to see if lvm2 was working, then used vgchange -a y to activate it and then checked the file system using "fsck -y PATH". It detected errors. Then some more messages. I use "fsck -y PATH" again and it detects it clean.

First time I did this, I didn't use fsck twice. Anyway, I restarted and the same error happens on Fedora, as described in the beginning.

I would appreciate help and will provide with details if possible. Thanks in advance.
 
Old 10-19-2009, 05:53 PM   #2
Geraldsmod
Member
 
Registered: Sep 2009
Posts: 46

Rep: Reputation: 16
So basically,
1. You're Fedora is installed on an LVM partition and now it doesn't work.
2. You booted into the Ubuntu LiveCD and tried mounting the LVM partition and it didn't work.

Is this right?
 
Old 10-19-2009, 06:09 PM   #3
Mamsaac
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
No, the mounting works. I can access the files perfectly.

What isn't working is fixing the file system. I can use fsck on it and it will tell me it's clean and after that I can mount the file system and check any files. Yet, when I restart, it tells me that file system check fails and then I can't do anything.

BTW, sorry if this post was "too serious" >_> I'm getting a bit cranky over this. Thanks for your interest in helping.

Last edited by Mamsaac; 10-19-2009 at 06:17 PM.
 
Old 10-19-2009, 07:10 PM   #4
Geraldsmod
Member
 
Registered: Sep 2009
Posts: 46

Rep: Reputation: 16
Well, I'm sorry. I don't know much about LVM filesystems, nor have I ever used a distro using that filesystem.

But if you can mount and read the partition, you could always make a backup of all the important data on there and then re-install Fedora.
I'd be a pain in the neck but it would work nonetheless.
 
Old 10-19-2009, 07:11 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you do know that fedora 12 is still in TESTING and has not been officially released .
so updates WILL AND DO BREAK THINGS .
i would not use a "still beta testing version of fedora" unless you DO KNOW how to fix something that is not working and be able to submit a bug report and a fix !!!!!

https://www.redhat.com/archives/fedo.../msg00203.html

use fedora 11

Last edited by John VV; 10-19-2009 at 07:13 PM.
 
Old 10-19-2009, 10:05 PM   #6
Mamsaac
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I ain't complaining John. I have a taste for using Alpha and Beta versions of pretty much anything I use (except Windows, if I ever have to use it :S). I'm still using Ubuntu (although right now I'm on Windows, damn job).

It's the third time that Fedora 12 gets screwed after an update (but I fixed it the previous two times), but this time I'm pretty much lost. I've been using it since the first Alpha came out.

I'm afraid that it might have something to do with the fact that I'm using ext4 :S I've solved problems like this with fsck with ext3 before with little issues.

Still, if anyone has an idea of how to solve this, I will appreciate it. I will keep trying myself on my free time (like I've been doing).
 
Old 10-19-2009, 10:53 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
can you post the error in the boot.log

ext4 is NOT the issue here .Seeing as you are using LVM
Quote:
This is because Fedora is installed in a lvm partition.
I am not a LVM guru so , i can not help with that.
 
Old 10-19-2009, 11:05 PM   #8
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
I don't know ext4, but my ext3 experience as been that the -f flag on fsck is required to really repair filesystem damage.

Also, if you have dumpe2fs (in package e2fsprogs), does 'dumpe2fs -f /dev/VolGroup/lv_root' tell you the filesystem is clean?
 
Old 10-20-2009, 01:27 AM   #9
Mamsaac
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Attach boot.log and output of dumpe, as requested.

I do notice that there's nothing specially unusual on the boot.log (it's pretty much the same as the backups). No errors (and only warnings) displayed.

Also, I had to split the file of output, for it was 257kb (ah damn haha).
Attached Files
File Type: txt boot.txt (4.4 KB, 16 views)
File Type: txt output.txt (139.6 KB, 28 views)
File Type: txt output2.txt (136.0 KB, 17 views)
 
  


Reply

Tags
fedora, fsck, livecd, lvm, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
what to do when automatic file system check of the root filesystem fails? kayaksport15 Linux - Newbie 4 07-08-2008 07:31 AM
Boot process dies during forced file system check mepaco Fedora - Installation 1 04-11-2006 07:42 AM
cannot login because file system check fails because of bad magic number trutnev Linux - Newbie 1 03-23-2004 06:44 PM
File-system check on boot fails-- ALSA hang vivalinux Mandriva 6 11-25-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration