Follow

@synthgal looks fine to me assuming you're using redhat or equivalent

Β· Β· 0 Β· 0 Β· 0

@troubleMoney CentOS 7. I just wanted to make sure I wasn't using a guide to do a different thing, my reading comprehension goes down as my stress goes up

@synthgal hm, you can probably ignore those, grub only looks for files with a number in front of them IIRC

Probably best to keep to the guide, the one who wrote that knows more than I do about it

@troubleMoney christ, I think this guide assumes I have a network connection because I have to yum stuff :D

@troubleMoney okay hopefully last question

since I'm using centos and not redhat, would I change /boot/efi/EFI/redhat/grub.cfg to /boot/efi/EFI/centos/grub.cfg?

Other grub guides explicity for centos do it this way but it's a deviation from the repair guide

@troubleMoney well that seemed to do nothing at all.

the rescue mode had me chroot to mount my partition, that woun't change anything?

@synthgal hang on, rescue mode? I thought you were just doing a reinstall

Okay that changes things substantially, sorry, should have realised that was what was going on

What's the current situation when you boot?

@troubleMoney grub just doesn't show up.

It's not in my UEFI settings boot order. Goes straight to windows.

@troubleMoney I was trying to get a SparkyLinux dvd to boot and someone suggested temporarily switching to legacy boot to just see if that's the problem and not installing under it.

I did that, and the dvd didn't boot so I changed back and grub was just gone.

@troubleMoney the CentOS installation disk emergency shell is where I'm trying to do this from

@synthgal okay, cool, so you're chrooted in to your centos install? If you're not, then do so

then you'll want to do "/sbin/grub-install /dev/[your hard disk]", your hard disk will be in the form of hda or sda or something similar

After that check that there isn't anything obviously wrong in the /boot/grub/grub.conf file and reboot, that should fix it

@troubleMoney grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory

@synthgal cool, if you try /sbin/grub-install /dev/[whatev] again it should hopefully find that file

@troubleMoney just to be clear, I want /dev/sda, not /dev/sdaX? isnt GRUB supposed to be in that boot partition with EFI?

Show newer
Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!