Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th May 2012, 08:35 PM
tmort Offline
Registered User
 
Join Date: Feb 2006
Posts: 284
linuxchrome
Boot Problem

I am experiencing errors when I boot up. I get some error messages and get a command prompt at the end. If I type exit at the command prompt it will then boot up.

The error messages are:

/dev/mapper/VolGroup-lv_root:

unexpected inconsistency: Run fsck manually (i.e. without -a or -p options)

dracut warning: e2fsck returned with 4

dracut warning: /dev/mapper/VolGroup-lv_root contains a file system with errors, check forced

dracut warning: /dev/mapper/VolGroup-lv_root: Inodes that were part of corrupted orphan link found

dracut warning: ***An error occurred during file system check

dracut warning: *** Dropping you to a shell; the system will try

dracut warning: to mount the filesystem(s), when you leave the shell

dracut warding: Dropping to debug shell

sh:0:can't access tty: job control turned off (repair filesystem):#_

I'm not sure what to do to try to correct the problem.
Reply With Quote
  #2  
Old 21st May 2012, 05:28 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Boot Problem

Just a guess: Could it be the same problem as in this thread: http://forums.fedoraforum.org/showthread.php?t=277866
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 21st May 2012, 11:05 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Boot Problem

Your file system has errors. Use the blkid command maybe to find out which partitions are involved and then run e2fsck on these partitions. First make sure they aren't mounted.
Reply With Quote
  #4  
Old 21st May 2012, 05:27 PM
Gareth Jones Online
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Boot Problem

In the debug shell, run something like:
Code:
umount /dev/mapper/VolGroup-lv_root
fsck -f /dev/mapper/VolGroup-lv_root
This will mount the root file-system read-only and force a full interactive check and repair. Then reboot. (If this starts asking hundreds of questions, you can force "yes" answers by running "fsck -f -y /dev/mapper/VolGroup-lv_root" instead, but you may have serious corruption and trying to repair at that stage could actually cause more damage, so you may be better off asking about data-recovery tools instead in that case, unless you have an up-to-date back-up.)

Check the contents of /lost+found after rebooting – any lost files that fsck recovers but cannot identify are dumped there.
Reply With Quote
  #5  
Old 21st May 2012, 05:47 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfirefox
Re: Boot Problem

Root should already be mounted read only - That is the one with the problem. Doing a umount on root will not help (it should give an error as "busy").

The fsck command should be ok (the -f shouldn't be needed as the mount failed because it wasn't clean, but won't hurt).

It also would not hurt to get familar with the fsck command. Some errors reported can cause cascading errors, where a single repair may fix one error, but not report others. Sometimes running it twice will show other errors that can be repaired after the first.

Usually only one pass is needed, but occasionally...
Reply With Quote
  #6  
Old 25th May 2012, 04:51 PM
tmort Offline
Registered User
 
Join Date: Feb 2006
Posts: 284
linuxchrome
Re: Boot Problem

I did the umount and got the busy message and then ran the fsck command, selected yes at every prompt and ran fsck again and and again selected yes when prompted.. I still boot to a command prompt. If I try to run fsck again I get:

root@localhost ~]# umount /dev/mapper/VolGroup-lv_root
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@localhost ~]# fsck -f /dev/mapper/VolGroup-lv_root
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
/dev/mapper/VolGroup-lv_root is mounted.

WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)?

I think I got this same message the first time I ran fsck. It says that VolGroup-lv_root is mounted.
Reply With Quote
  #7  
Old 25th May 2012, 05:02 PM
Gareth Jones Online
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Boot Problem

Don't run fsck if the file-system is mounted read-write – as fsck said, it can cause severe damage because fsck and the kernel are both likely to make structural changes to the FS in parallel without knowing about each other. You cannot fully unmount the root file-system, but attempting to do so will force it to remount read-only, which is safe to fsck as long as you reboot afterwards (to ensure that the kernel's cached file-system data is refreshed).

Try booting to single-user mode: edit the kernel command-line in GRUB (I think you need to press "e", but there should be instructions under the GRUB boot menu), and add " 1" to the end of the command-line. Then boot (again GRUB should tell you what to do to boot). Then run:
Code:
mount -o remount,ro /    # This is more explicit then just umount.
fsck -f /                # Only if the remount worked without errors.


---------- Post added at 05:02 PM ---------- Previous post was at 05:00 PM ----------

I agree with jpollard that / should already be mounted read-only if its automatic fsck was failing, so I'm not sure exactly what is going on here, so let's be paranoid and make sure.
Reply With Quote
  #8  
Old 25th May 2012, 05:23 PM
tmort Offline
Registered User
 
Join Date: Feb 2006
Posts: 284
linuxfirefox
Re: Boot Problem

How do I boot to single user mode
Reply With Quote
Reply

Tags
boot, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh install Dual boot system-boot selection problem sachin3237 Installation and Live Media 1 5th March 2010 05:01 PM
Dual boot problem, win xp won't boot. sweetrain Installation and Live Media 3 13th November 2007 08:18 PM
Problem with Dual-boot of WinXP and FC4 too!!! lost boot loader... freshmeat EOL (End Of Life) Versions 7 31st December 2005 05:55 AM
Dual boot problem - windows won't boot ! snorkrat Installation and Live Media 6 7th November 2005 01:04 PM
Grub boot problem / MBR problem flyboy Installation and Live Media 4 8th September 2005 01:53 PM


Current GMT-time: 02:04 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat