You are not logged in.

#1 2018-05-11 12:56:17

m4estr001
Member
From: Serbia
Registered: 2018-01-24
Posts: 16

[SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

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

#2 2018-05-11 20:15:37

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

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?? big_smile You have to actually fill in the information in the parenthesis. wink

Offline

#3 2018-05-11 20:22:24

m4estr001
Member
From: Serbia
Registered: 2018-01-24
Posts: 16

Re: [SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

drcouzelis wrote:
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?? big_smile You have to actually fill in the information in the parenthesis. wink

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

#4 2018-05-11 20:39:25

m4estr001
Member
From: Serbia
Registered: 2018-01-24
Posts: 16

Re: [SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

Here is the paste of my 40_custom, at the moment, which does not work. https://pastebin.com/uYECPbsA

Offline

#5 2018-05-11 21:05:07

loqs
Member
Registered: 2014-03-06
Posts: 17,502

Re: [SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

Please also post the output of

# parted -l
# blkid

Offline

#6 2018-05-11 21:13:45

m4estr001
Member
From: Serbia
Registered: 2018-01-24
Posts: 16

Re: [SOLVED]Dual Boot [Grub Dual Boot] two Arch Linux's

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

Board footer

Powered by FluxBB