this post was submitted on 18 Aug 2023
12 points (100.0% liked)

Arch Linux

7744 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

hy im trying to install arch as the third os on my windows / ubuntu machine and i cant figure it out how to set the grub bootloader i have already read the friendly manual but probably also due to my non native English origins i coudnt find an answer to my question witch is during the arch install should i reinstall grub with grub-install ? i would prefer to keep the old (ubuntu) one also because its already customized but unfortunately i cant...if i dont install it i dont have the directory /boot/grub in witch i should place the grub.conf file so should i just create this directory ? i have tried with os-prober correctly activated to generate a new grub.conf but it doesnt pick up the arch install .., what are the files i must have to make grub recognize those partitions as a new os to witch assign a new boot entry ..

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Surqa@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

If I'm not mistaken couldn't you just mount your already configured grub bootloader to /mnt/boot?

For example, during the arch install if your grub is at /dev/sda2, couldn't you do mount --mkdir /dev/sda2 /mnt/boot?

Somebody who knows more than I do can definitely jump in here as well! But could give that a try

[โ€“] DNOS@reddthat.com 2 points 1 year ago* (last edited 1 year ago)

Hy I think silent_water is saying the same thing but unfortunately I don't already have a separate boot partition thanks for the answer I will defenetly dig deeper