Grub menu option not working/available

Yesterday after update my laptop was super slow due to some weird issue with nvidia driver and i have to reinstall everything using a bootable drive…

The problem happend during installation is that it was asking for 300mb of storage for boot partition and i had only one partition with 260mb, I gone with installation and everything working now but its does not show the boot screen where i can select the manjaro and window…

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk 
├─sda1        8:1    0 301.8G  0 part /home
├─sda2        8:2    0 518.7M  0 part 
└─sda3        8:3    0   629G  0 part /run/media/username/Local Disk
nvme0n1     259:0    0 465.8G  0 disk 
├─nvme0n1p1 259:1    0   260M  0 part /boot/efi
├─nvme0n1p2 259:2    0    16M  0 part 
├─nvme0n1p3 259:3    0 367.3G  0 part 
├─nvme0n1p4 259:4    0   522M  0 part 
└─nvme0n1p5 259:5    0  97.7G  0 part /var/lib/systemd-swap
                                      /var/log
                                      /var/cache
                                      /


here is partition structure windows partition is there with all files and stuff, nvme0n1p1 and nvme0n1p5 are where i installed manjaro boot and root partition respectively

Some more details

Model: ATA TOSHIBA MQ04ABF1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size   File system  Name                  Flags
 3      290MB   676GB   675GB  ntfs         Basic data partition  msftdata
 1      676GB   1000GB  324GB  btrfs
 2      1000GB  1000GB  544MB  fat32                              bios_grub


Model: WDC WDS500G2B0C-00PXH0 (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                  Flags
 1      1049kB  274MB  273MB   fat32        SYSTEM                boot, esp
 2      274MB   290MB  16.8MB               No name               msftres
 3      290MB   395GB  394GB   ntfs         Basic data partition  msftdata
 5      395GB   500GB  105GB   btrfs
 4      500GB   500GB  547MB   ntfs         Basic data partition  hidden, diag


System details

System:
  Kernel: 5.17.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.17-x86_64
    root=UUID=af5123d1-e707-4e2a-be32-384ddc671227 rw rootflags=subvol=@ quiet
    apparmor=1 security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 87B1 v: 31.23 serial: <superuser required> UEFI: AMI
    v: F.25 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 26.6 Wh (55.8%) condition: 47.7/47.7 Wh (100.0%)
    volts: 12.2 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: N/A status: charging cycles: 429
CPU:
  Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1481 high: 1751 min/max: 1400/3000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1751 2: 1397
    3: 1550 4: 1515 5: 1570 6: 1458 7: 1397 8: 1397 9: 1489 10: 1462 11: 1397
    12: 1397 bogomips: 71880
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown 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
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M vendor: Hewlett-Packard driver: nouveau v: kernel
    non-free: 515.xx+ status: current (as of 2022-05) arch: Turing pcie:
    speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s ports:
    active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99
    class-ID: 0300
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: none bus-ID: 05:00.0 chip-ID: 1002:1636
    class-ID: 0300
  Device-3: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-3:3 chip-ID: 0408:5365 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: amdgpu,modesetting alternate: fbdev,vesa gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x150d built: 2018
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.17.9-1-MANJARO)
    v: 4.6 Mesa 22.0.4 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_sof_amd_renoir
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.17.9-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 6 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.36 TiB used: 752.52 GiB (53.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS500G2B0C-00PXH0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 211210WD temp: 44.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 7C scheme: GPT
Partition:
  ID-1: / raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 16.84 GiB (17.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 554 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 301.76 GiB size: 301.76 GiB (100.00%)
    used: 210.76 GiB (69.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/log raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 16.84 GiB (17.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 256 MiB used: 256 MiB (100.0%) priority: 50
    file: /var/lib/systemd-swap/swapfc/1
  ID-2: swap-2 type: file size: 256 MiB used: 256 MiB (100.0%) priority: 49
    file: /var/lib/systemd-swap/swapfc/2
  ID-3: swap-3 type: file size: 256 MiB used: 256 MiB (100.0%) priority: 48
    file: /var/lib/systemd-swap/swapfc/3
  ID-4: swap-4 type: file size: 256 MiB used: 203.7 MiB (79.6%) priority: 47
    file: /var/lib/systemd-swap/swapfc/4
  ID-5: swap-5 type: file size: 256 MiB used: 97.8 MiB (38.2%) priority: 46
    file: /var/lib/systemd-swap/swapfc/5
  ID-6: swap-6 type: file size: 256 MiB used: 35 MiB (13.7%) priority: 45
    file: /var/lib/systemd-swap/swapfc/6
  ID-7: swap-7 type: file size: 256 MiB used: 49.9 MiB (19.5%) priority: 40
    file: /var/lib/systemd-swap/swapfc/7
  ID-8: swap-8 type: file size: 256 MiB used: 0 KiB (0.0%) priority: 39
    file: /var/lib/systemd-swap/swapfc/8
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
  GPU: device: amdgpu temp: 47.0 C device: nouveau temp: N/A
Info:
  Processes: 353 Uptime: 9h 10m wakeups: 12 Memory: 7.19 GiB
  used: 3.53 GiB (49.0%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1304 lib: 348 flatpak: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.16


you mean it doesnt show the grub menu where you can select wnidows or manjaro?

Are you trying to say that your grub menu does not open?

@brahma @hamblingreg52 Yes, Sorry didnt know it was called Grub menu

so first run this command:
sudo update-grub
and does it says there that windows is detected?

AFAIK the Grub is now hidden by default. You can access it at boot by taping Shift.
If you want to make it always visible, see: GRUB - ArchWiki

it does not…

Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.17-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.17-x86_64.img
Found initrd fallback image: /boot/initramfs-5.17-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.13-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.13-x86_64.img
Found initrd fallback image: /boot/initramfs-5.13-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.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-05-25 23:00:02 | timeshift-btrfs/snapshots/2022-05-25_23-00-02/@ | daily    | N/A                                           |
Found snapshot: 2022-05-25 04:27:37 | timeshift-btrfs/snapshots/2022-05-25_04-27-37/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-05-25 03:47:54 | timeshift-btrfs/snapshots/2022-05-25_03-47-54/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 3 snapshot(s)
Unmount /tmp/grub-btrfs.vVqbL1a1wJ .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.

so check if windows is being detected in bios boot settings

its there but even selecting in boot drive opens the manjaro open

windows boot partition is probably broken… just to be sure go to /etc/default/grub:
kate /etc/default/grub
and change this line to look like this:
GRUB_TIMEOUT_STYLE=menu
then save the file and run this:
sudo update-grub
reboot and check

1 Like

Menu is visible but window is not there, how to get windows back… :smiling_face_with_tear: helmmmp

you need windows usb or dvd, and repair windows boot partition from there… search for guides on internet on how to repair windows boot partition, theres plenty of them, and its not difficult

ohk… Basically just boot and repair the window installation right?

no just repairing the windows boot, there is a option for this, when you boot windows usb… just search for some guide on internet

2 Likes

OK thanks…

when you repair the boot partition, you have to run this command again:
sudo update-grub
so that you have windows detected in the grub menu

1 Like

Hello, Its fixed but the problem is that, Now window load by default i looked into bios settings to Change the boot order but boot order has OS Boot manager as in it but issue with it, is that Window and Manjaro both act as OS Boot manager so even though Manajaro Boot manager show Grub menu and show Windows in it but i dont know how to make manajaro boot manager act as default one…

so can you boot into manjaro? im not understanding what you mean

SO, if i power on my laptop it will directly go into windows…
To boot into manajro i have press F9 on startup of laptop and then have to choose boot device to boot from…

I though to fix it by going into BIOS setting and change the order to manjaro but it list three things

OS Boot manager 
USB devices 
Network attached devices 

when i press F9 and Boot devices shows up in a List, Manjaro and Window both are listed as OS boot manager so how do i fix that because from bios it can not be done…

so you can change the boot order in bios boot priority settings? and can you add a boot entry in bios? also is fastboot disabled in windows/bios?