Fedora Linux Support Community & Resources Center
  #1  
Old 14th August 2012, 12:09 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Fedora 16 does not boot

Hi,

I am using Fedora 16 32+ bit distro and I am getting this error when I try to boot Fedora. Please help me, thanks.

Code:
/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: Error reading block 9437265 (attempt to read block from filesystem resulted in short read) while getting next inode from scan.

dracut Warning: *** An error occurred during the 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 Warning: 

Dropping to debug shell:

sh: can't access tty: job control turned off

(Repair filesystem):/#


---------- Post added at 04:09 AM ---------- Previous post was at 02:03 AM ----------

I am thinking of booting using a Back Track Linux DVD or Fedora 16 DVD and as root doing the e2fsck on the affected partition ie /dev/mapper/VolGroup-lv_root. Or should I do the fsck only? But I need to unmount the partition as well, right? I have some rough idea but no concrete solution to this problem, please help me with a step by step guide. I am going nuts as there are some personal documents to be retrieved before I even think of re-installing Fedora 16. Thanks.
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 15th August 2012 at 01:19 PM.
Reply With Quote
  #2  
Old 14th August 2012, 01:18 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,898
linuxfirefox
Re: Fedora 16 does not boot

Try "fsck /" or if you are bolder "fsck -y /".

The first requires you to approve any fixes made - but it does depend on you being able to understand what those may be.

The second assumes an affirmative response to all changes. It also is not too unreasonable as it will fix anything that can be fixed without causing recursive errors to be generated.

In either case, you need to run it a second time to see if all the errors have been corrected. The first command can be used to cause a fix to cause a secondary problem (specifically, it is not a good idea to clear directories, as that causes lost files - an additional error, and only rarely is it useful).

Once you have done this do a cold reboot. A hot reboot may cause buffer flushing that could regenerate the errors.

NOTE:
It is unusual for F16 to have this problem. The normal journaling of native filesystems usually eliminates the need.

It is possible you are beginning to have disk errors, and the disk may be going bad. If you think this is the case, your best bet is boot a rescue CD and attempt to copy any files you really need. Performing an fsck on a disk in the process of failing can/will make things worse.

You MIGHT be able to copy these files from the debug shell, though if the files you want are on a different partition of the disk you will have to manually mount them ("mount -o ro <mountpoint>" should do the trick mounting them read only).
Reply With Quote
  #3  
Old 14th August 2012, 01:52 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
macosmidori
Re: Fedora 16 does not boot

Hi,

Thanks for the reply. This is what I have done in a terminal as root so far using the SystemRescueCD. I need your opinion on the efforts that I have made. The hard disk is quite OK and new. I am no expert but I keep trying to learn things on my own with the help of forum members. Thanks.

Code:
root@sysresccd /root % fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4e474e47

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   156301487    78150743+  ee  GPT

Disk /dev/mapper/VolGroup-lv_swap: 5536 MB, 5536481280 bytes
255 heads, 63 sectors/track, 673 cylinders, total 10813440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_swap doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_home: 24.6 GB, 24628953088 bytes
255 heads, 63 sectors/track, 2994 cylinders, total 48103424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_home doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_root: 49.3 GB, 49325015040 bytes
255 heads, 63 sectors/track, 5996 cylinders, total 96337920 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_root doesn't contain a valid partition table

Code:
root@sysresccd /root % fsck /dev/mapper/VolGroup-lv_root
fsck from util-linux 2.20.1
e2fsck 1.42.1 (17-Feb-2012)
/dev/mapper/VolGroup-lv_root: clean, 206765/3014656 files, 1773789/12042240 blocks

root@sysresccd /root % fsck /dev/mapper/VolGroup-lv_home 
fsck from util-linux 2.20.1
e2fsck 1.42.1 (17-Feb-2012)
/dev/mapper/VolGroup-lv_home: clean, 7624/1504384 files, 2084409/6012928 blocks

root@sysresccd /root % fsck /dev/mapper/VolGroup-lv_swap 
fsck from util-linux 2.20.1
fsck: fsck.swap: not found
fsck: error 2 while executing fsck.swap for /dev/mapper/VolGroup-lv_swap

root@sysresccd /root % fsck /          
fsck from util-linux 2.20.1
fsck: fsck.tmpfs: not found
fsck: error 2 while executing fsck.tmpfs for tmpfs

root@sysresccd /root % fsck -y / 
fsck from util-linux 2.20.1
fsck: fsck.tmpfs: not found
fsck: error 2 while executing fsck.tmpfs for tmpfs


---------- Post added at 05:52 AM ---------- Previous post was at 05:43 AM ----------

I have the following, but which one should I use to correct the problem above? Thanks.

Fedora 16 DVD
BackTrack Linux 5 DVD
SystemRescueCD
Ultimate Boot CD
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 14th August 2012 at 01:48 PM.
Reply With Quote
  #4  
Old 15th August 2012, 06:05 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Re: Fedora 16 does not boot

Dear Friends,

Please help me out. I am not getting anywhere, thanks.

---------- Post added at 05:41 AM ---------- Previous post was at 05:05 AM ----------

Now I try to boot it starts booting and comes the flower type thing in the middle of the screen and it gets bigger bit by bit, but then it says loading and does not allow me to boot Fedora. It just hangs with that loading message.....

---------- Post added at 06:18 AM ---------- Previous post was at 05:41 AM ----------

Do I need to re-install Grub2 as mentioned on the below page using the Fedora 16 installation DVD that I have?

Thanks.

---------- Post added at 10:05 AM ---------- Previous post was at 06:18 AM ----------

Looks like I at my wits' end, please suggest me something thanks,
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #5  
Old 15th August 2012, 07:37 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Fedora 16 does not boot

You could try a forced fsck of /dev/mapper/VolGroup-lv_root:
Code:
fsck -f /dev/mapper/VolGroup-lv_root
Reply With Quote
  #6  
Old 16th August 2012, 02:49 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Re: Fedora 16 does not boot

Quote:
Originally Posted by Gareth Jones View Post
You could try a forced fsck of /dev/mapper/VolGroup-lv_root:
Code:
fsck -f /dev/mapper/VolGroup-lv_root
Ok,

Here what I have done using the BackTrack Linux 5 DVD that I have. I booted using this DVD and did the following in a terminal as root. Anyway, it is root by default in BackTrack from what I see.




Code:
root@root:~# fsck -f /dev/mapper/VolGroup-lv_root
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: No such file or directory while trying to open /dev/mapper/VolGroup-lv_root

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


Code:
root@root:~# e2fsck -b 8193 /dev/mapper/VolGroup-lv_root
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: No such file or directory while trying to open /dev/mapper/VolGroup-lv_root

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


Code:
root@root:~# e2fsck -b 8193 /dev/sda2
e2fsck 1.41.11 (14-Mar-2010)
One or more block group descriptor checksums are invalid.  Fix<y>? yes

Group descriptor 0 checksum is invalid.  FIXED.
Group descriptor 1 checksum is invalid.  FIXED.
Group descriptor 2 checksum is invalid.  FIXED.
Group descriptor 3 checksum is invalid.  FIXED.
Group descriptor 4 checksum is invalid.  FIXED.
Group descriptor 5 checksum is invalid.  FIXED.
Group descriptor 6 checksum is invalid.  FIXED.
Group descriptor 7 checksum is invalid.  FIXED.
Group descriptor 8 checksum is invalid.  FIXED.
Group descriptor 9 checksum is invalid.  FIXED.
Group descriptor 10 checksum is invalid.  FIXED.
Group descriptor 11 checksum is invalid.  FIXED.
Group descriptor 12 checksum is invalid.  FIXED.
Group descriptor 13 checksum is invalid.  FIXED.
Group descriptor 14 checksum is invalid.  FIXED.
Group descriptor 15 checksum is invalid.  FIXED.
Group descriptor 16 checksum is invalid.  FIXED.
Group descriptor 17 checksum is invalid.  FIXED.
Group descriptor 18 checksum is invalid.  FIXED.
Group descriptor 19 checksum is invalid.  FIXED.
Group descriptor 20 checksum is invalid.  FIXED.
Group descriptor 21 checksum is invalid.  FIXED.
Group descriptor 22 checksum is invalid.  FIXED.
Group descriptor 23 checksum is invalid.  FIXED.
Group descriptor 24 checksum is invalid.  FIXED.
Group descriptor 25 checksum is invalid.  FIXED.
Group descriptor 26 checksum is invalid.  FIXED.
Group descriptor 27 checksum is invalid.  FIXED.
Group descriptor 28 checksum is invalid.  FIXED.
Group descriptor 29 checksum is invalid.  FIXED.
Group descriptor 30 checksum is invalid.  FIXED.
Group descriptor 31 checksum is invalid.  FIXED.
Group descriptor 32 checksum is invalid.  FIXED.
Group descriptor 33 checksum is invalid.  FIXED.
Group descriptor 34 checksum is invalid.  FIXED.
Group descriptor 35 checksum is invalid.  FIXED.
Group descriptor 36 checksum is invalid.  FIXED.
Group descriptor 37 checksum is invalid.  FIXED.
Group descriptor 38 checksum is invalid.  FIXED.
Group descriptor 39 checksum is invalid.  FIXED.
Group descriptor 40 checksum is invalid.  FIXED.
Group descriptor 41 checksum is invalid.  FIXED.
Group descriptor 42 checksum is invalid.  FIXED.
Group descriptor 43 checksum is invalid.  FIXED.
Group descriptor 44 checksum is invalid.  FIXED.
Group descriptor 45 checksum is invalid.  FIXED.
Group descriptor 46 checksum is invalid.  FIXED.
Group descriptor 47 checksum is invalid.  FIXED.
Group descriptor 48 checksum is invalid.  FIXED.
Group descriptor 49 checksum is invalid.  FIXED.
Group descriptor 50 checksum is invalid.  FIXED.
Group descriptor 51 checksum is invalid.  FIXED.
Group descriptor 52 checksum is invalid.  FIXED.
Group descriptor 53 checksum is invalid.  FIXED.
Group descriptor 54 checksum is invalid.  FIXED.
Group descriptor 55 checksum is invalid.  FIXED.
Group descriptor 56 checksum is invalid.  FIXED.
Group descriptor 57 checksum is invalid.  FIXED.
Group descriptor 58 checksum is invalid.  FIXED.
Group descriptor 59 checksum is invalid.  FIXED.
Group descriptor 60 checksum is invalid.  FIXED.
Group descriptor 61 checksum is invalid.  FIXED.
Group descriptor 62 checksum is invalid.  FIXED.
/dev/sda2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0 (3823, counted=3816).
Fix<y>?

Code:
Free inodes count wrong for group #0 (2021, counted=2006).
Fix<y>? yes

Free inodes count wrong for group #16 (2032, counted=1990).
Fix<y>? yes

Directories count wrong for group #16 (0, counted=1).
Fix<y>? yes

Free inodes count wrong for group #32 (2032, counted=1831).
Fix<y>? yes

Directories count wrong for group #32 (0, counted=3).
Fix<y>? yes

Free inodes count wrong (128005, counted=127747).
Fix<y>? yes


/dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda2: 269/128016 files (0.7% non-contiguous), 99869/512000 blocks


---------- Post added at 06:49 PM ---------- Previous post was at 06:31 PM ----------

I have the following DVDs, but I am using the BackTrack Linux 5 DVD now as I have read somewhere that is can help boot a failed system like Fedora, but this is my first time, so I need your expert advice. Thanks.

Fedora 16 DVD
BackTrack Linux 5 DVD (32+ bit)
SystemRescueCD
Ultimate Boot CD
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 16th August 2012 at 02:44 AM.
Reply With Quote
  #7  
Old 16th August 2012, 08:10 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Fedora 16 does not boot

[QUOTE=tech291083;1597538]
Code:
root@root:~# fsck -f /dev/mapper/VolGroup-lv_root
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: No such file or directory while trying to open /dev/mapper/VolGroup-lv_root
That error is exactly what it says. /dev/mapper/VolGroup-lv_root doesn't exist.

Before running fsck, you need to scan the LVM volumes if the system hasn't already done that:
Code:
pvscan       # To detect physical volumes containing LVM data.
vgscan       # To build volume groups from physical volumes.
lvscan       # To identify logical volumes in the volume groups.
vgchange -ay # To enable all logical volumes and create /dev/mapper/... devices for them.
# Now run fsck.
Fedora should do all that for you, but systems that don't use LVM by default probably don't. It's possible that the live system that you're using doesn't support LVM at all, in which case the above commands won't exist. In that case, use a different live disc. A Fedora live CD would be best.

Quote:
Code:
root@root:~# e2fsck -b 8193 /dev/sda2
e2fsck 1.41.11 (14-Mar-2010)
One or more block group descriptor checksums are invalid.  Fix<y>? yes
What is /dev/sda2? If it's part of an LVM set-up, you could just have really screwed things up...
Reply With Quote
  #8  
Old 17th August 2012, 04:31 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Re: Fedora 16 does not boot

Quote:
Originally Posted by Gareth Jones View Post
That error is exactly what it says. /dev/mapper/VolGroup-lv_root doesn't exist.
I thought so. But I misunderstood the error and kept on trying in the wrong manner.
Quote:
Before running fsck, you need to scan the LVM volumes
Yes, I will do this first now.

Quote:
It's possible that the live system that you're using doesn't support LVM at all, in which case the above commands won't exist. In that case, use a different live disc. A Fedora live CD would be best.
I was so impressed by the BackTrack Linux's description on the net that I just never thought of using any other distro for the solution. It was stupidity on my part, but this is the way I have learned. You have correctly pointed out as to why the fsck commands were not working with BackTrack DVD. This is something that I should have known. Ok, now I am going to download Fedora 16 live CD. But which one should I download from here? I am using Fedora 16 32+ with Gnome. Will live CD with KDE solve my problem? Or do I need to download the Desktop Live one, which I guess has Gnome? Please reply ASAP.

Thanks for all your help so far. You have pushed me in the right direction. Appreciated.

http://archive.fedoraproject.org/pub.../16/Live/i686/

---------- Post added at 08:31 PM ---------- Previous post was at 08:21 PM ----------

I do have Fedora 12 and Fedora 14 DVDs (32 bit) with me will they work? Thanks.
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 17th August 2012 at 04:30 AM.
Reply With Quote
  #9  
Old 18th August 2012, 07:42 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Re: Fedora 16 does not boot

Quote:
A Fedora live CD would be best
Ok, I have downloaded the Fedora 16 Desktop Live CD and using it I have done the following in a terminal. Please let me know if it correct or not. The problem is still there and Fedora does not boot. It just says loading after I choose a kernel and freezes. Please help me out. Thanks.


Code:
[liveuser@localhost ~]$ pvscan
  /dev/mapper/control: open failed: Permission denied
  Failure to communicate with kernel device-mapper driver.
  WARNING: Running as a non-root user. Functionality may be unavailable.
  /var/lock/lvm/P_global:aux: open failed: Permission denied
  Unable to obtain global lock.
[liveuser@localhost ~]$ su
[root@localhost liveuser]# pvscan
  PV /dev/sda3   VG VolGroup   lvm2 [74.03 GiB / 0    free]
  Total: 1 [74.03 GiB] / in use: 1 [74.03 GiB] / in no VG: 0 [0   ]
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "VolGroup" using metadata type lvm2
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# lvscan
  ACTIVE            '/dev/VolGroup/lv_swap' [5.16 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_home' [22.94 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_root' [45.94 GiB] inherit
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# vgchange -ay
  3 logical volume(s) in volume group "VolGroup" now active
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# fsck
fsck from util-linux 2.20.1
[root@localhost liveuser]# fsck -f /dev/
Display all 177 possibilities? (y or n)
[root@localhost liveuser]# fsck -f /dev/VolGroup/lv_
lv_home  lv_root  lv_swap  
[root@localhost liveuser]# fsck -f /dev/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)? yes

/dev/mapper/VolGroup-lv_root: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/VolGroup-lv_root: 206767/3014656 files (0.2% non-contiguous), 1773817/12042240 blocks
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# fsck -f /dev/VolGroup/lv_
lv_home  lv_root  lv_swap  
[root@localhost liveuser]# fsck -f /dev/VolGroup/lv_home 
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
/dev/mapper/VolGroup-lv_home is mounted.  

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

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

/dev/mapper/VolGroup-lv_home: recovering journal
Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/mapper/VolGroup-lv_home: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/VolGroup-lv_home: 7575/1504384 files (2.5% non-contiguous), 2084282/6012928 blocks
[root@localhost liveuser]# 
[root@localhost liveuser]# fsck -f /dev/VolGroup/lv_swap 
fsck from util-linux 2.20.1
fsck: fsck.swap: not found
fsck: error 2 while executing fsck.swap for /dev/mapper/VolGroup-lv_swap
[root@localhost liveuser]#
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #10  
Old 18th August 2012, 07:47 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
linuxfirefox
Re: Fedora 16 does not boot

One more thing, this is a screenshot of a tool called Disk Utility on Fedora 16 live CD which shows that the hard drive is facing an imminent failure. I am little worried as it is working well and nothing really has gone wrong with it. Is there any way I can check the status of hard drive using free tools in Fedora? Any steps to ensure that it is all right? Thanks.
Attached Thumbnails
Click image for larger version

Name:	Disk Failure.png
Views:	73
Size:	135.4 KB
ID:	23636  
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #11  
Old 18th August 2012, 07:40 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Fedora 16 does not boot

Quote:
Originally Posted by tech291083 View Post
Code:
[root@localhost liveuser]# fsck -f /dev/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)? yes
You should really unmount the devices before checking them:
Code:
umount /dev/VolGroup/lv_root
fsck -f /dev/VolGroup/lv_root
Reply With Quote
  #12  
Old 18th August 2012, 07:43 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Fedora 16 does not boot

Quote:
Originally Posted by tech291083 View Post
One more thing, this is a screenshot of a tool called Disk Utility on Fedora 16 live CD which shows that the hard drive is facing an imminent failure. I am little worried as it is working well and nothing really has gone wrong with it. Is there any way I can check the status of hard drive using free tools in Fedora? Any steps to ensure that it is all right? Thanks.
That message is serious. You can get a textual list of the problems in a terminal with (as root):
Code:
smartctl -a /dev/sda
My advise: use the live CD to copy all your personal files onto an external drive ASAP, and before running fsck again. Trying to fix a file-system on dying hardware could actually result in more data-loss.
Reply With Quote
  #13  
Old 19th August 2012, 01:17 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
windows_7ie
Re: Fedora 16 does not boot

Quote:
Originally Posted by Gareth Jones View Post

My advise: use the live CD to copy all your personal files onto an external drive ASAP, and before running fsck again. Trying to fix a file-system on dying hardware could actually result in more data-loss.

Yes, I have used the Fedora 16 live CD to copy all my data to a pen drive and then to another pc. so I feel safe now. Thanks a lot for suggesting me to use the Fedora live CD. I was totally mistaken in going for other distros for booting the OS. You have indeed save me. Many thanks for that. Appreciated.

---------- Post added at 05:17 AM ---------- Previous post was at 04:47 AM ----------



I have tried what you have said me to as mentioned below in code section. Thanks.


Code:
[liveuser@localhost ~]$ su
[root@localhost liveuser]# pvscan
  PV /dev/sda3   VG VolGroup   lvm2 [74.03 GiB / 0    free]
  Total: 1 [74.03 GiB] / in use: 1 [74.03 GiB] / in no VG: 0 [0   ]
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "VolGroup" using metadata type lvm2
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# lvscan
  ACTIVE            '/dev/VolGroup/lv_swap' [5.16 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_home' [22.94 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_root' [45.94 GiB] inherit
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# vgchange -ay
  3 logical volume(s) in volume group "VolGroup" now active
      
[root@localhost liveuser]# umount /dev/VolGroup/lv_root
umount: /dev/VolGroup/lv_root: not mounted
[root@localhost liveuser]# 
[root@localhost liveuser]# fsck -f /dev/VolGroup/lv_root
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/VolGroup-lv_root: 206767/3014656 files (0.2% non-contiguous), 1773817/12042240 blocks
[root@localhost liveuser]# 
[root@localhost liveuser]# 
[root@localhost liveuser]# smartctl -a /dev/sda
bash: smartctl: command not found...

[root@localhost liveuser]# yum install smartctl
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink                                          | 9.0 kB     00:00     
fedora                                                   | 4.2 kB     00:00     
fedora/primary_db                                        |  12 MB     03:19     
fedora/group                                             | 1.9 MB     00:31     
updates/metalink                                         | 4.8 kB     00:00     
updates                                                  | 4.7 kB     00:00     
updates/primary_db                                       | 5.5 MB     01:37     
updates/group                                            | 1.9 MB     00:37     
Setting up Install Process
No package smartctl available.
Error: Nothing to do
[root@localhost liveuser]# smartctl -a /dev/sda
bash: smartctl: command not found...
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 19th August 2012 at 01:20 PM.
Reply With Quote
  #14  
Old 19th August 2012, 05:04 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Fedora 16 does not boot

If you run the Disks app that you posted the screen-shot of again, and click the "SMART Data" button underneath the red warning message, it should give you the same information that smartctl would on the command-line.
Reply With Quote
  #15  
Old 20th August 2012, 07:30 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,089
windows_7ie
Re: Fedora 16 does not boot

Quote:
Originally Posted by Gareth Jones View Post
If you run the Disks app that you posted the screen-shot of again, and click the "SMART Data" button underneath the red warning message, it should give you the same information that smartctl would on the command-line.
Yes, I have click button but the problem is that I can not paste the screenshot of that data here as it does not maximise, any ideas as to how to do so? There are so many factors/data described and there are a couple of them in red color as well namely Current Pending Sector Count and the 2nd I need to check again, thanks.
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
Reply

Tags
boot, fedora

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
NTFS boot partition unable to boot after shrinking from Fedora Live CD mccollou Installation, Upgrades and Live Media 1 16th October 2011 08:41 PM
Triple boot system not able to boot fedora: blinking cursor appears anacleto Using Fedora 5 28th July 2010 04:23 PM
How to install fedora 12 from USB and make dual boot BCD using Windows 7 boot loader evildesirez Installation, Upgrades and Live Media 1 4th January 2010 06:56 PM
Rebuilding the Grub Boot Loader on Master Boot Record (MBR) w Fedora Linux Vector Guides & Solutions (No Questions) 6 1st August 2009 08:39 AM
Fedora core 2 dual boot with 2 drives and boot diskette monkeypimp Installation, Upgrades and Live Media 4 15th July 2004 10:09 AM


Current GMT-time: 06:26 (Monday, 22-12-2014)

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
...Kane County Fairgrounds Instagram Photos - El Remate, Flores, Peten - Official JetBlue Terminal - Denver International Airport Travel Photos on Instagram - Outback Steakhouse Campo Grande - Rufford Abbey Country Park