boot blinking cursor, pre grub

General support questions
Post Reply
svennd
Posts: 45
Joined: 2015/12/11 10:25:22
Contact:

boot blinking cursor, pre grub

Post by svennd » 2017/03/24 12:40:45

I have a server with Centos 7, I installed Centos 7 on a 500Gb disk and have 2 disks in ZFS mirror for /data (zfs was done post install). The machine runs fine, but due to some application changes, I wanted all the services to restart and rebooted the machine. After this reboot the machine did not come online anymore and I checked : The machine does its POST and then stops at a blank screen with a blinking cursor (I can't type) From what I tried its pre-grub. (Shift or E does not show anything).

I have booted a rescue session and I can access the filesystem completely. (chrooting /mnt/sysimage works) I could even mount the ZFS mirror after loading the module. I disabled selinux and tried to remake initrd using

Code: Select all

dracut -f /boot/initramfs-3.10.0-514.el7.x86_64 3.10.0-514.el7.x86_64
but that did not solve anything ...

I'm kinda out of options ... The machine was installed and booted nicely before so it should be something new I guess ... tips are welcome!

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: boot blinking cursor, pre grub

Post by TrevorH » 2017/03/24 13:04:37

Check what disk your BIOS is trying to boot from.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

svennd
Posts: 45
Joined: 2015/12/11 10:25:22
Contact:

Re: boot blinking cursor, pre grub

Post by svennd » 2017/03/24 13:36:10

Yep, that was it, now I fubar'd my setup it runs and ends with

Code: Select all

root :

svennd
Posts: 45
Joined: 2015/12/11 10:25:22
Contact:

Re: boot blinking cursor, pre grub

Post by svennd » 2017/03/24 13:53:53

Ok I reran grub and now it boots again, thanks !

For reference :
- my boot order was wrong, pointing to a zfs partion member
- I tried to remake initramfs (must have done something wrong)
- changed the boot order to the bootable device
- remade the initramfs using :

Code: Select all

dracut -f /boot/initramfs-3.10.0-514.el7.x86_64 3.10.0-514.el7.x86_64
- remade grub

Code: Select all

grub2-mkconfig -o /boot/grub2/grub.cfg
now it boots again :) yaay thanks TrevorH !

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: boot blinking cursor, pre grub

Post by TrevorH » 2017/03/24 13:55:53

dracut -f /boot/initramfs-3.10.0-514.el7.x86_64 3.10.0-514.el7.x86_64
So now you just need to yum update to get all the last 4 months fixes on there that have been released since 7.3 came out...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply