1

During Ubuntu startup (not remember exactly, but no newer than 16.04)

I got 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>

Tried to fix this by following this instruction in russian from help.ubuntu.ru.
Note: english version is available on help.ubuntu.com.

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

The sudo mount /dev/sda2 /mnt

gives

mount: special device /dev/sda2 does not exist

Please help me.

N0rbert
  • 99,918
  • 1
    Ask Ubuntu is an English Only site. Please translate from Russian/Cyrillic into English using a translation service before posting your question. – Thomas Ward Aug 06 '18 at 15:24
  • @RupertSmith I translated your post. Important message above is The primary GPT table is corrupt, but the backup appears OK, so that will be used.. Please add output of sudo blkid ; lsblk to the question. If GPT is corrupt, then block devices may not be created. And of course write in English. – N0rbert Aug 06 '18 at 15:28
  • @ThomasWard please reopen. It is not user-friendly (OP seems to be newbie). Even after I have translated his post. You gave him 15 minutes. It is too fast. – N0rbert Aug 06 '18 at 15:31
  • @N0rbert "Too fast" or not, post contents can still be edited after closure and then that puts them into the Reopen queue whether it was mod-closed or not. I was also live-monitoring this post for the update (translation, etc.) so the need to request for reopening (or critiquing how quickly this was closed for not being in English) is unnecessary. – Thomas Ward Aug 06 '18 at 15:35
  • @N0rbert

    sudo blkid ; lsblk

    https://justpaste.it/4xygw

    – Rupert Smith Aug 06 '18 at 16:01
  • @RupertSmith I recommend to download Boot Repair Disk and follow its instructions to recover GRUB. – N0rbert Aug 06 '18 at 16:17
  • 2
  • @N0rbert Boot repair just gave me to create Bootinfo (only one button in app). Report here http://paste.ubuntu.com/p/gsXZM5mQH7/ . I launched OS with Try Ubuntu from USB – Rupert Smith Aug 07 '18 at 05:30
  • @N0rbert https://askubuntu.com/questions/493612/how-to-reinstall-grub after command [sudo mount /dev/sda2 /mnt/root] answer [mount: special device /dev/sda2 does not exist] – Rupert Smith Aug 07 '18 at 05:37

0 Answers0