My brother gave me his laptop to install Ubuntu alongside Windows 10.
First of all, I've separated an area for installing Ubuntu and make bootable USB using Etcher.
Then Made three partition as follows:
swap area
ext4 for '/'
and an efi System partition
Then I've Installed the Ubuntu.
It installed successfully. But when I restart there appears a grub shell and says:
error: no such partition.
Entering rescue mode...
grub rescue> _
N.B.
- The hard disk is partitioned with MBR format. And have already three drive for Windows. I don't know how extra three drive is created during Ubuntu installation!
- The system supports BIOS and UEFI. I have installed in both mode but same output...
- I've also tried installing ubuntu by creating only one partition. But it warns me to create an
Efi System Partition
otherwise it may fail to boot.
And now I can't boot into Windows also.
The output of sudo parted -l
:
Model: ATA HGST HTS541010A7 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs
2 525MB 108GB 108GB primary ntfs
3 108GB 1000GB 892GB extended lba
9 108GB 109GB 499MB logical fat32 boot, esp
10 109GB 323GB 214GB logical ext4
8 323GB 331GB 8193MB logical linux-swap(v1)
5 331GB 554GB 223GB logical ntfs
6 554GB 777GB 223GB logical ntfs
7 777GB 1000GB 223GB logical ntfs
Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel?
Ignore/Cancel? I
Model: SMI USB DISK (scsi)
Disk /dev/sdb: 126GB
Sector size (logical/physical): 2048B/512B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 1961MB 1964MB 2523kB EFI