Grub is not loaded after dual boot

I have recently done dual boot of windows 10 and manjaro linux in UEFI mode.
At first I installed windows and than linux. Now I can use only Manjaro Linux .
During boot grub is not displayed. I have installed and updated Grub already but it didnot worked.

Hi @ashishgharti,

I’m guessing you’ll find this helpful:

Hope you manage!

1 Like

first run this command: sudo update-grub and in the logs check if OS PROBE is there, and if it detects windows
if yes, navigate to /etc/default/grub and edit this line to look like this: GRUB_TIMEOUT_STYLE=menu
save the file, run again: sudo update-grub reboot, the menu should appear

1 Like

After executing update-grub I get this:

sudo update-grub  :heavy_check_mark:
[sudo] password for ashishg:
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-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.
Detecting snapshots …
No snapshots found.
If you think an error has occurred , please file a bug report at " GitHub - Antynea/grub-btrfs: Include btrfs snapshots at boot options. (Grub menu) "
Unmount /tmp/grub-btrfs.CTxAiS0R82 … Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

windows is not being detected, so try following:
go to bios and check if windows is being detected there under boot options, if yes try booting into it and see if it work…
then check in bios settings if secure boot/fastboot is disabled and SATA is in AHCI mode
also post formated output - click this icon in editor: </> - of following commands:
inxi -Fazy
sudo parted -l && lsblk
test -d /sys/firmware/efi && echo efi || echo bios

it looks like its not being detected… try booting the hitachi …
then follow the steps in the comment above

1 Like

After selecting hitachi grub rescue appears.

so you probably broken windows boot loader, which you can easily repair via windows usb/dvd, but first do the steps in the comment above…

1 Like
inxi -Fazy                                                                                                                                              ✔ 
System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=bbab3bb7-70c6-4d32-a630-c3ed7298f6ca rw rootflags=subvol=@ quiet
    apparmor=1 security=apparmor
    resume=UUID=2c1d461d-0293-4859-9b83-d5c9e9cbc9f5 udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Unknown Mobo: Intel model: DP55WB v: AAE64798-206
    serial: <superuser required> UEFI: Intel v: WBIBX10J.86A.0165.2009.1110.1916
    date: 11/10/2009
CPU:
  Info: model: Intel Core i5 650 bits: 64 type: MT MCP arch: Westmere
    family: 6 model-id: 0x25 (37) stepping: 2 microcode: 0x11
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1426 high: 1467 min/max: 1197/3193 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1467 2: 1467
    3: 1467 4: 1306 bogomips: 25608
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; 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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GT218 [GeForce 210] driver: nouveau v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 ports: active: VGA-1 empty: DVI-I-1,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:0a65 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: nouveau display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: VGA-1 model: Dell IN1920 serial: <filter> built: 2010
    res: 1366x768 hz: 60 dpi: 85 gamma: 1.2 size: 410x230mm (16.14x9.06")
    diag: 470mm (18.5") ratio: 16:9 modes: max: 1366x768 min: 720x400
  OpenGL: renderer: NVA8 v: 3.3 Mesa 21.3.8 direct render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56
    class-ID: 0403
  Device-2: NVIDIA High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0be3
    class-ID: 0403
    ~  inxi -Fazy                                                                                                                                              ✔ 
System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=bbab3bb7-70c6-4d32-a630-c3ed7298f6ca rw rootflags=subvol=@ quiet
    apparmor=1 security=apparmor
    resume=UUID=2c1d461d-0293-4859-9b83-d5c9e9cbc9f5 udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Unknown Mobo: Intel model: DP55WB v: AAE64798-206
    serial: <superuser required> UEFI: Intel v: WBIBX10J.86A.0165.2009.1110.1916
    date: 11/10/2009
CPU:
  Info: model: Intel Core i5 650 bits: 64 type: MT MCP arch: Westmere
    family: 6 model-id: 0x25 (37) stepping: 2 microcode: 0x11
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1466 high: 1467 min/max: 1197/3193 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1467 2: 1467
    3: 1467 4: 1466 bogomips: 25608
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; 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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GT218 [GeForce 210] driver: nouveau v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 ports: active: VGA-1 empty: DVI-I-1,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:0a65 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: nouveau display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: VGA-1 model: Dell IN1920 serial: <filter> built: 2010
    res: 1366x768 hz: 60 dpi: 85 gamma: 1.2 size: 410x230mm (16.14x9.06")
    diag: 470mm (18.5") ratio: 16:9 modes: max: 1366x768 min: 720x400
  OpenGL: renderer: NVA8 v: 3.3 Mesa 21.3.8 direct render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56
    class-ID: 0403
  Device-2: NVIDIA High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0be3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.32-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Intel 82578DC Gigabit Network driver: e1000e v: kernel port: 2020
    bus-ID: 00:19.0 chip-ID: 8086:10f0 class-ID: 0200
  IF: enp0s25 state: up speed: 10 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 42.75 GiB (9.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HDS721050CLA662
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: A50E scheme: GPT
Partition:
  ID-1: / raw-size: 39.06 GiB size: 39.06 GiB (100.00%) used: 8.73 GiB (22.4%)
    fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 568 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 206.26 GiB size: 206.26 GiB (100.00%)
    used: 174.8 MiB (0.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-4: /var/log raw-size: 39.06 GiB size: 39.06 GiB (100.00%)
    used: 8.73 GiB (22.4%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 4.88 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: nouveau temp: 67.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 216 Uptime: 9m wakeups: 0 Memory: 3.76 GiB used: 1.35 GiB (36.0%)
  Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1
  Packages: pacman: 1195 lib: 332 flatpak: 0 Shell: Zsh v: 5.8.1 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.15
sudo parted -l && lsblk                                                                                                                                 ✔ 
Model: ATA Hitachi HDS72105 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End    Size    File system     Name                  Flags
 3      123MB  231GB  231GB   ntfs            Basic data partition  msftdata
 2      231GB  236GB  5244MB  linux-swap(v1)                        swap
 4      236GB  278GB  41.9GB  btrfs
 1      278GB  279GB  315MB   fat32                                 boot, esp
 5      279GB  500GB  221GB   btrfs


NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0   300M  0 part /boot/efi
├─sda2   8:2    0   4.9G  0 part [SWAP]
├─sda3   8:3    0 215.1G  0 part /run/media/ashishg/3E8CEBEB8CEB9C21
├─sda4   8:4    0  39.1G  0 part /var/log
│                                /var/cache
│                                /
└─sda5   8:5    0 206.3G  0 part /home
test -d /sys/firmware/efi && echo efi || echo bios                                                                                                      ✔ 
efi

edit your post by formating the output, in the editor click this icon: </>
inside it put the output from those commands…
but it looks like you dont have windows boot partition, so you have to restore it…
google something like this: restore windows 10 boot loader from usb - there are step by step guides on how to do it

1 Like

Hi @ashishgharti,

Just a tip:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

1 Like