hy grub noob here needs a looooot of help
DNOS @ DNOS @reddthat.com Posts 1Comments 71Joined 2 yr. ago
Thanks I always thought ther was a grub for each os and they will recognize each other ... Following an other user advices I have added a separate /boot partition to Ubuntu but eventhow I have added the line in the fatab on boot it doesn't mount properly so I have to manually mount it from the recovery mode... if I select to mount it on boot from the GUI (gnome-disks) it adds a couple of lines in the file /run/systems/generator/boot.mount but nothing changes ...can u confirm me that this file is not consulted on boot so its not relevant ? So should I mount the /boot/EFI (already mounted) ,/ , /home and /boot (already mounted) on Ubuntu before updating grub ? Doesn't this tell to mount the arch os when I boot ubuntu ? .... I have just realized could the problem be in the fact that during the arch install I have followed a tutorial which have told me to create a /boot /EFI directory on witch I should mount the EFI partition while in Ubuntu the EFI partition is mounted in /boot/efi that could defenetly be it ... how should I proceed to fix it remove the EFI directory with all the stuff there's in it and mount it on /boot/efi? Don't wanna mess it up removing stuff is always dangerous... Let me know thanks a lot man I feel like we are getting closer
No problem it's really late here too
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
Hey do you know if it's normal then after mounting the /boot partition, adding this ... UUID=1f32... /boot ext4 defaults 0 2 ... to the fatab and updating grub with grub-update or white grub mkconfig.io.... I can't no longer boot into Ubuntu ?it puts me in some kind of recovery mode Should I proceed anyway with the arch install ? Does the problem come from the fact I haven't already reinstalled grub ? PS I have tried the --refresh flag but apparently it doesn't exist ...
Thank you so much it's like a couple of weeks I'm going back and forth on this topic and this is the biggest step I have done ... I will surely let you know if I successfully end up bricking my PC :)
Btw I'm sorry for any previous gender errors I have just noticed the correct pronouns 😅
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
Hy thanks i would give it a go 👍🏻
Thanks a lot man I would love to tell you I understand everything but unfortunately the only part that I got was the first and I don't have a separate boot partition :( so what do you mean by stick in the ubuntu boot block into grub config I have to reinstall grub from arch then I update it making a new .Cfg and then remaining in the arch install I should find and add the other two boot entries ? Should I delete grub before installing it again ? Im asking because I think I have already tried to install it and i believe I was still using the ubuntu one ... What about updating grub on the Ubuntu side how am I going to boot into it ? Thanks a lot man I don't want to waste your time u gave me some nice homeworks I will be back in a few days ...
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?
Thanks I have found arch with grub but I still can't see it in the boot entries 😂 seems somebody is joking with me ... Anyway as usual I boot grub comes out without arch so I select Ubuntu he boots me in recovery mode I mount the /boot partition and boot into Ubuntu ...