Dual Boot grub problem

Hi!
I have reinstalled manjaro on my PC along with my Windows 10, now when I start the PC only manjaro starts, I have read a little and looked at the bios but I am not very clear why it happens. Now I can’t access windows.

You will tell me what you want to see about my PC configuration.

Thank you

Please see → Dual boot with Windows - ArchWiki

How exactly?

BIOS mode / UEFI mode? Same as Windoof?

Disks formatted MBR or GPT?

You could start with posting output of

inxi -Fza
sudo fdisk -l
test -d /sys/firmware/efi && echo efi || echo bios
cat /etc/default/grub

Also interesting might be to read what is published here:

1 Like

Read that too

System:
  Kernel: 6.6.26-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=d3359355-16d2-47d6-8a72-80da29377f1f rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: Z370P D3 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: Z370P D3-CF v: x.x serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends v: F2 date: 11/09/2017
CPU:
  Info: model: Intel Core i5-8400 bits: 64 type: MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF4
  Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
    desc: 1x9 MiB
  Speed (MHz): avg: 800 min/max: 800/4000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
    bogomips: 33613
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  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: IBRS; IBPB: conditional; STIBP: disabled;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Gigabyte
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: none empty: HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e92
    class-ID: 0380
  Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Gigabyte
    driver: nouveau v: kernel non-free: 550.xx+ status: current (as of 2024-04;
    EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports:
    active: DP-1,DP-3,HDMI-A-1 empty: DP-2 bus-ID: 01:00.0 chip-ID: 10de:1f08
    class-ID: 0300 temp: 36.0 C
  Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10.1:9
    chip-ID: 046d:081b class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: nouveau,iris gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5560x1920 s-dpi: 96 s-size: 1471x508mm (57.91x20.00")
    s-diag: 1556mm (61.27") monitors: <missing: xrandr>
  Monitor-1: DP-1 model: LG (GoldStar) 27GL850 serial: <filter> built: 2020
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480
  Monitor-2: DP-3 model: Philips PHL 278E8Q serial: <filter> built: 2017
    res: 1920x1080 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-3: HDMI-A-1 model: Mi Monitor serial: <filter> built: 2021
    res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x293mm (20.75x11.54")
    diag: 603mm (23.7") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau platforms:
    device: 0 drv: nouveau device: 1 drv: iris device: 2 drv: swrast gbm:
    drv: nouveau surfaceless: drv: nouveau x11: drv: nouveau inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: mesa v: 24.0.2-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: NV166 device-ID: 10de:1f08
    memory: 5.81 GiB unified: no
  API: Vulkan v: 1.3.279 layers: N/A device: 0 type: integrated-gpu
    name: Intel UHD Graphics 630 (CFL GT2) driver: mesa intel
    v: 24.0.2-manjaro1.1 device-ID: 8086:3e92 surfaces: xcb,xlib
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10.1:9
    chip-ID: 046d:081b class-ID: 0102 serial: <filter>
  Device-4: Corsair VOID ELITE Wireless Gaming Dongle
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-3:2 chip-ID: 1b1c:0a51 class-ID: 0300
  API: ALSA v: k6.6.26-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: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br-35f11252f488 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: veth073891c state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-4: veth1480ed5 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-5: veth5cb46af state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-6: vetha4b4434 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:7
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 29.53 GiB (1.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3SSD8
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR311 temp: 30.9 C
    scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC43 scheme: MBR
Partition:
  ID-1: / raw-size: 150.46 GiB size: 147.04 GiB (97.73%)
    used: 29.53 GiB (20.1%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-2: /boot/efi raw-size: 512.1 MiB size: 511 MiB (99.80%)
    used: 456 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 26.0 C mobo: N/A gpu: nouveau temp: 36.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 866
Info:
  Memory: total: 16 GiB available: 15.5 GiB used: 11.45 GiB (73.9%)
  Processes: 419 Power: uptime: 1h 58m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 1 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.19 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: 1219 pm: pacman pkgs: 1204 libs: 358 tools: pamac pm: flatpak
    pkgs: 8 pm: snap pkgs: 7 Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh
    v: 5.9 default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.34
[sudo] contraseña para toni: 
Disco /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectores
Modelo de disco: ST1000DM010-2EP1
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 4096 bytes
Tamaño de E/S (mínimo/óptimo): 4096 bytes / 4096 bytes
Tipo de etiqueta de disco: dos
Identificador del disco: 0x248c6f3c

Disposit.  Inicio Comienzo      Final   Sectores Tamaño Id Tipo
/dev/sda1             2048 1953519615 1953517568 931,5G  7 HPFS/NTFS/exFAT


Disco /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectores
Modelo de disco: CT1000P3SSD8                            
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Tipo de etiqueta de disco: dos
Identificador del disco: 0x6ea15bf8

Disposit.      Inicio   Comienzo      Final   Sectores Tamaño Id Tipo
/dev/nvme0n1p1              2048    1187839    1185792   579M  7 HPFS/NTFS/exFAT
/dev/nvme0n1p2           1187840 1636941670 1635753831   780G  7 HPFS/NTFS/exFAT
/dev/nvme0n1p3 *      1636941671 1637990399    1048729 512,1M  c W95 FAT32 (LBA)
/dev/nvme0n1p4        1637990400 1953520064  315529665 150,5G 83 Linux


Disco /dev/loop0: 4 KiB, 4096 bytes, 8 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes


Disco /dev/loop1: 55,66 MiB, 58363904 bytes, 113992 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes


Disco /dev/loop2: 218,39 MiB, 228999168 bytes, 447264 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes


Disco /dev/loop5: 39,1 MiB, 40996864 bytes, 80072 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes


Disco /dev/loop3: 91,69 MiB, 96141312 bytes, 187776 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes


Disco /dev/loop4: 117,4 MiB, 123101184 bytes, 240432 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
efi
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'menu' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=hidden

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

Thats the output,
i will read these articles also, thanks !

I’m a bit concerned about your output from command

test -d /sys/firmware/efi && echo efi || echo bios

which was

efi

Your disks are all msdos formatted which is usually allowing only a BIOS mode installation. But you have probably installed via UEFI mode and the ESP has been installed on /dev/nvme0n1p3. In this case most likely you won’t be able to boot Windoze via grub’s boot menu because Windoze looks to be installed in BIOS mode.

Anyway, change this in your /etc/default/grub to

# Set to 'countdown' or 'menu' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

Afterwards, run

sudo update-grub

and reboot. Now you should see the grub menu where Windoze should show up in case both Linux Manjaro and Windoze are installed in BIOS mode. If they are installed in different modes you only can switch to the other OS via your firmware launch.

If you want to fix this make sure both OS are installed in the same mode which means one of the OS should be reinstalled.

2 Likes