Dual boot failed

Mod-edit: Split output
Please don’t combine output of different commands.


Hi

Need help about dual boot

Here is the outcome of

inxi -Fxxxza
sudo parted -l
sudo efibootmgr -v
test -d /sys/firmware/efi && echo efi || echo bios

[manjaro@manjaro ~]$ inxi -Fxxxza 
System:    Kernel: 5.9.11-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=manjaro 
           misolabel=MANJARO_KDE_202 quiet systemd.show_status=1 apparmor=1 security=apparmor driver=nonfree nouveau.modeset=0 
           i915.modeset=1 radeon.modeset=1 
           Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 20QTS07C00 v: ThinkPad P1 Gen 2 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20QTS07C00 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: N2OET41W (1.28 ) date: 11/25/2019 
Battery:   ID-1: BAT0 charge: 68.7 Wh condition: 68.7/80.4 Wh (85%) volts: 17.2/15.4 model: Celxpert 5B10V98091 type: Li-poly 
           serial: <filter> status: Full cycles: 103 
CPU:       Info: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: A (10) microcode: DE L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 801 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117GLM [Quadro T1000 Mobile] vendor: Lenovo driver: nvidia v: 455.45.01 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1fb9 
           Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:4 chip ID: 04f2:b67c serial: <filter> 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.3 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10fa 
           Sound Server: ALSA v: k5.9.11-3-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:15bc 
           IF: enp0s31f6 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 bus ID: 52:00.0 chip ID: 8086:2723 
           IF: wlp82s0 state: up mac: <filter> 
Drives:    Local Storage: total: 491.26 GiB used: 769.4 MiB (0.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBQNTY-512G-1001 size: 476.94 GiB block size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 11170101 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: SanDisk model: Cruzer Glide size: 14.32 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: N/A size: 11.47 GiB used: 769.4 MiB (6.6%) fs: overlay source: ERR-102 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 43.0 C mobo: 39.0 C 
           Fan Speeds (RPM): cpu: 0 fan-2: 2170 
Info:      Processes: 300 Uptime: 30m Memory: 15.29 GiB used: 1.93 GiB (12.6%) Init: systemd v: 246 Compilers: gcc: N/A 
           Packages: pacman: 1217 lib: 329 flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.08 
[manjaro@manjaro ~]$ sudo parted -l
Model: SanDisk Cruzer Glide (scsi)
Disk /dev/sda: 15.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      3103MB  3107MB  4194kB  primary               esp


Model: WDC PC SN730 SDBQNTY-512G-1001 (nvme)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  274MB   273MB   fat32           EFI system partition          boot, hidden, esp
 2      274MB   290MB   16.8MB                  Microsoft reserved partition  msftres
 3      290MB   64.7GB  64.4GB  ntfs            Basic data partition          msftdata
 5      64.7GB  65.3GB  537MB   fat32                                         boot, legacy_boot, esp
 6      65.3GB  69.5GB  4295MB  linux-swap(v1)                                swap
 7      69.5GB  112GB   42.9GB  ext4
 8      112GB   511GB   399GB   ext4
 4      511GB   512GB   1049MB  ntfs            Basic data partition          hidden, diag
[manjaro@manjaro ~]$ sudo efibootmgr -v
BootCurrent: 001F
Timeout: 0 seconds
BootOrder: 0001,0000,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022,0023,0024
Boot0000* Windows Boot Manager  HD(1,GPT,f0c0211b-0ee5-474b-9009-adae6f81d20e,0x800,0x82000)/File(\EFI\manjaro\grubx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.}...7................
Boot0001* Manjaro       HD(5,GPT,de382e83-86c8-1245-bb81-5ce7194e7e4f,0x648a800,0x100000)/File(\EFI\Manjaro\grubx64.efi)
Boot0010  Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu     FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012  Diagnostic Splash Screen      FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013  Lenovo Diagnostics    FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014  Regulatory Information        FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015  ThinkShield secure wipe       FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016  Startup Interrupt Menu        FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017  Rescue and Recovery   FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018  MEBx Hot Key  FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD        VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001E* ATA HDD1      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001F* USB HDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* HTTPS BOOT    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri()
Boot0022* LENOVO CLOUD  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boo
Boot0023  Other CD      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0024  Other HDD     VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0025* IDER BOOT CDROM       PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0026* IDER BOOT Floppy      PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0027* ATA HDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0028* ATAPI CD      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
[manjaro@manjaro ~]$ test -d /sys/firmware/efi && echo efi || echo bios
efi

If you look at the result of “sudo parted -l”, efi is flagged as boot, legacy-boot, esp.

I swear that legacy boot is disabled in the bios setting, the efi partition is flagged as boot in the installer, but somehow it is flagged as legacy-boot. Wonder if this is the reason that it booted to Windows 10, not manjaro.

I followed every step in this guide, and I have installed manjaro two times on this computer. I never had problem with dual booting before. Please help me:(

Dear @minju524, please don’t post pictures, especially when really unnecessary as in this case as you can simply drag and drop the text blocks into your post and format the text blocks by ~~~ at the begin and then end in a separate line. :wink:

Edit: THANKS!

I would start deleting unnecessary boot entries by efibootmgr command, have never seen 28 entries :astonished:

It could be that the ESP is crowded with old files from ealier installs. Personally, I would re-build it or try to remove what is not in use anymore.

1 Like

Hi thanks!

How do I delete some of the boot entries and which one should I delete?

I think, except for windows and manjaro, they all look like they might be from the manufacturer. :slight_smile:

EDIT:
Don’t know if it matters.

This does not go well together, you should have only one boot flag and legacy_boot flag looks wrong to me as well. You can have several efi partitions but only one boot flag.