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
Centos 6 boot failure
Re: Centos 6 boot failure
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
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
Re: Centos 6 boot failure
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
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 (131.41 KiB) Viewed 923 times