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

@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

Follow

@synthgal oh god yeah, nmtui is super useful and good

Β· Β· 0 Β· 0 Β· 0

@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?

@synthgal yeah, /dev/sda rather than /dev/sdaX

You want it in the master boot record of the disk you're booting from

@synthgal Sorry, that's probably GPT rather than MBR these days

You want the bootloader on the drive you're using rather than in a partition is the long and short of it

@troubleMoney ugh my brain always mixed up GPT and UEFI for some annoyign reason, running now

@synthgal It's been a while since I mucked around with bootloaders and stuff, I keep remembering the older commands for things

@troubleMoney wait hang on new grub uses gruf.cfg, but thats the one with a bunch of code I dont understand

@synthgal oh yeah, course, that's me remembering old stuff

I think it should be fine with the defaults so try rebooting to see if it's fixed, if not it won't do any damage and we can go from there

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!