I was running boot-repair tool cause of black screen in booting
This is generally a graphics issue, which is usually remedied with using 'nomodeset' option.
Code:
parted -l:
Model: ATA TOSHIBA MQ01ABF0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32
2 538MB 498GB 498GB ext4 bios_grub
3 498GB 500GB 2012MB linux-swap(v1) bios_grub
Using Gparted remove the 'bios_grub' flags from both, 2 & 3 parititon or /dev/sda2 and /dev/sda3.
Secondly, add a 'boot' flag to /dev/sda1 or your first partition.
See if you are able to boot..
If you can't then Re-run Boot-Repair tool, use Advanced options and install Grub to ESP [EFI System Parttion], which is /dev/sda1 or the FAT32 partition to which you added a 'boot' flag.
Bookmarks