Dual boot doesnt work

I installed other version of manjaro in my particion manjaro, the GRUB was not created then i saw in GPT need 1mb BIOS-BOOT particion, then i installed manjaro again resizing the perticion and create the bios-boot particion with with bios_grub flag, and the manjaro root, but again doesnt work. When i reboot have a delay and only start the manjaro, in the bios i change the order to start in the HD and snd the manjaro particion. I try edit /etc/default/grub still doesnt work.
I cant upload images and links here.
Please help me!

Let me get this straight… You installed Manjaro in your Manjaro, then you installed Manjaro. Are you dual-booting Manjaro with the Manjaro in the Manjaro?

:scream:

1 Like

no lol, i was formatting/resetting my manjaro, dual boot with windows, the images ht!tps://imgur.com/a/QTB7x2t
please help me idk what to do!

Screenshots are hard to see on mobile and can’t be indexed for searching.

Please post the output of the commands in your screenshots here with Preformatted text </>.

boot on USB iso manjaro
open a terminal and a browser on this topic

inxi -Fza
sudo parted -l
    manjaro@manjaro-bspwm Linux 5.6.12-1-MANJARO x86_64 20.0.1 Lysia
    ~ >>> inxi -Fza
    System:    Host: manjaro-bspwm Kernel: 5.6.12-1-MANJARO x86_64 bits: 64 
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC                     driver=nonfree nouveau.modeset=0
           i915.modeset=1 radeon.modeset=0 misobasedir=manjaro misolabel=MANJARO_BSPWM_2001 quiet systemd.show_status=1
           Desktop: bspwm 0.9.7-2-g342c2e3 Distro: Manjaro Linux
Machine:   Type: Desktop Mobo: MSI model: H110M PRO-VH PLUS (MS-7A15) v: 1.0 serial: <filter>
           UEFI [Legacy]: American Megatrends v: 1.80 date: 07/20/2017
CPU:       Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP family: 6 model-id: 9E (158) stepping: 9
           microcode: CA L2 cache: 6144 KiB
           Speed: 800 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
           Type: mds mitigation: Clear CPU buffers; SMT disabled
           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: disabled, RSB filling
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 440.82
           Display: x11 server: X.org 1.20.8 driver: nvidia resolution: <xdpyinfo missing>
           Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel
           Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.6.12-1-MANJARO
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 946.07 GiB used: 479.2 MiB (0.0%)
           ID-1: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB block size: physical: 4096 B logical: 512 B
           ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Blade size: 14.56 GiB block size: physical: 512 B
           logical: 512 B
Partition: ID-1: / raw size: N/A size: 5.81 GiB used: 479.1 MiB (8.1%) fs: overlay source: ERR-102
Sensors:   System Temperatures: cpu: 35.0 C mobo: 29.8 C gpu: nvidia temp: 27 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Info:      Processes: 175 Uptime: 1m Memory: 7.74 GiB used: 395.8 MiB (5.0%) Shell: zsh inxi: 3.0.37
~ >>> sudo parted -l
Model: ATA TOSHIBA HDWD110 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  524MB   523MB   ntfs            Basic data partition          hidden, diag
 2      524MB   629MB   105MB   fat32           EFI system partition          boot, esp
 3      629MB   646MB   16.8MB                  Microsoft reserved partition  msftres
 4      646MB   860GB   859GB   ntfs            Basic data partition          msftdata
 5      860GB   995GB   135GB   ext4
 7      995GB   995GB   1049kB
 6      995GB   1000GB  5565MB  linux-swap(v1)                                swap

in case in boot USB iso manjaro ( or for boot linux on disk) you are not in Full EFI
( *UEFI[legacy] means it should start EFI , but some options in bios failback to legacy or you have a /boot/efi)

you will have to check all options in Bios
1 - save profile for windows
2 - for linux or USB iso

  • disable secureboot
  • disable legacy
  • disable csm
  • choose UEFI on others ( not linux )
  • disks are on on AHCI
  • disable fastboot

to check on USB iso manjaro if boot EFI is OK
USB iso should appears as UEFI < USB vendor name > < partition 1 > for boot EFI

open a terminal and check

inxi -MCza
sudo efibootmgr -v
test -d /sys/firmware/efi && echo efi || echo bios

dont forget to save profile for linux in bios

manjaro@manjaro-bspwm Linux 5.6.12-1-MANJARO x86_64 20.0.1 Lysia
~ >>> inxi -MCza
Machine: Type: Desktop Mobo: MSI model: H110M PRO-VH PLUS (MS-7A15) v: 1.0 serial: UEFI: American Megatrends
v: 1.80 date: 07/20/2017
CPU: Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP family: 6 model-id: 9E (158) stepping: 9
microcode: CA L2 cache: 6144 KiB
Speed: 800 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
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: disabled, RSB filling
Type: tsx_async_abort status: Not affected
~ >>> sudo efibootmgr -v
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0006,0000,0002,0004,0001,0005
Boot0000* Windows Boot Manager HD(2,GPT,c70f98e6-3fca-4b01-adc7-c7cb75e93657,0xfa000,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…
Boot0001 Hard Drive BBS(HD,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)…GO…NO…T.O.S.H.I.B.A. .H.D.W.D.1.1.0…,.@.r.d.=.X…A…>…Gd-.;.A…MQ…L. . . . . . . . . . .Z. .H.7.S.T.J.A.S.F…BO
Boot0002* Manjaro HD(2,GPT,c70f98e6-3fca-4b01-adc7-c7cb75e93657,0xfa000,0x32000)/File(\EFI\MANJARO\GRUBX64.EFI)
Boot0004* kali HD(2,GPT,c70f98e6-3fca-4b01-adc7-c7cb75e93657,0xfa000,0x32000)/File(\EFI\KALI\GRUBX64.EFI)
Boot0005 USB KEY BBS(HD,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)…GO…NO…S.a.n.D.i.s.k. .C.r.u.z.e.r. .B.l.a.d.e. .1…2.7…,.@.r.d.=.X…A…>…Gd-.;.A…MQ…L.4.C.5.3.1.0.0.1.4.3.0.3.1.0.1.2.3.4.7.4…BO
Boot0006* UEFI: SanDisk Cruzer Blade 1.27 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/CDROM(1,0x3b7290,0x8000)…BO
~ >>> test -d /sys/firmware/efi && echo efi || echo bios
efi
it`s EFI now, but i dont what do you mean whith profiles in BIOS, i dont see that option, and i dont know which SO i select the boot option priorities in the HD, see how are my BIOS.

`https://paste.pics/A5P3G

`https://paste.pics/A5P3A

ok you are well boot in UEFI
if you select in boot order manjaro ( 2nd line ) it should boot on it ( without USB iso )

I reboot without USB iso, and manjaro in HD 1st order and appear this error.
`https://paste.pics/A5PC2

so you boot on usb iso manjaro ( UEFI )
open a terminal

sudo lsblk -fs 
sudo manjaro-chroot -a ( type 1 if one line 0 appears )
cat /etc/fstab 
exit ( quit chroot )
manjaro@manjaro-bspwm Linux 5.6.12-1-MANJARO x86_64 20.0.1 Lysia
~ >>> sudo lsblk -f                                                                                                                                             
NAME   FSTYPE   FSVER            LABEL              UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0  squashfs 4.0                                                                            0   100% /run/miso/sfs/livefs
loop1  squashfs 4.0                                                                            0   100% /run/miso/sfs/mhwdfs
loop2  squashfs 4.0                                                                            0   100% /run/miso/sfs/desktopfs
loop3  squashfs 4.0                                                                            0   100% /run/miso/sfs/rootfs
sda                                                                             
├─sda1 ntfs                      Recuperação        26A20E0BA20DDFE3            
├─sda2 vfat     FAT32                               CC11-0B25                   
├─sda3                                                                          
├─sda4 ntfs                                         D4E041FAE041E2FA            
├─sda5 ext4     1.0                                 29200915-f622-4c5d-be01-5849d759c03b
├─sda6 swap     1                                   abb8941c-00ba-4653-97ff-1d818dc7c2d4
└─sda7                                                                          
sdb    iso9660  Joliet Extension MANJARO_BSPWM_2001 2020-05-22-00-29-48-00      
├─sdb1 iso9660  Joliet Extension MANJARO_BSPWM_2001 2020-05-22-00-29-48-00                     0   100% /run/miso/bootmnt
└─sdb2 vfat     FAT12            MISO_EFI           A514-D968                               3.9M     4% /media/MISO_EFI
~ >>> sudo manjaro-chroot -a                                                                                                                                    
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] :
1
==> Mounting (ManjaroLinux) [/dev/sda5]
 --> mount: [/mnt]
[manjaro-bspwm /]# cat /etc/fstap
cat: /etc/fstap: No such file or directory

And why don`t appear windows in detected systems?

error type , cat /etc/fstab

sorry,

[manjaro-bspwm /]# cat /etc/fstab
 /etc/fstab: static file system information.

 Use 'blkid' to print the universally unique identifier for a device; this may
 be used with UUID= as a more robust way to name devices that works even if
 disks are added and removed. See fstab(5).

<file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=29200915-f622-4c5d-be01-5849d759c03b /              ext4    defaults,noatime 0 1
[manjaro-bspwm /]# exit
exit
 --> umount: [/mnt]
~ >>>

now?

1 - you have to add in /etc/fstab /boot/efi

sudo manjaro-chroot -a ( type 1 if one line 0 appears )
nano /etc/fstab 
mkdir /boot/efi
exit ( quit chroot )

as example

# <file system>                           <mount point>  <type>  <options>  <dump>  <pass>
UUID=CC11-0B25 				  /boot/efi      vfat    defaults,noatime 0       2

2 - redo a chroot for get /boot/efi ( 2nd time )

sudo manjaro-chroot -a ( type 1 if one line 0 appears )
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose
efibootmgr -v
exit ( quit chroot )
[manjaro-bspwm /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: error: failed to get canonical path of `/boot/efi'.

:confused:

what have you get after manjaro-chroot -a ?
is /mnt/boot/efi appears ?

~ >>> sudo manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] :
1
==> Mounting (ManjaroLinux) [/dev/sda5]
 --> mount: [/mnt]

only appear this in nano /etc/fstab

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=29200915-f622-4c5d-be01-5849d759c03b /              ext4    defaults,noatime 0 1

i have to write in /etc/fstab?

yes you have to add in /etc/fstab
add line /boot/efi

nano /etc/fstab 
# <file system>                           <mount point>  <type>  <options>  <dump>  <pass>
UUID=CC11-0B25 				              /boot/efi      vfat    defaults,noatime 0 2
UUID=29200915-f622-4c5d-be01-5849d759c03b /              ext4    defaults,noatime 0 1

then save ( ctrl+X)
exit

~ >>> cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
/dev/mapper/root-image /             auto      defaults           0      0
~ >>> manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] :
1
==> Mounting (ManjaroLinux) [/dev/sda5]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
mount: /mnt/boot/efi: mount point does not exist.
[manjaro-bspwm /]#

after i edit