this post was submitted on 18 Aug 2023
14 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
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Thanks sis I have done that unfortunately I'm back to the start when booting up I have the customized grub witch makes me think I'm using ubuntus grub and since I have added the line to the fstab I'm booted straight into emergency mode I have typed as suggested journalctl -xb to see the complete logs but there's like 2840 something lines I have scrolled and nothing gives me a hint of what's happening I believe I already had an integrity problem loading x.509 certificate -65 I have taken some pictures of warnings and errors let me know if it would be helpful to you ...

I have used this guide for the rest but I have checked and it matches with the arch wiky https://www.learnlinux.tv/arch-linux-full-installation-guide/ I have chosen to encrypt my LVM partitions and I have modified the files accordingly ...(I hope ) Apparently something is wrong before the description part because I don't see any prompt asking me for the password ... Hope you could help me

Btw since it was working I haven't touched the grub.conf in Ubuntu I have previously added the encryption lines on it because i was confused about what grub.conf file will end up needing to decrypt, and I was scared of not being able to boot back... it doesn't seem to give any problem back then so I won't blame this on it but I will defenetly revert it back to default and give it another go ...

Update mounting the /boot partition manually while in recovery allows me to boot into Ubuntu still no sign of the arch install thow (yes I have the os-prober flag ser up ) with ubuntu I can see also windows but not arch and from arch I can see neither ubuntu and windows I have also tried to modify the line in the fatab as follows with no results ... Should I somehow activate or validate the new fstab ?

UUID=1f32... /boot ext4 errors=remount-ro 0 1

[–] [email protected] 1 points 1 year ago (1 children)

bit tired to respond tonight - I'll get back to you in the morning

[–] [email protected] 2 points 1 year ago

No problem it's really late here too