Page 1 of 1
Bad Magic Number in super-block while trying to open /dev/sda4
Posted: 2019/05/19 18:26:45
hi i have this issue, and tried to my fullest extent.
but couldn't achieve.
i need help in booting my system, (error: mounting /sysroot)
i have attached the error files.
i thought the might me a broken error in super blocks, so tried doing that but i got bad Magic Number error:
I loVe linux
hope solving this issue makes me love linux much more
Thank you in Advance
Re: Bad Magic Number in super-block while trying to open /dev/sda4
Posted: 2019/05/19 18:39:03
Your partition does not contain a filesystem. The last line of your screenshot tells you that it's actually an LVM PV which will be part of an LVM VG that will contain LVM LVs.
Before you continue, if you interrupt the boot process when you see the grub menu you should be able to select an older kernel from the list. Do that and see if the problem is specific to the current kernel (did you just run `yum update`?).
If the error occurs on more than one kernel then you may need to fsck things. If it doesn't then it's more likely to be a common problem that happens sometimes where either the initramfs file for that kernel did not get created or it's missing the line from grub.cfg to point to it. In both cases, the easiest thing to do is to run yum reinstall kernel-3.10.0-957.12.2.el7.x86_64 - the kernel name I used there is the very latest one currently available and if you do not have it installed now then you might just yum update kernel to install it and try booting that one.
Do you have free space on your /boot partition? That's a good candidate for the cause of a missing initramfs file.