I for a while had a Windows 10 + Ubuntu LTS dual boot setup, one drive for each OS. Recently i decided to swap ubuntu out for the latest version of Manjaro with the KDE Plasma desktop. I followed the install process and chose to wipe the ubuntu disk (Erase Disk). After installation i rebooted and was thrown into a grub shell.
Could not manage to boot from it and typing exit would launch Windows. Back in the live ISO i tried to reinstall grub, but it did not solved the issue, then i ran efibootmgr
to check that it was not some traces of ubuntu in the windows install (??), but Manjaro was first in the list.
How can i resolve this?
Of course i had no data on that Manjaro installation, so wiping it would be okay. I am also planning to when i know the problem install it with a custom partition setup, with a separate /home
partition.
recheck all option in your UEFI ( for linux)
SecureBoot off
Fast Boot off
No CSM
No Legacy
all disks on AHCI
boot only on UEFI:<partition 1> → EFI install manjaro
you can check in terminal , before install
inxi -Fxza
test -d /sys/firmware/efi && echo efi || echo bios
sudo efibootmgr -v
sudo parted -l
inxi -Fxza
:
System:
Kernel: 6.5.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=manjaro misolabel=MANJARO_KDE_2301 quiet
systemd.show_status=1 splash driver=nonfree nouveau.modeset=0
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: LENOVO product: 30A1S01J00 v: ThinkStation E32
serial: <superuser required>
Mobo: LENOVO model: SHARKBAY v: NO DPK serial: <superuser required>
UEFI: LENOVO v: FBKT72AUS date: 01/26/2014
CPU:
Info: model: Intel Xeon E3-1270 v3 bits: 64 type: MT MCP arch: Haswell
level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 1187 high: 3900 min/max: 800/3900 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 3900 2: 800 3: 800
4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 55894
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
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: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: Micro-Star MSI
driver: nvidia v: 535.104.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-08) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
chip-ID: 10de:2184 class-ID: 0300
Device-2: Logitech BRIO 4K Stream Edition
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 3.1
speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-3:2 chip-ID: 046d:086b
class-ID: 0300 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x272mm (19.02x10.71")
s-diag: 554mm (21.82")
Monitor-1: Unknown-1 mapped: DP-2 res: 1920x1080 hz: 60 dpi: 103
size: 475x267mm (18.7x10.51") modes: 1024x768
API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce GTX
1660/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 8
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
class-ID: 0403
Device-2: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
Device-3: Arturia MiniLab mkII driver: snd-usb-audio type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4.4:9 chip-ID: 1c75:0289
class-ID: 0103
Device-4: Logitech BRIO 4K Stream Edition
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 3.1
speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-3:2 chip-ID: 046d:086b
class-ID: 0300 serial: <filter>
API: ALSA v: k6.5.1-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 0.3.79 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: kernel
port: f040 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8811AU 802.11a/b/g/n/ac WLAN Adapter driver: N/A
type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3
chip-ID: 0bda:a811 class-ID: 0000 serial: <filter>
Bluetooth:
Device-1: ASUSTek ASUS USB-BT500 driver: btusb v: 0.8 type: USB rev: 1.1
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1:2 chip-ID: 0b05:190e
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
Local Storage: total: 1.19 TiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD2500AAKX-07U6AA0 size: 232.89 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1H17 scheme: GPT
ID-3: /dev/sdh maj-min: 8:112 vendor: Kingston model: DataTraveler 3.0
size: 57.71 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
fw-rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 41.0 C mobo: N/A gpu: nvidia temp: 30 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 44%
Info:
Processes: 233 Uptime: 2m wakeups: 0 Memory: total: 16 GiB
available: 15.55 GiB used: 3.63 GiB (23.4%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1188 libs: 314 tools: pamac pm: flatpak pkgs: 0
Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.29
test -d /sys/firmware/efi && echo efi || echo bios
: efi
sudo efibootmgr -v
:
BootCurrent: 0017
Timeout: 2 seconds
BootOrder: 0004,000C,0000,0003,0007,0009,0016,0006,000D,0015,0017,0002,0001
Boot0000* Windows Boot Manager HD(1,GPT,22e38f6d-6c2a-4541-91a6-57833067cf1c,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 6d 8f e3 22 2a 6c 41 45 91 a6 57 83 30 67 cf 1c 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 61 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* Generic Usb Device VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0002* CD/DVD Device VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0003* PLDS DVD-RW DH16AESH BBS(CDROM,,0x0)0000424f
dp: 05 01 09 00 03 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0004* Manjaro HD(1,GPT,cf2b420e-5f4a-4b94-b60d-5a3ae8dd9f60,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 0e 42 2b cf 4a 5f 94 4b b6 0d 5a 3a e8 dd 9f 60 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 61 00 6e 00 6a 00 61 00 72 00 6f 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0006* IBA GE Slot 00C8 v1410 BBS(Network,,0x0)0000424f
dp: 05 01 09 00 06 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0007* WDC WD2500AAKX-07U6AA0 BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0009* Samsung SSD 870 QVO 1TB BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot000C* ubuntu HD(1,GPT,22e38f6d-6c2a-4541-91a6-57833067cf1c,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 6d 8f e3 22 2a 6c 41 45 91 a6 57 83 30 67 cf 1c 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000D* ubuntu HD(1,GPT,22e38f6d-6c2a-4541-91a6-57833067cf1c,0x800,0x32000)/File(\EFI\Ubuntu\grubx64.efi)
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 6d 8f e3 22 2a 6c 41 45 91 a6 57 83 30 67 cf 1c 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 55 00 62 00 75 00 6e 00 74 00 75 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0015* UEFI OS HD(1,GPT,cf2b420e-5f4a-4b94-b60d-5a3ae8dd9f60,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)
dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 0e 42 2b cf 4a 5f 94 4b b6 0d 5a 3a e8 dd 9f 60 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0016* KingstonDataTraveler 3.0PMAP BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0017* UEFI: KingstonDataTraveler 3.0PMAP PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x0,0x7403d0,0x2000)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1a / 03 05 06 00 01 00 / 03 05 06 00 04 00 / 04 01 2a 00 01 00 00 00 d0 03 74 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 00 00 42 4f
sudo parted -l
:
Model: ATA Samsung SSD 870 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp, no_automount
2 106MB 123MB 16.8MB Microsoft reserved partition msftres, no_automount
3 123MB 1000GB 1000GB ntfs Basic data partition msftdata
4 1000GB 1000GB 557MB ntfs hidden, diag, no_automount
Model: ATA WDC WD2500AAKX-0 (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 317MB 315MB fat32 boot, esp
2 317MB 250GB 250GB ext4 root
Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdh: 62.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 3893MB 3897MB 4194kB primary esp
Does anything look wrong?
I recently did the same. I had the bootloader from ubuntu, the uefi menu entry, and the secure boot certificate from ubuntu/microsoft left. The remnants should generally not be a problem (the bootloader takes a megabyte space, who cares, the menu is fixed with reinstalling grub as in the tutorial, manjaro throws a warning about the certificate at boot, again who cares). Everything works. I later deleted the bootloader of ubuntu completely, i still have not reset the MOK.
So i bet on the secure boot setting still on. Look at the post above mine and check everything in the uefi settings.
Ok, thougt the command were to check that, apparently not. Will do it tomorrow.
The commands above look good - you are fully gpt/efi. What bothers me a bit is the shim, which speaks for a ubuntu install with secure boot on. Unlike Ubuntu, Manjaro does not support it. That is why secure boot has to be off. I am about 99% sure that will fix it.
may be :
name point for sdb1 should be /boot/efi , there is no name in your case
→ change name or reformat just sdb1 fat32
→ get UUID and recheck in /etc/fstab ( UUID should be the same )
1st chroot for UUId and /boot/efi ( sdb1 )
always exit for end chroot
sudo lsblk -fs
manjaro-chroot -a
cat /etc/fstab
nano /etc/fstab ( Ctrl + X for save )
exit
2nd chroot for install grub
manjaro-chroot -a ( required to take good path /boot/efi )
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -P
efibootmgr -B 000C -b
efibootmgr -B 000D -b
efibootmgr -v
exit
then you can reboot
Judging by the rest of the posted output i think he had the live usb booted, that is why.
Yea, i could not boot into the installation, so all running of linux commands was on the live ISO, that is why you see a “Kingston Datatraveler” device, i use that usb stick.
Explain more, i am completely new to linux, besides installing premade themes, fish and exa on ubuntu, as well as followi g DT’s arch efi install guide in a vm.
so with USB live iso manjaro
boot on EFI ,
open a terminal & a browser on this topic
and return
sudo lsblk -fs
manjaro-chroot -a
cat /etc/fstab
ls /boot/efi/*
exit
but first
fast boot is actually turned off from windows but if ubuntu booted i guess it is off
fast boot was on when ubuntu worked, but i turndd ot on when manjaro did not.
In windows, fast boot is off, but in my UEFI settings (which for some reason looks loke BIOS settings) quck boot is on. What is quick boot?
Also,what is AHCI?
Edit: Found it!
Once upon a time quick boot was skipping some post checks, but nowadays it is entirely possible to be something else. Toggle it, if it is what i think it was it will cost a couple of seconds and some messages and beeps at boot, or you may hit the jackpot if it is the windows setting we are looking for.
Ahci is a storage controller mode. Not that can cause unbootable system, drives not to be seen etc. (I mean if it is not ahci)
I turned off the windows setting, it just says that it will diplay the logo for a bit more, giving more time to press ENTER to reach the settings and temporary startup device menu.
WAIT TEMPORARY STARTUP THINGY IDENTIFIED MANJARO!!! Thx!!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.