#Yet another issue with grub

96 messages · Page 1 of 1 (latest)

remote turtle
#

which firmware are you using @thorn tree

#

please, please don't name any of the Linuxphobic firmwares

#

please

thorn tree
remote turtle
thorn tree
#

And it supports UEFI

remote turtle
#

and how it interacts with Linux

#

im sorry

thorn tree
#

Both Ubuntu and windows were on the menu

#

So I know it’s capable of working

sinful bane
#

@thorn tree are you able to chroot?

sinful bane
#

run grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub

thorn tree
#

I’m doing the process exactly as documented

#

Everything is mounted properly

sinful bane
#

run this after it:

thorn tree
#

And that too, I’ve done

sinful bane
#

do you have a second computer?

#

just asking

thorn tree
#

Yes

sinful bane
#

alright cool, you want to install arch on the entire drive right?

#

dont type a whole ass paragraph

thorn tree
#

No, let me give you the full background. So the last couple days I’ve installed arch on my laptop, had some issues with grub on that too, also dual booting windows and arch, still don’t know how it fixed itself when the method didn’t change. I’m now trying to do the same dual boot of windows and arch on my main desktop PC. The windows boot manager is on my C drive, and all of that space is dedicated to windows. On my D drive, there is a large partition also for windows, however there’s ~200G free space I want to use for arch on the drive. The process I’ve done is to make 3 partitions with that free space, a swap, efi and filesystem. I’ve done the documented process on the wiki, and installed grub and set it up exactly like the wiki detailed and how you described, yet no entries appear.

thorn tree
#

Not easily, I’ve got quite a lot on there and I’d rather not have to reinstall everything

#

Not worth the effort

sinful bane
#

I mean it would be alot easier to do it that way

#

to format the drive and install arch and then reinstall windows on top of it

thorn tree
#

I’d rather not, arch isn’t that important to me

#

I really don’t see where I’ve gone wrong

sinful bane
#

me neither tbh

thorn tree
#

I’ll try start from scratch and hope it works, but grub has always been temperamental for me

#

@sinful bane just to double check, it’s okay to mount the windows efi and the arch efi to the same location right

sinful bane
#

why are you even messing with the windows partitions

thorn tree
sinful bane
#

I'd rather select them from the BIOS

thorn tree
#

How would you do that?

sinful bane
#

select from the boot menu?

thorn tree
#

Oh the bios boot menu

sinful bane
sinful bane
thorn tree
#

But you can’t add stuff to grub from the bios can you?

sinful bane
#

bruh just use the bios

#

it will make your work a lil easier

thorn tree
sinful bane
#

you dont have to switch the boot order

#

just go to the boot menu and select the partition you want to boot in

thorn tree
sinful bane
#

alright good luck

thorn tree
sinful bane
#

I think so yeah

#

(@hybrid wyvern)

thorn tree
#

Infact most my commands are saying this now, god what’s going on

#

I did it from scratch, no differently, this actually makes 0 sense

hybrid wyvern
thorn tree
hybrid wyvern
#

I suggest you mount it as /boot/efi rather than /boot, unless you have special requirements such as full system encryptionp

thorn tree
sick mistBOT
#

Senatvs Popvlvsqve Romanvs received a thank you cookie!

thorn tree
#

Or are you on about the windows one? If so I can’t really resize that that easily

hybrid wyvern
thorn tree
#

I’m not really sure what difference changing the directory makes, but you know more than me so I’ll take your word for it

hybrid wyvern
thorn tree
#

ahh I see

hybrid wyvern
#

They would definitely not be stored on the 100MiB ESP.

thorn tree
#

Not the 500MiB sda one

hybrid wyvern
#

Grub has the ability to read common Linux file systems, so loading the kernel from ext4, xfs and btrfs is no problem for it.

thorn tree
#

I’m still getting this issue

thorn tree
#

Ignore all the extra lines, that was just so I could fit the picture on the monitor

#

This is so confusing

thorn tree
#

Do I need to resize the windows efi, and if so, how?

hybrid wyvern
thorn tree
hybrid wyvern
# thorn tree

Only one ESP should be mounted as /boot/efi,

  • run umount /boot/efi twice
  • clean up the old vmlinuz and initramfs.
  • reinstall grub with the new ESP path
  • copy vmlinuz from /lib/modules to /boot in the target filesystem
  • rebuild initramfs
thorn tree
hybrid wyvern
thorn tree
hybrid wyvern
thorn tree
#

I’ll give it another go and let you know, Ty

thorn tree
#

Should I now mount the windows efi somewhere else then use os prober?

#

That did it, thanks for all the help