Problema de inicialização dupla ao lado do Windows 10

1

Eu instalei o Ubuntu 16 do DVD, mas ainda assim só obtenho o login do Windows 10. Eu escolhi a opção 'instalar junto com o Windows 10' e deixei o tamanho do disco automaticamente.

Como vejo o Ubuntu no log in?

sudo fdisk -l

As saídas de cmd acima:

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 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: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 21CEDCE4-4D19-414B-B17E-ABAD653E02D1

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    2050047    2048000  1000M Windows recovery environment
/dev/sda2     2050048    2582527     532480   260M EFI System
/dev/sda3     2582528    3606527    1024000   500M Lenovo boot partition
/dev/sda4     3606528    3868671     262144   128M Microsoft reserved
/dev/sda5     3868672 1037878334 1034009663 493.1G Microsoft basic data
/dev/sda6  1902323712 1953523711   51200000  24.4G Windows recovery environment
/dev/sda7  1037879296 1886214143  848334848 404.5G Linux filesystem
/dev/sda8  1886214144 1902323711   16109568   7.7G Linux swap

As entradas da tabela de partição não estão em ordem de disco.

sudo fdisk -l /dev/sd*
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 21CEDCE4-4D19-414B-B17E-ABAD653E02D1

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    2050047    2048000  1000M Windows recovery environment
/dev/sda2     2050048    2582527     532480   260M EFI System
/dev/sda3     2582528    3606527    1024000   500M Lenovo boot partition
/dev/sda4     3606528    3868671     262144   128M Microsoft reserved
/dev/sda5     3868672 1037878334 1034009663 493.1G Microsoft basic data
/dev/sda6  1902323712 1953523711   51200000  24.4G Windows recovery environment
/dev/sda7  1037879296 1886214143  848334848 404.5G Linux filesystem
/dev/sda8  1886214144 1902323711   16109568   7.7G Linux swap

Partition table entries are not in disk order.
Disk /dev/sda1: 1000 MiB, 1048576000 bytes, 2048000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x73736572

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sda1p1      1920221984 3736432267 1816210284   866G 72 unknown
/dev/sda1p2      1936028192 3889681299 1953653108 931.6G 6c unknown
/dev/sda1p3               0          0          0     0B  0 Empty
/dev/sda1p4        27722122   27722568        447 223.5K  0 Empty

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/sda2: 260 MiB, 272629760 bytes, 532480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x500a0dff

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sda2p1      1948285285 3650263507 1701978223 811.6G 6e unknown
/dev/sda2p2               0          0          0     0B 74 unknown
/dev/sda2p4        28049408   28049848        441 220.5K  0 Empty

Partition 1 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/sda3: 500 MiB, 524288000 bytes, 1024000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x500a0dff

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sda3p1      1948285285 3650263507 1701978223 811.6G 6e unknown
/dev/sda3p2               0          0          0     0B 74 unknown
/dev/sda3p4        28049408   28049848        441 220.5K  0 Empty

Partition 1 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/sda4: 128 MiB, 134217728 bytes, 262144 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda5: 493.1 GiB, 529412947456 bytes, 1034009663 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x73736572

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sda5p1      1920221984 3736432267 1816210284   866G 72 unknown
/dev/sda5p2      1936028192 3889681299 1953653108 931.6G 6c unknown
/dev/sda5p3               0          0          0     0B  0 Empty
/dev/sda5p4        27722122   27722568        447 223.5K  0 Empty

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/sda6: 24.4 GiB, 26214400000 bytes, 51200000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x73736572

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sda6p1      1920221984 3736432267 1816210284   866G 72 unknown
/dev/sda6p2      1936028192 3889681299 1953653108 931.6G 6c unknown
/dev/sda6p3               0          0          0     0B  0 Empty
/dev/sda6p4        27722122   27722568        447 223.5K  0 Empty

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/sda7: 404.5 GiB, 434347442176 bytes, 848334848 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda8: 7.7 GiB, 8248098816 bytes, 16109568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
ubuntu@ubuntu:~$ 
    
por EddieG 28.08.2016 / 14:32

1 resposta

2

Parece que você instalou o grub inadvertidamente na unidade errada ... possivelmente uma partição ou um pendrive.

Verifique se o Grub está instalado na unidade de inicialização específica (provavelmente /dev/sda ). Você pode fazer isso reinstalando o grub com estas etapas:

Inicialize em sua mídia ao vivo (seu disco de instalação do Ubuntu ou pendrive USB). Execute a opção Try Ubuntu . Então vá para um terminal shell e execute estes comandos:

Etapa 1:

$ sudo mount /dev/sdaX /mnt # Make "X" the partition that has Ubuntu installed (i.e. /dev/sda2)

Etapa 2:

$ for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt/$i"; done

Etapa 3:

$ sudo chroot /mnt

Etapa 4:

# update-grub

Etapa 5:

# grub-install /dev/sdX # (x is the hard drive that has linux installed (i.e. /dev/sda)
    update-grub

Agora reinicie o sistema.

Usando o comando $ sudo fdisk -l /dev/sd* no meu sistema mostra:

Device     Boot     Start        End    Sectors  Size Id Type
/dev/sda1            2048  102402047  102400000 48.8G 83 Linux
/dev/sda2  *    102402048  204802047  102400000 48.8G 83 Linux
/dev/sda3       204802048  245762047   40960000 19.5G 82 Linux swap / Solaris
/dev/sda4       245762048 3907028991 3661266944  1.7T 83 Linux

Neste exemplo, o Linux está instalado em /dev/sda1 e /dev/sda2 .

Resolução final

O problema foi resolvido via bate-papo, garantindo que a instalação fosse realizada no modo UEFI e escolhendo Ubuntu na opção de inicialização do Bios.

O Ubuntu apresenta a opção de menu Windows e Ubuntu no menu Grub. Se a opção Bio Boot (ordem) estiver definida como Windows , o sistema inicializará diretamente no Windows. O Windows não reconhece outros sistemas operacionais de instalação.

    
por L. D. James 28.08.2016 / 15:12