• Grub with 2 drives


    so i have setup antergos and found that os-prober is in.
    but windows is missing in grub

    info:
    UEFI
    2 sata drives with GPT table
    windows 8.1 on first
    antergos on second

    whenever i try to regen the grub config i see that it cant find windows
    (but in the terminal it does not show antergos either altough the option in grub menu exists)

      
    [[email protected] ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg  
    [sudo] password for randy:   
    Aanmaken van GRUB-configuratiebestand...  
    Gevonden thema: /boot/grub/themes/Antergos-Default/theme.txt  
    Linux-image gevonden: /boot/vmlinuz-linux  
    Initiële RAM-schijf-image gevonden: /boot/initramfs-linux.img  
    No volume groups found  
    voltooid <--(means done)  
    
    
  • so i have setup antergos and found that os-prober is in.
    but windows is missing in grub

    info:
    UEFI
    2 sata drives with GPT table
    windows 8.1 on first
    antergos on second

    whenever i try to regen the grub config i see that it cant find windows
    (but in the terminal it does not show antergos either altough the option in grub menu exists)

      
    [[email protected] ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg  
    [sudo] password for randy:   
    Aanmaken van GRUB-configuratiebestand...  
    Gevonden thema: /boot/grub/themes/Antergos-Default/theme.txt  
    Linux-image gevonden: /boot/vmlinuz-linux  
    Initiële RAM-schijf-image gevonden: /boot/initramfs-linux.img  
    No volume groups found  
    voltooid <--(means done)  
    
    
  • Check at the very end of /etc/default/grub and comment out the line we added as a workaround to an upstream bug. I have found that on some systems it works while on others it refuses to work unless that line is added. Let me know how it goes.

    Cheers!

  • at the end of the file i have
    [code:27e6hhe9]#GRUB_SAVEDEFAULT=“true”[/code:27e6hhe9]
    already commented out.

  • Hmm…you must not have the line I was referring to. Add the following and then try running grub-mkconfig again. [code:3vdpgtth]GRUB_DISABLE_SUBMENU=y[/code:3vdpgtth]

    Cheers!

  • apparently that was missing, but after adding it and running mkconfig not only is windows still missing but the antergos extra options menu item is gone i only have 1 entry instead of two?

  • Yeah that’s what that line does (disable submenus) It doesnt appear you are experiencing the submenu bug though to you can remove the extra line. Post the output of:

    sudo fdisk -l
    

    and also

    ls -la /boot/EFI
    
  • Hi,

    Maybe it’s related to this [url:16fq2lqe]https://github.com/Antergos/Cnchi/issues/68[/url:16fq2lqe] ?

    We have to investigate this

  • sorry the fdisk output is dutch so you have to figure out what is what

    fdisk:

    [[email protected] ~]$ sudo fdisk -l  
      
    Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors  
    Eenheid: sectoren van 1 \* 512 = 512 bytes  
    Sectorgrootte (logisch/fysiek): 512 bytes / 4096 bytes  
    In-/uitvoergrootte (minimaal/optimaal): 4096 bytes / 4096 bytes  
    Schijflabeltype: gpt  
    Schijf-ID: 29D7B2CA-F25D-46B2-84B2-57F9BCC0E821  
      
    Apparaat Begin Einde Grootte T:systeem  
    /dev/sda1 2048 616447 300M Windows recovery environment  
    /dev/sda2 616448 821247 100M EFI System  
    /dev/sda3 821248 1083391 128M Microsoft reserved  
    /dev/sda4 1083392 1953523711 931G Microsoft basic data  
      
      
    Disk /dev/sdb: 232,9 GiB, 250059350016 bytes, 488397168 sectors  
    Eenheid: sectoren van 1 \* 512 = 512 bytes  
    Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes  
    In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes  
    Schijflabeltype: gpt  
    Schijf-ID: B3184694-8CEB-469C-985B-4A70ED7B5E22  
      
    Apparaat Begin Einde Grootte T:systeem  
    /dev/sdb1 2048 199312 96,3M EFI System  
    /dev/sdb2 199313 488397134 232,8G Microsoft basic data  
      
    
    

    EDIT: Wait it sees antergos as microsoft data?(sdb2) maybe its related to your 68 issue. because right now it looks like it is configured to see ms basic data as linux

    ls:

    [[email protected] ~]$ ls -la /boot/EFI  
    totaal 1001  
    drwxr-xr-x 5 root root 512 7 mrt 21:52 .  
    drwxr-xr-x 4 root root 512 1 jan 1970 ..  
    drwxr-xr-x 2 root root 512 7 mrt 21:52 antergos\_grub  
    drwxr-xr-x 2 root root 512 7 mrt 21:52 BOOT  
    drwxr-xr-x 3 root root 512 7 mrt 21:52 Microsoft  
    -rwxr-xr-x 1 root root 1022368 7 mrt 21:42 shellx64\_v2.efi  
    
    

    unrelated:
    can you make it so that in cnchi i can select my country even though i chose english?
    because right now im am forced to select dutch or i cant get netherlands in the country list.(which is not helpful with logs…)

  • I think this could be your issue: [http://www.rodsbooks.com/linux-fs-code/][0]">[http://www.rodsbooks.com/linux-fs-code/][1] Let me know if it helps!

    [0]: <a href=
    [1]: http://www.rodsbooks.com/linux-fs-code/

  • @“lots.0.logs”:111wzrgi said:

    I think this could be your issue: [http://www.rodsbooks.com/linux-fs-code/][0]">[http://www.rodsbooks.com/linux-fs-code/][1] Let me know if it helps![/quote:111wzrgi]
    issue… well more like me not knowing what is used…
    but i dont know if this is relevant to the grub issue though

    [0]: <a href=
    [1]: http://www.rodsbooks.com/linux-fs-code/

  • Hi,

    I think this is neither GPT nor Windows related.

    I’ve tested with two hard drives (linux on first, installing Antergos on the other one) and Antergos can’t find the Linux of the 1st hard disk.

    I think this is Grub related. I’ve seen that today a Grub update has been installed in my system but I don’t know what has been updated. I’ll check asap.

  • I know Arch is a rolling, bleeding edge distro but damn GRUB seems to be hella broken on lots of different systems. I now understand why so many people highly prefer syslinux.
    I’d expect this version GRUB to be in the Testing repo, though, not in Core - as the name states “GRUB 2.02.[b:368g5lm5]beta2[/b:368g5lm5]”

  • I have had no problems with GRUB but I also don’t have UEFI. In any case this is Arch and we use the latest and greatest (and sometimes buggy) versions of everything. Since you seem to have a more advanced partition layout with multiple OS’s, I’d recommend trying to give control of /boot to GRUB from one of your other distros to see if it helps.

    Oh and regarding the beta2 package: It’s been beta2 for as long as I can remember so I assume the development cycle of GRUB is extremely slow paced. Because of that, a beta2 grub is not the same as a beta2 Chromium (for example).

    Cheers!

  • Ya, I don’t have problems with GRUB either, and neither have UEFI. But there are times when fixing/adjusting a GRUB setup/layout has been easily done with grub-customizer, available in the AUR.

    If you haven’t tried GC, I would certainly give it a shot.

    In God's love,
    †MaNNa <{{{\>< …to You all thanks and glory Lord Yeshua!

    And Jesus prayed to The Father, "And this is the way to ete…

  • @“lots.0.logs”:x5vt7czl said:

    I have had no problems with GRUB but I also don’t have UEFI.[/quote:x5vt7czl]

    but karasu also had problems while testing with 2 drives (couple posts up)
    so maybe something is wrong with multiple drive setups? maybe for some reason it can only access 1 ESP at a time or it just straight up ignores secondary drives

  • I tried this on a VM. I had 3 drives attached. I installed antergos on each one (different desktops)… The second one found the first install and the last install found both prior installs. Next I will try to install 1 windows, 1 antergos, and 1 linux mint to see what happens.

  • The second one found the first install and the last install found both prior installs.

    Nice! I’ll test it here just to be sure, but this was not working before, so good news!

    Cheers!

Posts 18Views 3256
Log in to reply