LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-27-2012, 07:09 PM   #1
Roderick
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Rep: Reputation: Disabled
stuck on boot after power failure


EXT3-fs: Mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
no fstab.sys,mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
EXT3-fs error (device dm-0): ext3_lookup: unlinked inode 1934527 in dir #1933313
EXT3-fs error (device dm-0): ext3_lookup: unlinked inode 1934527 in dir #1933313
/sbin/init: error while loading shared libraries: libsepol.so.1: cannot open shared object file: No such file or Directory
Kernel Panic - not syncing: Attempted to kill init!
 
Old 12-27-2012, 07:36 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,134

Rep: Reputation: Disabled
You should boot from a live CD/DVD and do an fsck on the file system on dm-0.
 
Old 12-27-2012, 07:47 PM   #3
Roderick
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
That didn't do anything.

From live i ran fdisk -l

returned:

Disk /dev/sda: 397.3 GB, 397284474880 bytes
255 heads, 63 sectors/track, 48300 cylinders, total 775946240 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: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 83 Linux
/dev/sda2 208845 775939499 387865327+ 8e Linux LVM

Disk /dev/mapper/VolGroup00-LogVol00: 391.6 GB, 391613775872 bytes
255 heads, 63 sectors/track, 47610 cylinders, total 764870656 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/VolGroup00-LogVol00 doesn't contain a valid partition table

Disk /dev/mapper/VolGroup00-LogVol01: 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: 0x30307800

Disk /dev/mapper/VolGroup00-LogVol01 doesn't contain a valid partition
 
Old 12-27-2012, 07:51 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,134

Rep: Reputation: Disabled
What didn't do anything?

The live CD may use different names for the LVM volume groups and logical volumes. According to fdisk, you have two such volumes: /dev/mapper/VolGroup00-LogVol00 and /dev/mapper/VolGroup00-LogVol01.

From the size you should be able to determine which is the boot volume. Then run fsck on that volume.
 
Old 12-27-2012, 07:56 PM   #5
Roderick
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I fsck the first vol but its mounted and wont run the check.

also using unbutu as my live.

Last edited by Roderick; 12-27-2012 at 07:59 PM.
 
Old 12-27-2012, 08:03 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,134

Rep: Reputation: Disabled
I don't know why the Ubuntu DVD would mount a volume on your hard drive, but you should be able to unmount it with umount.

(I usually use System Rescue CD, and it doesn't mount anything unless I tell it to.)
 
Old 12-27-2012, 08:15 PM   #7
Roderick
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks, currently running fsck ill update once done
 
Old 12-27-2012, 08:37 PM   #8
Roderick
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Okay so one down.

So it still not booting but the lines say:

no fstab.sys,mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
/sbin/init: error while loading shared libraries: libsepol.so.1: cannot open shared object file: No such file or Directory
Kernel Panic - not syncing: Attempted to kill init!
 
Old 12-27-2012, 08:44 PM   #9
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,134

Rep: Reputation: Disabled
Looks like your root file system has taken some serious damage.

I would suggest booting the live DVD again and mount the partition to a temporary directory to see just how bad it is. Perhaps the missing files and/or directories can be recovered from /lost+found.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu won't boot after power failure scrasun Ubuntu 4 07-24-2012 03:03 PM
Cant boot after power failure landysaccount Linux - Newbie 3 01-07-2010 07:40 AM
No GUI after power failure at boot. Imajica666 Linux - Desktop 5 06-07-2008 01:40 PM
need help.. power failure now no boot vbtalent Fedora 2 11-02-2005 07:51 PM
boot problem after power failure radulucian Linux - Newbie 1 06-30-2003 05:53 AM


All times are GMT -5. The time now is 05:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration