• Boot problems


    I installed Antergos on a hdd which I converted to GPT before installing and I had Windows 7 on a hdd which has mbr table. So grub doesnt have a Windows 7 on the boot menu maybe because it had a mbr table.
    Now I converted win7 drive to gpt from mbr but what should I do to add it to grub?
    Note: that win7 drive doesnt have a efi partition only a system reserved partition and a 1mb overhead from conversion.

    Thanks

  • @firefly
    Hi!
    Open a terminal and type:
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    Then reboot and check if win 7 appears at GRUB.
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto Sorry for intrusion

    Check if win 7 appears at GRUB:

    # os-prober
    

    and then

    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    reboot

    Autodidacta en la VIDA …y en Linux, también.

  • @judd not at all, i’m a newbie, you are allways wellcome :)
    What os-prober does? (i’ll read about it)
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @judd
    os-prober returns nothing.

    grub-mkconfig recreated config files but still no windows on grub.

    I added an efi partiton to the Windows(64bit) drive then copied boot files there still nothing

  • @firefly said in Boot problems:

    @judd
    os-prober returns nothing.

    grub-mkconfig recreated config files but still no windows on grub.

    I added an efi partiton to the Windows(64bit) drive then copied boot files there still nothing

    thats weird…
    os-prober always worked very well: now, if there are still no windows in the grub, the problem comes in another way …

    $ sudo fdisk -l
    
    

    ?

    Autodidacta en la VIDA …y en Linux, también.

  • @judd

    /dev/sda1       2048    718847    716800  350M Microsoft basic data
    /dev/sda2     718848 124633087 123914240 59,1G Microsoft basic data
    /dev/sda3  124633088 125044735    411648  201M EFI System
    
    

    sda1 is system reserved partition which Windows creates when installing.

  • @firefly said in Boot problems:

    @judd

    /dev/sda1       2048    718847    716800  350M Microsoft basic data
    /dev/sda2     718848 124633087 123914240 59,1G Microsoft basic data
    /dev/sda3  124633088 125044735    411648  201M EFI System
    
    

    sda1 is system reserved partition which Windows creates when installing.

    @firefly
    I do not see any partition with linux … for that reason os-prober did not work

    Autodidacta en la VIDA …y en Linux, también.

  • @judd

    /dev/sdc1  *             63 463812614 463812552 221,2G  7 HPFS/NTFS/exFAT
    /dev/sdc2         463812615 488392064  24579450  11,7G  5 Ek
    /dev/sdc5         463812678 488392064  24579387  11,7G 83 Linux
    
    

    Oh I didnt think that the linux drive is relevant. Here it is

  • Let’s make what’s happening more clear:

    1. Did you install both windows and Antergos in legacy mode?
    2. Did you install Windows in MBR and then converted with some tool to GPT? Which tool did you use?
    3. After conversion you installed Antergos?

    @judd is there any command to check if the partition table is MBR or GPT?

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto said in Boot problems:

    @judd is there any command to check if the partition table is MBR or GPT?
    The same command that I could before

    sudo fdisk -l
    

    Autodidacta en la VIDA …y en Linux, también.

  • @judd ok, and os-prober and sudo grub-mkconfig -o /boot/grub/grub.cfg work with different disks? (he is using sda and sdc) or will he need to manually edit fstab?
    OBS: just trying to clarify and organize my own thoughts here…

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto said in Boot problems:

    @judd bien, y os-probery sudo grub-mkconfig -o /boot/grub/grub.cfgtrabajar con diferentes discos? (él está utilizando SDA y SDC) o va a tener que editar manualmente fstab?

    The two commands work for both disks, at least that happens to me

    Sure you have to edit /etc/fstab by hand

    https://wiki.archlinux.org/index.php/Fstab

    Autodidacta en la VIDA …y en Linux, también.

  • @fernandomaroto @judd

    1. I had a legacy installed win7 when I was installing Antergos in EFI mode. So Win7 was legacy Antergos was EFI all along.
    2. I converted with gdisk
    3. First answer

    I checked both disks and they are definetely GPT.

  • @firefly
    I just checked my fstab, windows is not there and as far as i know it still boots, so i guessing is not necessary.

    Well friend i really think the commands we said should hadve worked…
    There is one thing i found digging the internet, that maybe you installed EFI partitions on both disks, like this
    https://www.reddit.com/r/antergos/comments/5dq96m/windows_10_not_on_grub/

    And this https://forum.antergos.com/topic/4518/windows-10-update-broke-grub2-uefi-system/5 i’m not sure if can help you somehow, but recommends using some software to fix EFI.
    I have not enough knowledge to help you further.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto @judd
    Thanks guys. I’ll update the thread if I find a fix.

boot159 Posts 16Views 716
Log in to reply