0

I bought a new laptop and tried installing Ubuntu on windows 10. My laptop config is Lenovo Ideapad with 1TB and 256GB SSD. While installing Ubuntu first time it gave a GRub error and the installation failed. When I tried installing Ubuntu second time it showed me Ubuntu exists and gave a option to install alongwith the old one. I selected to erase the old installation and got it installed. This time it worked. But now I cant get into my windows 10. This is the log file

utkarsh@utkarsh-Lenovo-YOGA-520-14IKB:~$ sudo update-grub
[sudo] password for utkarsh: 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-34-generic
Found initrd image: /boot/initrd.img-4.15.0-34-generic
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Adding boot menu entry for EFI firmware configuration
done
utkarsh@utkarsh-Lenovo-YOGA-520-14IKB:~$ sudo fdisk -l
Disk /dev/loop0: 140.9 MiB, 147722240 bytes, 288520 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/loop1: 34.7 MiB, 36323328 bytes, 70944 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/loop2: 14.5 MiB, 15196160 bytes, 29680 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/loop3: 3.7 MiB, 3887104 bytes, 7592 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/loop4: 86.9 MiB, 91099136 bytes, 177928 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/loop5: 2.3 MiB, 2433024 bytes, 4752 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/loop6: 13 MiB, 13619200 bytes, 26600 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: 6D769E35-A6F6-47EC-99A2-6DF7183159C1

Device          Start        End    Sectors   Size Type
/dev/sda1          34     262177     262144   128M Microsoft reserved
/dev/sda2      264192 1543921663 1543657472 736.1G Microsoft basic data
/dev/sda3  1543921664 1544972287    1050624   513M EFI System
/dev/sda4  1584881664 1647382527   62500864  29.8G Linux swap
/dev/sda5  1647382528 1953523711  306141184   146G Linux filesystem
/dev/sda6  1544972288 1584881663   39909376    19G Linux filesystem

Partition 1 does not start on physical sector boundary.
Partition table entries are not in disk order.

Please help

  • 1
    It looks like you have Windows 10 in BIOS boot mode. The disadvantage of BIOS & Windows 10 is that grub only boots working Windows. And Windows breaks & needs chkdsk or turns fast start up back on with updates. If shutdown in that state, you have to temporarily reinstall Windows boot loader, fix Windows, and restore grub. Best to have Boot-Repair & Windows repair flash drive. askubuntu.com/questions/843153/… & askubuntu.com/questions/145902/… – oldfred Sep 15 '18 at 21:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.