You are not logged in.
Hey all,
I have a problem. I will write my whole process of installation and configuration: I have installed first arch linux, made three partitions (/dev/sda1 as a EFI partition, /dev/sda2 SWAP partition and finally /dev/sda3 ext4 partition for system), i have left some free space (around 300GB) so i can later install second os for testing purposes. So when the day came, i have decieded to install second OS, so i did. I made partition /dev/sda4 formated to ext4 etc... I didnt mention i was whole time using GRUB as my bootloader. When i came to the part about installing bootloader on second OS, i have left chroot, and went to first OS and generated grub.cfg (grub-mkconfig -o /boot/grub/grub.cfg) For the first try i tried automaticlly with os-prober, which did detect my arch but i was left unbootable to the second (new) while first one worked proprely as before. Here is the grub-mkconfig paste and grub.cfg of that case: https://ptpb.pw/i94z and current grub.cfg : https://pastebin.com/Wn2wWKWa . I have also tried manually to edit /etc/grub.d/40_custom and copied menuentry of first arch, edited UUIDs and partition everywhere set hd0,gp4 but with no luck too. If anyone can help i would really appricate that!
Best regards!
Last edited by m4estr001 (2018-05-11 21:17:53)
Offline
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.menuentry "Other Linux" {
set root=(hd0,4)
linux /boot/vmlinuz (add other options here as required)
initrd /boot/initrd.img (if the other kernel uses/needs one)
}
### END /etc/grub.d/40_custom ###
Did you literally copy and paste that from the wiki?? You have to actually fill in the information in the parenthesis.
Offline
https://ptpb.pw/i94z wrote:### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.menuentry "Other Linux" {
set root=(hd0,4)
linux /boot/vmlinuz (add other options here as required)
initrd /boot/initrd.img (if the other kernel uses/needs one)
}
### END /etc/grub.d/40_custom ###Did you literally copy and paste that from the wiki?? You have to actually fill in the information in the parenthesis.
Of course, not, this is here by accident, I have shanced everything, i have even tried to use generated menuentry of first linux OS just to modify for second one.
Offline
Here is the paste of my 40_custom, at the moment, which does not work. https://pastebin.com/uYECPbsA
Offline
Please also post the output of
# parted -l
# blkid
Offline
Hey all, thanks for answering, I still can't believe, what a fatal mistake i made. I didnt, somehow, install intel-ucode and that is what caused the whole problem. Other part is allright,
best regards thanks again!
Offline