I have installed Windows 10 on a notebook Asus F552M. Then I installed Debian 
12, but no Grub at reboot only Windows. If I use SuperGrub cd by manual booting 
I can access to debian and boot it. So I used Boort Repair Disk 64 to try to 
repair, but it gave me a report advicing me to ask online with that report here 
under: (it is a long report....)

< boot-repair-4ppa125 [20240127_1537]
 
============================== Boot Info Summary ===============================
 
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
567169024 of the same hard drive for core.img. core.img is at this
location and looks for (,gpt6)/boot/grub. It also embeds following
components:

modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
 
sda1: __________________________________________________________________________
 
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/memtest.efi
 
sda2: __________________________________________________________________________
 
File system:
Boot sector type: -
Boot sector info:
 
sda3: __________________________________________________________________________
 
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10
Boot files: /Windows/System32/winload.exe
 
sda4: __________________________________________________________________________
 
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
 
sda5: __________________________________________________________________________
 
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
 
sda6: __________________________________________________________________________
 
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
 
sda7: __________________________________________________________________________
 
File system: swap
Boot sector type: -
Boot sector info:
 
sda8: __________________________________________________________________________
 
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
 

================================ 2 OS detected =================================
 
OS#1: Debian GNU/Linux 12 (bookworm) on sda6
OS#2: Windows 10 on sda3
 
============================ Architecture/Host Info ============================
 
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, 
x86_64)
 

===================================== UEFI =====================================
 
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
 
efibootmgr -v
No BootOrder is set; firmware will attempt recovery
 
df480f092e56b632513b4616bdeade95 sda1/Boot/bootx64.efi
df480f092e56b632513b4616bdeade95 sda1/Microsoft/Boot/bootmgfw.efi
0a70ebdfe73694eb6188f70e81b47a79 sda1/Microsoft/Boot/bootmgr.efi
 

============================= Drive/Partition Info =============================
 
Disks info: ____________________________________________________________________
 
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 
512 bytes
 
Partitions info (1/3): _________________________________________________________
 
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, 
noupdategrub, not-far
sda3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, 
noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, 
noupdategrub, farbios
sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, 
update-grub, farbios
sda8 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, 
noupdategrub, farbios
 
Partitions info (2/3): _________________________________________________________
 
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, 
no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, 
no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, 
no-bmgr, notwinboot
sda6 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, 
no-bmgr, notwinboot
sda8 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, 
no-bmgr, notwinboot
 
Partitions info (3/3): _________________________________________________________
 
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, 
part-has-no-fstab, std-grub.d, sda
sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, 
part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, 
part-has-no-fstab, std-grub.d, sda
sda6 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, 
fstab-without-usr, std-grub.d, sda
sda8 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, 
part-has-no-fstab, std-grub.d, sda
 
fdisk -l (filtered): ___________________________________________________________
 
Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 4F034ED6-D379-41FE-A859-A0E532014C6B
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 239615 32768 16M Microsoft reserved
sda3 239616 566033910 565794295 269.8G Microsoft basic data
sda4 566034432 567169023 1134592 554M Windows recovery environment
sda5 567169024 567171071 2048 1M BIOS boot
sda6 567171072 625764351 58593280 28G Linux filesystem
sda7 625764352 627765247 2000896 977M Linux swap
sda8 627765248 976773134 349007887 166.4G Linux filesystem
Disk zram0: 477.8 MiB, 501018624 bytes, 122319 sectors
Disk zram1: 477.8 MiB, 501018624 bytes, 122319 sectors
Disk zram2: 477.8 MiB, 501018624 bytes, 122319 sectors
Disk zram3: 477.8 MiB, 501018624 bytes, 122319 sectors
 
parted -lm (filtered): _________________________________________________________
 
sda:500GB:scsi:512:4096:gpt:ATA HGST HTS545050A7:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:290GB:290GB:ntfs:Basic data partition:msftdata;
4:290GB:290GB:581MB:ntfs::hidden, diag;
5:290GB:290GB:1049kB:::bios_grub;
6:290GB:320GB:30.0GB:ext4::;
7:320GB:321GB:1024MB:linux-swap(v1)::;
8:321GB:500GB:179GB:ext4::;
zram3:501MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:501MB:501MB:linux-swap(v1)::;
zram1:501MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:501MB:501MB:linux-swap(v1)::;
sr0:923MB:scsi:2048:2048:msdos:MATSHITA DVD-RAM UJ8G6:;
2:1974kB:12.1MB:10.1MB:::esp;
zram2:501MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:501MB:501MB:linux-swap(v1)::;
zram0:501MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:501MB:501MB:linux-swap(v1)::;
 
blkid (filtered): ______________________________________________________________
 
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat F0DB-9455 90036579-91a0-44e6-878b-3892c7061ff7 EFI system partition
├─sda2 c8819d34-3ad8-4901-ad6e-a8df4d9f6e8e Microsoft reserved partition
├─sda3 ntfs 840AE99F0AE98E8C 97dd321a-3107-4ce7-a0c3-25dbca9e148f Basic data 
partition
├─sda4 ntfs 8CC4CA03C4C9F00E 197ce8f7-71b3-485f-8a19-7d4f142da753
├─sda5 6dfa2a6f-0563-4712-a858-8816ee900f50
├─sda6 ext4 cef85a46-8ffa-4c9a-93ec-15c981881092 
80587e9c-7f7d-8b4c-a9d7-71c16e581b96
├─sda7 swap 8c6a7209-d353-423a-9bed-51ac8c6b2521 
82cf16e2-a576-46d9-a83b-25b728d0c758
└─sda8 ext4 934b37d1-1250-4bc7-81a7-11576615200b 
c5bda217-53ea-1145-9424-c854553ecf02
zram0
zram1
zram2
zram3
 
df (filtered): _________________________________________________________________
 
Avail Use% Mounted on
sda4 81.8M 85% /mnt/boot-sav/sda4
sda6 17.5G 31% /mnt/boot-sav/sda6
sda8 154.4G 0% /mnt/boot-sav/sda8
 
Mount options: 
__________________________________________________________________
 
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6 rw,relatime
sda8 rw,relatime
 
====================== sda6/boot/grub/grub.cfg (filtered) ======================
 
Debian GNU/Linux cef85a46-8ffa-4c9a-93ec-15c981881092
Debian GNU/Linux, with Linux 6.1.0-15-amd64 cef85a46-8ffa-4c9a-93ec-15c981881092
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
 
========================== sda6/etc/fstab (filtered) ===========================
 
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=cef85a46-8ffa-4c9a-93ec-15c981881092 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda8 during installation
UUID=934b37d1-1250-4bc7-81a7-11576615200b /home ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=8c6a7209-d353-423a-9bed-51ac8c6b2521 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
UUID=F0DB-9455 /boot/efi vfat defaults 0 1
 
======================= sda6/etc/default/grub (filtered) =======================
 
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="initrd=/install/gtk/initrd.gz"
 
==================== sda6: Location of files loaded by Grub ====================
 
GiB - GB File Fragment(s)
296.806304932 = 318.693343232 boot/grub/grub.cfg 1
296.806118011 = 318.693142528 boot/grub/i386-pc/core.img 1
280.585216522 = 301.276082176 boot/vmlinuz-6.1.0-15-amd64 1
280.585216522 = 301.276082176 vmlinuz 1
276.028850555 = 296.383721472 boot/initrd.img-6.1.0-15-amd64 1
276.028850555 = 296.383721472 initrd.img 1
 
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
 
-rwxr-xr-x 1 root root 14123 Oct 2 14:11 10_linux
-rwxr-xr-x 1 root root 14180 Oct 2 14:11 20_linux_xen
-rwxr-xr-x 1 root root 12923 Oct 2 14:11 30_os-prober
-rwxr-xr-x 1 root root 1372 Oct 2 14:11 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 2 14:11 40_custom
-rwxr-xr-x 1 root root 215 Oct 2 14:11 41_custom
 

======================== Unknown MBRs/Boot Sectors/etc =========================
 

/dev/sda1: unknown GPT attributes
8000000000000000
 
/dev/sda2: unknown GPT attributes
8000000000000000
 
/dev/sda4: unknown GPT attributes
8000000000000001
 
=============================== StdErr Messages ================================
 
File descriptor 63 (pipe:[42433]) leaked on lvs invocation. Parent PID 1894: 
/bin/bash
 
Suggested repair: ______________________________________________________________
 
The default repair of the Boot-Repair utility will purge (in order to fix 
packages) and reinstall the grub-efi-amd64-signed of
sda6,
using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix 
use-standard-efi-file
 
 
 
Final advice in case of suggested repair: ______________________________________
 

Please do not forget to make your UEFI firmware boot on the Debian GNU/Linux 12 
(bookworm) entry (sda1/efi/****/shim****.efi (**** will be updated in the final 
message) 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\****\shim****.efi (**** will be updated in the 
final message) >
 
Can you help me to obtain to have Grub with the 2 OSes at booting?
Thanks
Francesco

Reply via email to