LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stuck on boot after power failure (http://www.linuxquestions.org/questions/linux-newbie-8/stuck-on-boot-after-power-failure-4175443181/)

Roderick 12-27-2012 06:09 PM

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!

Ser Olmy 12-27-2012 06:36 PM

You should boot from a live CD/DVD and do an fsck on the file system on dm-0.

Roderick 12-27-2012 06:47 PM

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

Ser Olmy 12-27-2012 06:51 PM

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.

Roderick 12-27-2012 06:56 PM

I fsck the first vol but its mounted and wont run the check.

also using unbutu as my live.

Ser Olmy 12-27-2012 07:03 PM

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.)

Roderick 12-27-2012 07:15 PM

thanks, currently running fsck ill update once done

Roderick 12-27-2012 07:37 PM

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!

Ser Olmy 12-27-2012 07:44 PM

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.


All times are GMT -5. The time now is 03:52 AM.