• Help me with the grub dualboot on Win 7


    [[email protected] antergos]# grub-install --root-directory=/mnt /dev/sda1
    Installing for i386-pc platform.
    grub-install: warning: File system `ext2’ doesn’t support embedding.
    grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged…
    grub-install: error: will not proceed with blocklists.

  • @jmirandda420

    Assuming you have BIOS legacy boot, not UEFI boot, your commands should be something like

    sudo grub-install /dev/sda
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    But to better understand what you are doing, you should read this page first: https://wiki.archlinux.org/index.php/GRUB

  • You could also show the output of command

    lsblk -fm
    
  • antergos]# lsblk -fm
    NAME FSTYPE LABEL UUID MOUNTPOINT SIZE OWNER GROUP MODE
    loop0 squashfs /run/archiso/sf 1.8G root disk brw-rw----
    sda 111.8G root disk brw-rw----
    ├─sda1 ext4 f6152929-8e29-44bc-ae11-bc9cb441fb82 /mnt/boot 27.8G root disk brw-rw----
    ├─sda2 128M root disk brw-rw----
    ├─sda3 ntfs 7834C88034C842BC 79.9G root disk brw-rw----
    └─sda4 swap d267f326-4aeb-4ca3-8b7b-970f912956c6 3.9G root disk brw-rw----
    sdb iso9660 ANTERGOS 2017-11-06-09-10-49-00 7.5G root disk brw-rw----
    ├─sdb1 iso9660 ANTERGOS 2017-11-06-09-10-49-00 /run/archiso/bo 1.9G root disk brw-rw----
    └─sdb2 vfat ARCHISO_EFI 5A80-25E1 64M root disk brw-rw----

  • @manuel no trabaja bro! hablas espanol verdad?
    esto me arroja

    antergos]# sudo grub-install /dev/sda1
    Installing for i386-pc platform.
    grub-install: error: failed to get canonical path of `root-image’.

  • @jmirandda420
    No I don’t speak Spanish, but can use Google translator… ;)

    Be careful:
    sudo grub-install /dev/sda

    Do not add trailing 1.

  • [[email protected] antergos]# sudo grub-install /dev/sda
    Installing for i386-pc platform.
    grub-install: error: failed to get canonical path of `root-image’.

  • @jmirandda420
    Seems that you have some errors in your disk. How did you install Antergos? Did all seem to go well during install, or were there problems?

  • Oh now I noticed you have /dev/sda1 mounted. It should not be, so:

    sudo umount /dev/sda1
    

    Then try again grub-install.

  • @manuel said in Help me with the grub dualboot on Win 7:

    Seems that you have some errors in your disk. How did you install Antergos? Did all seem to go well during install, or were there problems?

    I had kali linux and windows 7 with dualboot worked perfectly the two operating systems but I do not use much kali and decided to return to antergos because I liked this distribution more and delete kali to install it in that partition it should be noted that when I installed kali in windows I had to change the partition table for windows I think I used MBR and I made another for kali from windows without using the UEFI Mode I installed it well without problems and ran very well

  • @manuel the same thing bro!
    [[email protected] antergos]# grub-install --target=i386-pc /dev/sda
    Installing for i386-pc platform.
    grub-install: error: failed to get canonical path of `root-image’.

  • What’s the output of

    sudo fdisk -l
    
  • [[email protected] antergos]# sudo fdisk -l
    Disk /dev/loop0: 1.8 GiB, 1886822400 bytes, 3685200 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

    Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 7431F7F2-6D31-4757-87F2-3F4A7FCEA93A

    Device Start End Sectors Size Type
    /dev/sda1 167979008 226246585 58267578 27.8G EFI System
    /dev/sda2 206848 468991 262144 128M Microsoft reserved
    /dev/sda3 468992 167979007 167510016 79.9G Microsoft basic data
    /dev/sda4 226246586 234441614 8195029 3.9G Linux filesystem

    Partition table entries are not in disk order.

    Disk /dev/sdb: 7.5 GiB, 8002732032 bytes, 15630336 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x607aa239

    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 0 3912959 3912960 1.9G 0 Empty
    /dev/sdb2 224 131295 131072 64M ef EFI (FAT-12/16/32)

  • That info is very confusing. Partitions show different things on different commands, but they shouldn’t.
    So to me the disk seems to be somehow corrupted.

    Disk partition table is reported to be gpt.

    Sounds like a reinstall of everything would solve it, but is it possible? Hopefully you have a recent backup of all stuff, since reinstall deletes everything.

    And if you reinstall, make partition table to msdos instead of gpt (e.g. with gparted).
    First install Windows, then Antergos.

  • I have to install win 7 again true and then continue with antergos there will be no other

  • Sorry, I have to go now, will be back hopefully tomorrow if I find the time. :)

  • thanks bro dont worry have nice day! thanks so much

  • $ cat /etc/fstab

    Dime que tira esto ?

  • Tambien desconectá los usb, que son creo, los /dev/sdb1 y 2

grub111 dualboot13 win2 Posts 23Views 862
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.