Centos 6 boot failure

General support questions
Post Reply
anthonyr
Posts: 2
Joined: 2017/11/23 23:30:44

Centos 6 boot failure

Post by anthonyr » 2017/11/24 00:27:06

Hi,

I have a Centos 6 operating system on a USB drive which harbours some valuable data. I have suddenly found that the system doesn't boot any more with the following errors (below) which I can't interpret, and I have no idea how to repair. Can anyone please advise how I can fix this problem, assuming it is fixable. I would be gutted if the data was permanently lost.

Cheers
Tony

mount:/dev/mapper/vg_livecd-lv_root already mounted or /sysroot busy
mount: according to mtab, /dev/mapper/vg_livecd-lv_root is already mounted on /sysroot


Kernel panic - not syncing: Attempted to kill init!
PID: 1, com: init Not tainted 2.6.32-279.e16.i686 #1
Call Trace:
[<c083bfbc>] ? panic+0x68/0x11c
[<c045a501>] ? do_exit+0x741/0x750
[<c045a54c>] ? do_group_exit+0x3c/0xa0
[<c045a5c1>] ? sys_exit_group+0x11/0x20
[<c083EBA4>] ? syscall_call+0x7/0xb
[<c083007b>] ? cmos_wake_setup+0x62/0x112
panic occurred, switching back to text console

vacosta
Posts: 2
Joined: 2014/09/23 18:36:10

Re: Centos 6 boot failure

Post by vacosta » 2017/11/25 02:48:06

Hello there, i think there is a misstake on your fstab

Try this:
- Boot with installation media
- Pick Rescue a CentOS System option
- Mount your system under /mnt/sysimage (this is an option on your rescue system menu)
- Check your fstab on /mnt/sysimage/etc/fstab

If you don't find anything wrong please run above commands in rescue mode and copy output here:

lvs
blkid
lsblk
cat /mnt/sysimage/etc/fstab


Regards

anthonyr
Posts: 2
Joined: 2017/11/23 23:30:44

Re: Centos 6 boot failure

Post by anthonyr » 2017/11/26 10:18:08

Hi,

Really appreciate your help. I forgot to mention that I can access the dracut# prompt on the USB drive, which allows me to run commands. So I was hoping that I could cat /etc/fstab from there but didn't work. I screen captured some commands that did work see attached image e.g. blkid. Do they help, or are there other commands I could run from dracut#. I wasn't sure about installation media. I can also access grub so can potentially inspect anything there as well.

Cheers
Tony
Attachments
dracut.jpg
dracut.jpg (131.41 KiB) Viewed 913 times

Post Reply