unable to boot into linux mint

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

unable to boot into linux mint

Post by shailjakant »

I have installed Linux mint along with windows 11

I tried to boot from usb and try to run the boot repair but after that also i am not able to boot into mint

Please help me
Last edited by LockBot on Fri Mar 24, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

this was the report of boot repair

Code: Select all

boot-repair-4ppa200                                              [20220924_0152]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options:  nvme0n1p6/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
rm /mnt/boot-sav/nvme0n1p6/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p6/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p6/efi/Boot/bootx64.efi
Mount nvme0n1p6 on /mnt/boot-sav/nvme0n1p7/boot/efi

=============== Reinstall the grub-efi-amd64-signed of nvme0n1p7 ===============

chroot /mnt/boot-sav/nvme0n1p7 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7
chroot /mnt/boot-sav/nvme0n1p7 modprobe efivars

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v before grub install
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0000,0012,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(EFIubuntugrubx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)

chroot /mnt/boot-sav/nvme0n1p7 uname -r
5.15.0-41-generic

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p1/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p1/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p1/EFI/Boot/bootx64.efi
df /dev/nvme0n1p6
mv /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v after grub install
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0000,0012,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(EFIubuntugrubx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Warning: NVram was not modified.

chroot /mnt/boot-sav/nvme0n1p7 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-47-generic
Found initrd image: /boot/initrd.img-5.15.0-47-generic
Found linux image: /boot/vmlinuz-5.15.0-41-generic
Found initrd image: /boot/initrd.img-5.15.0-41-generic
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.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in nvme0n1p7/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Linux Mint 21 Vanessa (21) entry (nvme0n1p6/efi/ubuntu/shimx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi


============================ Boot Info After Repair ============================

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p5: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p6: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi 
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg

nvme0n1p7: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 21
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

nvme0n1p8: _____________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

nvme0n1p9: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda already mounted or mount point busy.


================================ 2 OS detected =================================

OS#1:   Linux Mint 21 Vanessa (21) on nvme0n1p7
OS#2:   Windows 7 on nvme0n1p3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Lucienne from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Linuxmint 64-bit (Linux Mint 21, vanessa, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: GLCN50WW(1.50) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0000,0012,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(\EFI\ubuntu\grubx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)

728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p1/Boot/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
06fdc6cf8457de25708b43d726dd2132   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
30d7f52634e8928e382be9d2295786fd   nvme0n1p1/Microsoft/Boot/bootmgr.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p6/BOOT/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p6/BOOT/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p6/BOOT/fbx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p6/BOOT/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p6/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p6/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p6/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p6/ubuntu/shimx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p7	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p9	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p6	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p7	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p9	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0DD35B50-8364-4DE7-BC05-A06231B2C6C2
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     239615     32768    16M Microsoft reserved
nvme0n1p3    239616  251897855 251658240   120G Microsoft basic data
nvme0n1p4 251897856  789260287 537362432 256.2G Microsoft basic data
nvme0n1p5 998975488 1000212479   1236992   604M Windows recovery environment
nvme0n1p6 789260288  790283724   1023437 499.7M EFI System
nvme0n1p7 790284288  853198847  62914560    30G Linux filesystem
nvme0n1p8 853198848  886753279  33554432    16G Linux swap
nvme0n1p9 886753280  998975487 112222208  53.5G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 15.12 GiB, 16239329280 bytes, 31717440 sectors
Disk identifier: 7D7473EA-FCE2-4E11-B09B-A49D0A25CE4C
        Start      End  Sectors  Size Type
sda1       64  4775311  4775248  2.3G Microsoft basic data
sda2  4775312  4783807     8496  4.1M EFI System
sda3  4784128 31717376 26933249 12.8G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:16.2GB:scsi:512:512:gpt:hp v215b:;
1:32.8kB:2445MB:2445MB::ISO9660:hidden, msftdata;
2:2445MB:2449MB:4350kB::Appended2:boot, esp;
3:2449MB:16.2GB:13.8GB:ext4::;
nvme0n1:512GB:nvme:512:512:gpt:Micron MTFDHBA512QFD:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:129GB:129GB:ntfs:C Drive:msftdata;
4:129GB:404GB:275GB:ntfs:D_Drive:msftdata;
6:404GB:405GB:524MB:fat32:Linux_efi:boot, esp;
7:405GB:437GB:32.2GB:ext4:linux_/:;
8:437GB:454GB:17.2GB:linux-swap(v1):linux_swap:swap;
9:454GB:511GB:57.5GB:ext4:linux_home:;
5:511GB:512GB:633MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                         PARTLABEL
sda         iso9660  2022-07-26-15-24-44-00                                                    Linux Mint 21 Cinnamon 64-bit 
├─sda1      iso9660  2022-07-26-15-24-44-00               7d7473ea-fce2-4e11-b09a-a49d0a25ce4c Linux Mint 21 Cinnamon 64-bit ISO9660
├─sda2      vfat     8D6C-A9F8                            7d7473ea-fce2-4e11-b099-a49d0a25ce4c ESP                           Appended2
└─sda3      ext4     d4ac5f13-178a-426d-8ddf-e87c3b0224af 279caaee-a9d8-144e-b648-18ec4b81960e writable                      
nvme0n1                                                                                                                      
├─nvme0n1p1 vfat     DE99-18BD                            49828bd1-c4f5-481d-a3a0-a419c24b33e6                               EFI system partition
├─nvme0n1p2                                               cd5e0555-e4c0-4b9b-b4d5-9bcabb656c4b                               Microsoft reserved partition
├─nvme0n1p3 ntfs     A42A9CCB2A9C9C3C                     03830d2f-f819-4028-9869-5e34db48827e                               C Drive
├─nvme0n1p4 ntfs     070174175DDFF2AC                     315b78ee-1d42-486a-8ac1-5bc31fd88f98                               D_Drive
├─nvme0n1p5 ntfs     D05AABD35AABB51E                     52175cd7-fddd-4fbf-9992-121ad47c3a1e                               
├─nvme0n1p6 vfat     3CDD-A568                            7a9bb734-6a61-4394-ac1b-85155d9f92c6                               Linux_efi
├─nvme0n1p7 ext4     afd34f79-f541-4fec-9d2c-101a8facb69f 72164fc2-6383-4317-9b7a-f741609449e1                               linux_/
├─nvme0n1p8 swap     8c9951c4-6d6a-4a95-a2c1-183849520182 b8731d7c-daa0-4882-8fd1-2253a7c28690                               linux_swap
└─nvme0n1p9 ext4     4daa2f20-3823-46c2-a814-d4d90b479398 3659b048-066d-4673-a0a1-c4c965635b3a                               linux_home

Mount points (filtered): _______________________________________________________

                                                             Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2022-09-24.0/log]  11.9G   0% /var/log
/dev/nvme0n1p1                                               61.2M  36% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3                                               70.6G  41% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4                                              145.8G  43% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5                                               89.5M  85% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p6                                              490.9M   2% /mnt/boot-sav/nvme0n1p6
/dev/nvme0n1p7                                               13.1G  50% /mnt/boot-sav/nvme0n1p7
/dev/nvme0n1p9                                               23.1G  51% /mnt/boot-sav/nvme0n1p9
/dev/sda1                                                        0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/disk/by-label/writable[/install-logs-2022-09-24.0/log] ext4            rw,relatime
/dev/nvme0n1p1                                              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p6                                              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p7                                              ext4            rw,relatime
/dev/nvme0n1p9                                              ext4            rw,relatime
/dev/sda1                                                   iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid 3e68e21d-7774-4c6e-ac1b-4959e040875f root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p6/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid afd34f79-f541-4fec-9d2c-101a8facb69f root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p7/boot/grub/grub.cfg (filtered) ====================

Ubuntu   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-48-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-47-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-41-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Windows Boot Manager (on nvme0n1p1)   osprober-efi-DE99-18BD
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p7/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=afd34f79-f541-4fec-9d2c-101a8facb69f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p6 during installation
UUID=3CDD-A568  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/nvme0n1p9 during installation
UUID=4daa2f20-3823-46c2-a814-d4d90b479398 /home           ext4    defaults        0       2
# swap was on /dev/nvme0n1p8 during installation
UUID=8c9951c4-6d6a-4a95-a2c1-183849520182 none            swap    sw              0       0
/dev/disk/by-uuid/070174175DDFF2AC /mnt/skt auto nosuid,nodev,nofail,x-gvfs-show 0 0

==================== nvme0n1p7/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=8c9951c4-6d6a-4a95-a2c1-183849520182"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

================= nvme0n1p7: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 380.086910248 = 408.115212288  boot/vmlinuz                                   2
 405.243160248 = 435.126530048  boot/vmlinuz-5.15.0-41-generic                 2
 381.628902435 = 409.770913792  boot/vmlinuz-5.15.0-47-generic                 1
 380.086910248 = 408.115212288  boot/vmlinuz-5.15.0-48-generic                 2
 381.628902435 = 409.770913792  boot/vmlinuz.old                               1
 402.461910248 = 432.140185600  boot/initrd.img                                4
 390.665409088 = 419.473788928  boot/initrd.img-5.15.0-41-generic              3
 382.086910248 = 410.262695936  boot/initrd.img-5.15.0-47-generic              2
 402.461910248 = 432.140185600  boot/initrd.img-5.15.0-48-generic              4
 382.086910248 = 410.262695936  boot/initrd.img.old                            2

=================== nvme0n1p7: ls -l /etc/grub.d/ (filtered) ===================

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

======================== nvme0n1p7/etc/grub.d/35_fwupd =========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi
Last edited by SMG on Fri Sep 23, 2022 10:52 pm, edited 1 time in total.
Reason: Changed c tags to code tags. Please use code tags for multi-line output.
User avatar
MiZoG
Level 8
Level 8
Posts: 2387
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: unable to boot into linux mint

Post by MiZoG »

Hey shailjakant!
What exactly is the problem with booting into Mint? You are not greeted at all with the option to boot Linux Mint from your local drive? You are able to see Grub, the linux bootloader, boot Mint and end up with an error message or no graphical environment?
The Boot repair report you posted indicates that repair was successful but the default OS in your boot order is Windows. Have you checked your boot priorities in UEFI settings?
Anyway posting a full report of system specs is "standard procedure" on this forum, see How To Get Help!. It will help us to form a more accurate assessment of your problem.
Lastly, why did you need that boot repair in the first place?
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

I am using dual boot from last 1month. Yesterday I recieved an update in windows and after that update i directly boot to windows. When I tried to change the os for that I tried to open the grub menu but there i haven't found Linux mint option there was only windows.
Then I tried to repair the boot by using live Linux mint bootable usb.
But after trying that too i haven't got any success.

I think update of windows messed up with the efi files of Linux mint.
Not an expert just a guess.
Please help me.
User avatar
MiZoG
Level 8
Level 8
Posts: 2387
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: unable to boot into linux mint

Post by MiZoG »

Major upgrades from one version of Windows to another can do this.
UEFI systems are less prone to this problem.
Now at a closer look, you have 2 EFI partitions in your disk.
An 100gig (nvme0n1p1), the one probably created by Windows and another 300gig (nvme0n1p6) probably created by Linux.
Was it a guided installation or did you partition your disk manually?
Having only one, the same for both OSes is standard. UEFI bios may only recognize the first one.
In that case it is critical to deactivate 'fast startup' on Windows.
I would get rid the nvme0n1p6 and re-run boot repair but maybe I'm wrong n your current setup is salvageable.
Have you checked UEFI settings? Is there an Ubuntu entry in your boot priorities?
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

Yeah nvme0n1p6 is the efi partition for No I have done the partition manually
I thought that creating separate efi partition for Linux will help me from this type of damage but still I am here
Yeah I have already deactivated the 'fast startup' of windows even before installing Linux

Yeah i checked UEFI settings there is only windows
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

i tried to run boot repair after removing partition 6 and i got the following report still not able to boot into linux

Code: Select all

boot-repair-4ppa200                                              [20220924_1058]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options:  nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


/boot/efi added in nvme0n1p7/fstab
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p7/boot/efi

=============== Reinstall the grub-efi-amd64-signed of nvme0n1p7 ===============

chroot /mnt/boot-sav/nvme0n1p7 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7
chroot /mnt/boot-sav/nvme0n1p7 modprobe efivars

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v before grub install
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0012,0000,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(EFIubuntushimx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)

chroot /mnt/boot-sav/nvme0n1p7 uname -r
5.15.0-41-generic

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v after grub install
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0012,0000,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(EFIubuntushimx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Warning: NVram was not modified.

chroot /mnt/boot-sav/nvme0n1p7 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-47-generic
Found initrd image: /boot/initrd.img-5.15.0-47-generic
Found linux image: /boot/vmlinuz-5.15.0-41-generic
Found initrd image: /boot/initrd.img-5.15.0-41-generic
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.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in nvme0n1p7/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Linux Mint 21 Vanessa (21) entry (nvme0n1p1/efi/ubuntu/shimx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi


============================ Boot Info After Repair ============================

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p5: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p7: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 21
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

nvme0n1p8: _____________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

nvme0n1p9: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda already mounted or mount point busy.


================================ 2 OS detected =================================

OS#1:   Linux Mint 21 Vanessa (21) on nvme0n1p7
OS#2:   Windows 7 on nvme0n1p3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Lucienne EFI VGA from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Linuxmint 64-bit (Linux Mint 21, vanessa, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: GLCN50WW(1.50) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0016
Timeout: 0 seconds
BootOrder: 0012,0000,0013,0014,0015,0016,0018,0019
Boot0000* Windows Boot Manager	HD(1,GPT,49828bd1-c4f5-481d-a3a0-a419c24b33e6,0x800,0x32000)/File(\EFI\ubuntu\shimx64.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.}...d................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* NVMe: Micron MTFDHBA512QFD                   	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2C-DF-FB-45)....2.LN........
Boot0013* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0014* ATA HDD1:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0015* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0016* USB HDD: hp v215b	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0017  PCI LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0018* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)

728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p1/Boot/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
06fdc6cf8457de25708b43d726dd2132   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
30d7f52634e8928e382be9d2295786fd   nvme0n1p1/Microsoft/Boot/bootmgr.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p7	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p9	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p7	: isnotESP,	fstab-has-bad-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p9	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0DD35B50-8364-4DE7-BC05-A06231B2C6C2
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     239615     32768    16M Microsoft reserved
nvme0n1p3    239616  251897855 251658240   120G Microsoft basic data
nvme0n1p4 251897856  789260287 537362432 256.2G Microsoft basic data
nvme0n1p5 998975488 1000212479   1236992   604M Windows recovery environment
nvme0n1p7 790284288  853198847  62914560    30G Linux filesystem
nvme0n1p8 853198848  886753279  33554432    16G Linux swap
nvme0n1p9 886753280  998975487 112222208  53.5G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 15.12 GiB, 16239329280 bytes, 31717440 sectors
Disk identifier: 7D7473EA-FCE2-4E11-B09B-A49D0A25CE4C
        Start      End  Sectors  Size Type
sda1       64  4775311  4775248  2.3G Microsoft basic data
sda2  4775312  4783807     8496  4.1M EFI System
sda3  4784128 31717376 26933249 12.8G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:16.2GB:scsi:512:512:gpt:hp v215b:;
1:32.8kB:2445MB:2445MB::ISO9660:hidden, msftdata;
2:2445MB:2449MB:4350kB::Appended2:boot, esp;
3:2449MB:16.2GB:13.8GB:ext4::;
nvme0n1:512GB:nvme:512:512:gpt:Micron MTFDHBA512QFD:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:129GB:129GB:ntfs:C Drive:msftdata;
4:129GB:404GB:275GB:ntfs:D_Drive:msftdata;
7:405GB:437GB:32.2GB:ext4:linux_/:;
8:437GB:454GB:17.2GB:linux-swap(v1):linux_swap:swap;
9:454GB:511GB:57.5GB:ext4:linux_home:;
5:511GB:512GB:633MB:ntfs::hidden, diag;

Free space >10MiB: ______________________________________________________________

nvme0n1: 385381MiB:385881MiB:500MiB

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                         PARTLABEL
sda         iso9660  2022-07-26-15-24-44-00                                                    Linux Mint 21 Cinnamon 64-bit 
├─sda1      iso9660  2022-07-26-15-24-44-00               7d7473ea-fce2-4e11-b09a-a49d0a25ce4c Linux Mint 21 Cinnamon 64-bit ISO9660
├─sda2      vfat     8D6C-A9F8                            7d7473ea-fce2-4e11-b099-a49d0a25ce4c ESP                           Appended2
└─sda3      ext4     d4ac5f13-178a-426d-8ddf-e87c3b0224af 279caaee-a9d8-144e-b648-18ec4b81960e writable                      
nvme0n1                                                                                                                      
├─nvme0n1p1 vfat     DE99-18BD                            49828bd1-c4f5-481d-a3a0-a419c24b33e6                               EFI system partition
├─nvme0n1p2                                               cd5e0555-e4c0-4b9b-b4d5-9bcabb656c4b                               Microsoft reserved partition
├─nvme0n1p3 ntfs     A42A9CCB2A9C9C3C                     03830d2f-f819-4028-9869-5e34db48827e                               C Drive
├─nvme0n1p4 ntfs     070174175DDFF2AC                     315b78ee-1d42-486a-8ac1-5bc31fd88f98                               D_Drive
├─nvme0n1p5 ntfs     D05AABD35AABB51E                     52175cd7-fddd-4fbf-9992-121ad47c3a1e                               
├─nvme0n1p7 ext4     afd34f79-f541-4fec-9d2c-101a8facb69f 72164fc2-6383-4317-9b7a-f741609449e1                               linux_/
├─nvme0n1p8 swap     8c9951c4-6d6a-4a95-a2c1-183849520182 b8731d7c-daa0-4882-8fd1-2253a7c28690                               linux_swap
└─nvme0n1p9 ext4     4daa2f20-3823-46c2-a814-d4d90b479398 3659b048-066d-4673-a0a1-c4c965635b3a                               linux_home

Mount points (filtered): _______________________________________________________

                                                             Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2022-09-24.2/log]  11.9G   0% /var/log
/dev/nvme0n1p1                                               61.2M  36% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3                                               74.5G  38% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4                                              145.8G  43% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5                                               89.5M  85% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p7                                               13.1G  50% /mnt/boot-sav/nvme0n1p7
/dev/nvme0n1p9                                               23.1G  51% /mnt/boot-sav/nvme0n1p9
/dev/sda1                                                        0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/disk/by-label/writable[/install-logs-2022-09-24.2/log] ext4            rw,relatime
/dev/nvme0n1p1                                              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5                                              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p7                                              ext4            rw,relatime
/dev/nvme0n1p9                                              ext4            rw,relatime
/dev/sda1                                                   iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid afd34f79-f541-4fec-9d2c-101a8facb69f root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p7/boot/grub/grub.cfg (filtered) ====================

Ubuntu   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-48-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-47-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Ubuntu, with Linux 5.15.0-41-generic   afd34f79-f541-4fec-9d2c-101a8facb69f
Windows Boot Manager (on nvme0n1p1)   osprober-efi-DE99-18BD
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p7/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=afd34f79-f541-4fec-9d2c-101a8facb69f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p6 during installation
# /home was on /dev/nvme0n1p9 during installation
UUID=4daa2f20-3823-46c2-a814-d4d90b479398 /home           ext4    defaults        0       2
# swap was on /dev/nvme0n1p8 during installation
UUID=8c9951c4-6d6a-4a95-a2c1-183849520182 none            swap    sw              0       0
/dev/disk/by-uuid/070174175DDFF2AC /mnt/skt auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=DE99-18BD  /boot/efi       vfat    defaults      0       1

==================== nvme0n1p7/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=8c9951c4-6d6a-4a95-a2c1-183849520182"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

================= nvme0n1p7: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 380.086910248 = 408.115212288  boot/vmlinuz                                   2
 405.243160248 = 435.126530048  boot/vmlinuz-5.15.0-41-generic                 2
 381.628902435 = 409.770913792  boot/vmlinuz-5.15.0-47-generic                 1
 380.086910248 = 408.115212288  boot/vmlinuz-5.15.0-48-generic                 2
 381.628902435 = 409.770913792  boot/vmlinuz.old                               1
 402.461910248 = 432.140185600  boot/initrd.img                                4
 390.665409088 = 419.473788928  boot/initrd.img-5.15.0-41-generic              3
 382.086910248 = 410.262695936  boot/initrd.img-5.15.0-47-generic              2
 402.461910248 = 432.140185600  boot/initrd.img-5.15.0-48-generic              4
 382.086910248 = 410.262695936  boot/initrd.img.old                            2

=================== nvme0n1p7: ls -l /etc/grub.d/ (filtered) ===================

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

======================== nvme0n1p7/etc/grub.d/35_fwupd =========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi
Last edited by karlchen on Sat Sep 24, 2022 8:06 am, edited 1 time in total.
Reason: replaced [C] [/C] tags, which are for single lines only, by [code] [/code] tags, which can be used for single and for multi line output
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: unable to boot into linux mint

Post by Cosmo. »

Didn't you read the remark by SMG in your 2nd post? Those c-tags are for this output worse than no formatting tags at all. The way to go are the code-tags, in the forum the button </>.
User avatar
karlchen
Level 23
Level 23
Posts: 18233
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: unable to boot into linux mint

Post by karlchen »

Cosmetic problem resolved:
replaced [C] [/C] tags, which are for single lines only, by [code] [/code] tags, which can be used for single and for multi line output
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

Cosmo. wrote: Sat Sep 24, 2022 8:01 am Didn't you read the remark by SMG in your 2nd post? Those c-tags are for this output worse than no formatting tags at all. The way to go are the code-tags, in the forum the button </>.
Sorry I just missed that
Will remember now onwards
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

karlchen wrote: Sat Sep 24, 2022 8:08 am Cosmetic problem resolved:
replaced [ C] [/ C] tags, which are for single lines only, by [ code ] [/ code] tags, which can be used for single and for multi line output
Okay 😊
Do you know how can I get back my Linux mint
User avatar
karlchen
Level 23
Level 23
Posts: 18233
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: unable to boot into linux mint

Post by karlchen »

Hello, shailjakant.
shailjakant wrote: Sat Sep 24, 2022 8:43 amDo you know how can I get back my Linux mint
As had been explained in a post above, there are 2 disk partitions, which have got the flags boot and esp set, which qualify them as the EFI partition:
/dev/nvme0n1p1
/dev/nvme0n1p6

If I understand the boot repair log correctly, the partition, which you want to have as your only EFI partition, is /dev/nvme0n1p6.

Provided this is correct, I would boot from the Linux Mint live system.
Next I would launch gparted from the live desktop.
In GParted I would disable the flags boot and esp from the disk partition /dev/nvme0n1p1.
I would then close GParted, shutdown the machine and remove the Mint Live System.

Finally, I would power on the machine again and keep my fingers crossed that the Grub menu appears and that Linux Mint will come up.

P.S.:
In case /dev/nvme0n1p1 needs to be re-enabled and get back its boot and esp flags, I would use GParted from the live system again in order to do so.

HTH,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: unable to boot into linux mint

Post by MikeNovember »

shailjakant wrote: Sat Sep 24, 2022 2:45 am I am using dual boot from last 1month. Yesterday I recieved an update in windows and after that update i directly boot to windows. When I tried to change the os for that I tried to open the grub menu but there i haven't found Linux mint option there was only windows.
Then I tried to repair the boot by using live Linux mint bootable usb.
But after trying that too i haven't got any success.

I think update of windows messed up with the efi files of Linux mint.
Not an expert just a guess.
Please help me.
Hi,

When you installed Linux Mint, it installed GRUB menu on Windows EFI partition.

Once Windows updated, it refreshed its EFI partition and deleted the GRUB menu.

This is a well known problem.

With a single disk and two partitions, you should install 1st Linux, then Windows.

Best is to install them in two different disks, as explained in this tutorial: viewtopic.php?f=42&t=381590

If you don't want to change anything in your installation you can still enter your computer UEFI at boot (generally with ESC key) and select the Linux Mint drive.

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

MikeNovember wrote: Sat Sep 24, 2022 10:41 am
shailjakant wrote: Sat Sep 24, 2022 2:45 am I am using dual boot from last 1month. Yesterday I recieved an update in windows and after that update i directly boot to windows. When I tried to change the os for that I tried to open the grub menu but there i haven't found Linux mint option there was only windows.
Then I tried to repair the boot by using live Linux mint bootable usb.
But after trying that too i haven't got any success.

I think update of windows messed up with the efi files of Linux mint.
Not an expert just a guess.
Please help me.
Hi,

When you installed Linux Mint, it installed GRUB menu on Windows EFI partition.

Once Windows updated, it refreshed its EFI partition and deleted the GRUB menu.

This is a well known problem.

With a single disk and two partitions, you should install 1st Linux, then Windows.

Best is to install them in two different disks, as explained in this tutorial: viewtopic.php?f=42&t=381590

If you don't want to change anything in your installation you can still enter your computer UEFI at boot (generally with ESC key) and select the Linux Mint drive.

Regards,

MN
I don't have two disks to install them separately and I tried to boot from mint by entering to UEFI by pressing (F12 in my case ) at the time of boot but there wasn't any Linux mint option available, only Linux mint was there.
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

karlchen wrote: Sat Sep 24, 2022 9:52 am If I understand the boot repair log correctly, the partition, which you want to have as your only EFI partition, is /dev/nvme0n1p6.

Provided this is correct, I would boot from the Linux Mint live system.
Next I would launch gparted from the live desktop.
In GParted I would disable the flags boot and esp from the disk partition /dev/nvme0n1p1.
I would then close GParted, shutdown the machine and remove the Mint Live System.

Finally, I would power on the machine again and keep my fingers crossed that the Grub menu appears and that Linux Mint will come up.
Thanks but I have deleted the partition 6 now because Linux was using partition 1 as an EFI partition so I just tried to run boot repair after deleting that partition
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

karlchen wrote: Sat Sep 24, 2022 9:52 am If I understand the boot repair log correctly, the partition, which you want to have as your only EFI partition, is /dev/nvme0n1p6.

Provided this is correct, I would boot from the Linux Mint live system.
Next I would launch gparted from the live desktop.
In GParted I would disable the flags boot and esp from the disk partition /dev/nvme0n1p1.
I would then close GParted, shutdown the machine and remove the Mint Live System.

Finally, I would power on the machine again and keep my fingers crossed that the Grub menu appears and that Linux Mint will come up.
This worked for me after disabling the flags of partition 1 I am able to boot into Linux mint but to boot into windows I have to set those flags back and then I again loose the Linux is there any way to merge these two efi so that I can switch in booth os without again and again disabling the flags
User avatar
karlchen
Level 23
Level 23
Posts: 18233
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: unable to boot into linux mint

Post by karlchen »

Hello, shailjakant.

While only /dev/nvme0n1p6 has got the boot and the esp flags, i.e. while you are running on Linux Mint, execute the terminal command

Code: Select all

sudo update-grub
This should make sure that the Linux Mint Grub menu offers the option to boot Linux Mint on top of the list and to boot Windows below.

This will work, provided the grub os-prober is still enabled. It might be enabled by default on Mint 21 still.

After having executed the command sudo update-grub, please, execute the terminal command

Code: Select all

grep entry /boot/grub/grub.cfg | awk -F"'" '{ print $2 }'
This command should display the boot menu items available in your Linux Mint Grub menu.
Please, share the output of the command here. It should list Windows as well.

Provided it does, during the next reboot the Grub menu should permit you to either start up Linux Mint or Windows.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

it's not detecting windows
Screenshot from 2022-09-25 10-13-51.png
shailjakant
Level 1
Level 1
Posts: 35
Joined: Sun Jan 30, 2022 1:37 am

Re: unable to boot into linux mint

Post by shailjakant »

karlchen wrote: Sat Sep 24, 2022 4:23 pm Hello, shailjakant.

While only /dev/nvme0n1p6 has got the boot and the esp flags, i.e. while you are running on Linux Mint, execute the terminal command

Code: Select all

sudo update-grub
This should make sure that the Linux Mint Grub menu offers the option to boot Linux Mint on top of the list and to boot Windows below.

This will work, provided the grub os-prober is still enabled. It might be enabled by default on Mint 21 still.

After having executed the command sudo update-grub, please, execute the terminal command

Code: Select all

grep entry /boot/grub/grub.cfg | awk -F"'" '{ print $2 }'
This command should display the boot menu items available in your Linux Mint Grub menu.
Please, share the output of the command here. It should list Windows as well.

Provided it does, during the next reboot the Grub menu should permit you to either start up Linux Mint or Windows.

Regards,
Karl
Thank you so much, I just enabled the partition 1 boot and eps flags and after that when I ran update grud it automatically detected the windows

Very very thank you 🥰
Locked

Return to “Installation & Boot”