When starting a disk with ubuntu (I don’t remember which version, but not older than 16.04)

there was an error

Minimal Bash-like line editing is supported. For the firs word, TAB list possible command completions. Anywhere eise tab list possible device or file completions grub> 

Began to do the instructions as here: https://help.ubuntu.ru/wiki/%D0%B2%D0%BE%D1%81%D1%81%D1%82%D0%B0%D0%BD%D0% BE% D0% B2% D0% BB% D0% B5% D0% BD% D0% B8% D0% B5_grub

Booted from a flash drive.

At the command sudo fdisk -l displays this

 Disk /dev/loop0: 1.5 GiB, 1612648448 bytes, 3149704 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 The primary GPT table is corrupt, but the backup appears OK, so that will be used. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 97EC9BD5-12A2-4852-94C0-30BAB6C4FD4A Device Start End Sectors Size Type /dev/sda1 2048 1050623 1048576 512M EFI System /dev/sda2 1050624 960630783 959580160 457.6G Linux filesystem /dev/sda3 960630784 976771071 16140288 7.7G Linux swap 

By the command sudo mount / dev / sda2 / mnt

displays

 mount: special device /dev/sda2 does not exist 

Help.

  • Is there a typo in the description of the problem? you mount sda1, and an error on sda2. - mikewoe pm
  • corrected typo - Rupert Smith
  • grub is written on the boot partition, in your case it is sda1. In this article there is no separate dedicated section for it, so the root is also mounted. In general, try to use Boot-Repair, since he will do all of the above for you - mikewoe

0