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 …

  • silent_water [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    you should be able to reuse the /boot partition from arch, I’m pretty sure. you can just update the grub configuration ubuntu set up to add arch to it that way.

    • DNOS@reddthat.comOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Sorry I’m trying to install arch after Ubuntu what did u mean by reusing the boot partition from arch you mean try to update grub from the arch install while in Chroot?

      • silent_water [she/her]@hexbear.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        no like you can skip the entire grub-install part and just mount your ubuntu /boot partition as your boot partition in arch and go through the normal install process. then at the end, you just update the grub.cfg to include the arch install.

        edit: if you don’t have a separate ubuntu /boot partition, you’re going to need to reinstall it with a separate boot partition, or configure the bootloader in arch and do grub-install but stick in the ubuntu boot block into grub.cfg. the issue is that you’re still going to need to update the configuration on the ubuntu side so it uses the arch /boot partition and installs kernels there.