Restore Grub after Windows 10 installation

Hi everyone, I installed Windows 10 after installing Manjaro.
So I want to restore Grub bootloader (using this guide) but I get the following errore when mounting the Manjaro partition: mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
How can I fix this error?
To install Win 10 I had to resize Manjaro partition, could it have been caused by that?

It is hard to say without access to the system directly.

You could try providing the following info.
(No screen shots please - only text)

sudo fdisk -l

and

lsblk -la -o PATH,FSTYPE,PARTTYPE

Normally, you should install in the following order:

  1. Windows
  2. Linux

In your case, you should reinstall Manjaro.

I reinstalled Manjaro and restored my Timeshift backup, now only boots Manjaro.
I tried reinstalling GRUB, but it doesn't detect the Windows 10 installation

Post the outputs @linux-aarhus asled for please.

You have (probably) installed in different mode (UEFI vs. MSDOS Legacy).
If Windows is in different mode than Manjaro, then Grub cannot detect and include in the menu.

I have restored Windows 10 boot manually in EUFI mode, now only boots Windows.

Here are the logs:

Disk /dev/sda: 238,49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: HFS256G39TNF-N3A
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: 19280009-AA66-43A2-899D-9693EFC3EAA0

Dispositivo     Start      Fine   Settori   Size Tipo
/dev/sda1        4096    618495    614400   300M EFI System
/dev/sda2   247945216 500117503 252172288 120,3G Microsoft basic data
/dev/sda3      618496 247945215 247326720   118G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/loop0: 88,69 MiB, 92983296 bytes, 181608 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: 88,49 MiB, 92778496 bytes, 181208 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

PATH       FSTYPE   PARTTYPE
/dev/loop0 squashfs 
/dev/loop1 squashfs 
/dev/loop2          
/dev/loop3          
/dev/loop4          
/dev/loop5          
/dev/loop6          
/dev/loop7          
/dev/sda            
/dev/sda1  vfat     c12a7328-f81f-11d2-ba4b-00a0c93ec93b
/dev/sda2  ntfs     ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
/dev/sda3  ext4     0fc63daf-8483-4772-8e79-3d69d8477de4

Boot to your Manjaro LiveISO in UEFI mode
Use option "Detect EFI bootloaders" and boot to Manjaro.
Restore grub as in the tutorial

2 Likes

Thank you, I fixed.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by