No ha funcionado, tras hacer eso, obtuve la siguiente salida por consola:
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme2n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: warning: unknown device type nvme2n1.
done
Luego he reiniciado el PC, y no apareció el GRUB, directamente ha arrancado Windows.
Le pregunté a ChatGPT para hacerlo ya que no tenía ni idea de esto, me dijo poner dos comandos:
- El primero:
sudo update-grub
- Y el segundo:
sudo grub-install /dev/sda
(que en mi caso era la unidad NVMe donde tengo instalado Windows, no funcionó).
FDISK:
sudo fdisk -l ✔
[sudo] password for sergio:
Disk /dev/nvme1n1: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Samsung SSD 980 PRO 2TB
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: 5AF5B71A-238A-421F-AEA6-AD004362B329
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 206847 204800 100M EFI System
/dev/nvme1n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme1n1p3 239616 3905439743 3905200128 1,8T Microsoft basic data
/dev/nvme1n1p4 3905439744 3907026943 1587200 775M Windows recovery environme
Disk /dev/nvme2n1: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 980 PRO 500GB
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: 8F7A6E2A-9D55-4371-A188-458330FA3BA6
Device Start End Sectors Size Type
/dev/nvme2n1p1 4096 618495 614400 300M EFI System
/dev/nvme2n1p2 618496 905000596 904382101 431,2G Linux filesystem
/dev/nvme2n1p3 905000597 976768064 71767468 34,2G Linux swap
Disk /dev/nvme0n1: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: CT2000P5SSD8
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: A5ED5C70-FA99-4AB8-90B3-ED29908EC747
LSBLK:
lsblk -f INT ✘
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme1n1
│
├─nvme1n1p1
│ vfat FAT32 FCFD-8090
├─nvme1n1p2
│
├─nvme1n1p3
│ ntfs 22B2FFA0B2FF769F
└─nvme1n1p4
ntfs 628C5AEC8C5ABA6D
nvme2n1
│
├─nvme2n1p1
│ vfat FAT32 9DAA-8D5C 299,1M 0% /boot/efi
├─nvme2n1p2
│ ext4 1.0 4ea69ce9-7797-47e5-afaa-4c358a195ace 357,6G 10% /
└─nvme2n1p3
swap 1 swap f4a49b8c-0ecc-45e6-9b04-0a8c1ffc3e67 [SWAP]
nvme0n1
│
└─nvme0n1p1
ntfs BAB26829B267E7F9
EFIBOOTMGR:
sudo efibootmgr ✔
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,0003
Boot0000* Windows Boot Manager HD(1,GPT,82286738-a8af-4a43-bf88-6867e0fa2794,0x800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
Boot0002* Manjaro HD(1,GPT,2870951e-ded8-4af0-9a50-db146144d28c,0x1000,0x96000)/\EFI\Manjaro\grubx64.efi
Boot0003* UEFI OS HD(1,GPT,2870951e-ded8-4af0-9a50-db146144d28c,0x1000,0x96000)/\EFI\BOOT\BOOTX64.EFI0000424f
Gracias por tu respuesta, ¿me podrías decir como hacer esto?