My computer is a dual-boot system, where the Manjaro on the /dev/nvme0n1 and Windows 10 on the /dev/sda.(sdc and sdd are usb ports, sdb is hard drive) After updating Manjaro by sudo pacman -Syu
today, I can’t get into grub. It just straightly boot Manjaro.
Here is some command line I run in Manjaro:
#fdisk -l:
.......
设备 起点 末尾 扇区 大小 类型
/dev/nvme0n1p1 2048 206847 204800 100M EFI 系统
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft 保留
/dev/nvme0n1p3 239616 1400831 1161216 567M Windows 恢复环境
/dev/nvme0n1p4 1400832 2424831 1024000 500M Linux 文件系统
/dev/nvme0n1p5 2424832 19202047 16777216 8G Linux swap
/dev/nvme0n1p6 19202048 228917247 209715200 100G Linux 文件系统
/dev/nvme0n1p7 521117696 730830847 209713152 100G Linux 文件系统
......
设备 起点 末尾 扇区 大小 类型
/dev/sda1 2048 1230846 1228799 600M EFI 系统
/dev/sda2 1230848 313171873 311941026 148.7G Microsoft 基本数据
/dev/sda3 313171968 937699327 624527360 297.8G Microsoft 基本数据
.......
#spercificly there are 2 EFI Windows partition, previos one on the nvme, the new on the sda.
#That's because I migrate Windows from nvme to sda and leave the old EFI there.
#lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 55.4M 1 loop /var/lib/snapd/snap/core18/1944
loop1 7:1 0 32.3M 1 loop /var/lib/snapd/snap/snapd/11107
loop2 7:2 0 55.5M 1 loop /var/lib/snapd/snap/core18/1988
loop3 7:3 0 2M 1 loop /var/lib/snapd/snap/libimobiledevice/2
loop4 7:4 0 31.1M 1 loop /var/lib/snapd/snap/snapd/11036
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 148.7G 0 part /run/media/bran/系统
└─sda3 8:3 0 297.8G 0 part /run/media/bran/新加卷
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 128M 0 part
└─sdb2 8:18 0 931.4G 0 part
sdc 8:32 1 7.2G 0 disk /run/media/bran/70E1-6606
sdd 8:48 1 28.8G 0 disk
├─sdd1 8:49 1 3G 0 part
└─sdd2 8:50 1 4M 0 part
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 100M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 567M 0 part
├─nvme0n1p4 259:4 0 500M 0 part /boot
├─nvme0n1p5 259:5 0 8G 0 part [SWAP]
├─nvme0n1p6 259:6 0 100G 0 part /
└─nvme0n1p7 259:7 0 100G 0 part /home
#sudo update-grub:
正在生成 grub 配置文件 ...
找到主题:/usr/share/grub/themes/manjaro/theme.txt
找到 Linux 镜像:/boot/vmlinuz-5.10-x86_64
找到 initrd 镜像:/boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
找到 Linux 镜像:/boot/vmlinuz-5.9-x86_64
找到 initrd 镜像:/boot/intel-ucode.img /boot/initramfs-5.9-x86_64.img
Found initrd fallback image: /boot/initramfs-5.9-x86_64-fallback.img
找到 Linux 镜像:/boot/vmlinuz-5.8-x86_64
找到 initrd 镜像:/boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
找到 Linux 镜像:/boot/vmlinuz-5.7-x86_64
找到 initrd 镜像:/boot/intel-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
找到 Linux 镜像:/boot/vmlinuz-5.4-x86_64
找到 initrd 镜像:/boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
警告: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe:警告: 未知的设备类型 nvme0n1.
完成
And system information:
██████████████████ ████████ bran@bran-t500
██████████████████ ████████ OS: Manjaro 20.2.1 Nibia
██████████████████ ████████ Kernel: x86_64 Linux 5.10.19-1-MANJARO
██████████████████ ████████ Uptime: 40m
████████ ████████ Packages: 1607
████████ ████████ ████████ Shell: bash
████████ ████████ ████████ Resolution: 2560x2520
████████ ████████ ████████ DE: KDE 5.79.0 / Plasma 5.21.2
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ GTK Theme: Mcata-dark-solid-alt [GTK2/3]
████████ ████████ ████████ Icon Theme: McMojave-circle
████████ ████████ ████████ Disk: 221G / 660G (34%)
████████ ████████ ████████ CPU: Intel Core i7-7700HQ @ 8x 3.8GHz [61.0°C]
████████ ████████ ████████ GPU: GeForce GTX 1060
RAM: 2259267584-
What should I do? Thanks for helping.