I dual-boot Windows and Manjaro.
After a recent manual BIOS update (done through Windows), my Manjaro installation is no longer bootable. I have since tried to reinstall GRUB but haven’t been succesful.
Here is some additional info:
About my laptop:
- Partitions:
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: KXG50ZNV512G TOSHIBA
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E8AA329E-516F-4163-B107-AE5876D99C8B
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme0n1p3 239616 243603455 243363840 116G Microsoft basic data
/dev/nvme0n1p4 998117376 1000214527 2097152 1G Windows recovery environment
/dev/nvme0n1p5 243603456 346003455 102400000 48.8G Linux filesystem
/dev/nvme0n1p6 346003456 981733375 635729920 303.1G Linux filesystem
/dev/nvme0n1p7 981733376 998117375 16384000 7.8G Linux filesystem
For explaination,
/dev/nvme0n1p1 is the boot/efi parition
/dev/nvme0n1p5 is where I have my non-accesible Manjaro installation
/dev/nvme0n1p6 is what I use to mount /home. In the reinstallation scenario, I would not want this formatted.
/dev/nvme0n1p7 is used for swap.
- Model/make: Huawei Matebook X Pro
- This dual-boot setup has worked great for 3+ years.
- The windows installation is GPT/EFI
- Windows boots fine
- Secureboot and fastboot are disabled
Things I’ve tried:
- Restore Grub Bootloader
Tried all steps here: Restore_the_GRUB_Bootloader from Manjaro Documentation
I used a manjaro live USB to try out the following
[manjaro-gnome manjaro]# mount /dev/nvme0n1p5 /mnt
[manjaro-gnome manjaro]# mount /dev/nvme0n1p1 /mnt/boot/efi
[manjaro-gnome manjaro]# manjaro-chroot /mnt /bin/bash
[root@manjaro-gnome /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
grub-install: error: unknown filesystem.
- Tried reinstalling Manjaro with manual partioning
I tried the following “Manual” partition setup.
I use /dev/nvme0n1p5 as / mount point
/dev/nvme0n1p1 as /boot/efi mount point
/dev/nvme0n1p6 as /home mount point
I get this error:
Bootloader installation error
The bootloader could not be installed. The installation command
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force
returned error code
I started the installer from CLI to see logs, and here is what I see
[manjaro-gnome manjaro]# calamares
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
chcon: failed to get security context of '/': Operation not supported
chcon: failed to get security context of '/boot/efi': Operation not supported
chcon: failed to get security context of '/dev': Operation not supported
chcon: failed to get security context of '/home': Operation not supported
chcon: failed to get security context of '/proc': Operation not supported
chcon: failed to get security context of '/run': Operation not supported
chcon: failed to get security context of '/run/udev': Operation not supported
chcon: failed to get security context of '/sys': Operation not supported
chcon: failed to get security context of '/sys/firmware/efi/efivars': Operation not supported
08:23:44 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
ERROR: Installation failed: "Bootloader installation error"
What I’m seeking help with:
My first preference would be to simply restore my existing Manjaro partition, but I am not able to do so. Any guidance on that or a reinstall where I can preserve my /home drive (/dev/nvme0n1p6) would be great as well.
Thanks
