boot errors after improper restart

If it doesn't fit in another category, ask it here.
shepman
Posts: 1
Joined: 2014/12/17 21:14:40

boot errors after improper restart

Postby shepman » 2014/12/17 21:23:20

getting a bunch of errors on boot the it gets a kernel panic and it freezes up

Linux rescue doesn't see the install.

any thoughts?
Attachments
Untitled.png
Untitled.png (22.99 KiB) Viewed 1897 times

User avatar
Super Jamie
Posts: 308
Joined: 2014/01/10 23:44:51

Re: boot errors after improper restart

Postby Super Jamie » 2014/12/18 02:53:38

Boot into Rescue Mode, choose not to find the root storage, find your LVM volumes with lvm pvscan, lvm vgscan, vgchange -ay VolGroup00 and fsck the filesystems.

User avatar
TrevorH
Forum Moderator
Posts: 21002
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: boot errors after improper restart

Postby TrevorH » 2014/12/18 09:10:41

Also worth running smartctl -a /dev/sdX on the underlying physical device to see if the disk is OK. That doesn't look good and I'm suspecting a hardware error. Read man e2fsck for the various options too but before you do anything, if the data on this drive is valuable then I would obtain a second physical disk that's at least as large as the original and use the 'dd' command to copy from the broken one to the new one. Use the option conv=noerror so that it continues even over I/O errors on the old disk or, better, use dd_rescue which is a different command and specially designed for recovering data from disks with problems.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke