Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/01/2023, à 17:50

brisavion

[Résolu]dual boot, pas de grub au demarrage

Bonsoir,

Je viens de faire l'installation de windows 10 puis de ubuntu 22.04 sur un même disque SSD.
En l'absence de message d'erreur, je pensais que tout s'était passé correctement. Cependant, l'ordinateur démarre directement sur windows, sans passer par GRUB.
Je ne suis pas familier de ce genre de problème, jusqu'ici, toutes les install en double boot que j'ai faites s'était passées sans souci.

Une bonne âme consentirait elle à m'aider ?

Merci par avance.

Edit : en changeant l'ordre du boot dans le bios, je parviens à démarrer ubuntu via grub mais plus windows. Il semble que j'ai installé deux bootloader...
Edit 2 : ce n'est pas sur mon ordi et les infos en signature ne correspondent donc pas à la bestiole en question.


Rapport boot info

Dernière modification par brisavion (Le 20/01/2023, à 00:58)


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#2 Le 19/01/2023, à 21:30

geole

Re : [Résolu]dual boot, pas de grub au demarrage

Bonsoir.
Ton boot-info indique que le dual-boot est bien disponible.
Il faut juste le maitriser.
Peux-tu donner les références exactes de ton ordinateur s'il est un portable. Cela permettra de voir si le problème est connu.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#3 Le 19/01/2023, à 21:41

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Bonsoir et merci pour ta réponse,

Ce n'est pas un portable.
En démarrant sur Ubuntu et en regardant dans Gparted, je fais l’hypothèse ( peut-être hasardeuse) qu'il manque au début du disque une partition réservée au bios, comme indiqué ici : https://doc.ubuntu-fr.org/tutoriel/part … necessaire . Mais je ne vois pas comment réparer le problème, à part en refaisant toute l'install...


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#4 Le 19/01/2023, à 21:56

geole

Re : [Résolu]dual boot, pas de grub au demarrage

Ton ordinateur boote en EFI
Tous les fichiers de boot sont dans cette partition.

sda1: __________________________________________________________________________
    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/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

On y voit bien microsoft et ubuntu.

Il est possible que windows puisse piloter le boot..
Boot-info a dit

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\****\grub****.efi (**** will be updated in the final message)

En clair, il faut, en ligne de commande administrative, frapper cette commande

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

application powershell ( admin)

Dernière modification par geole (Le 19/01/2023, à 22:09)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#5 Le 19/01/2023, à 22:28

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Merci pour ta solution,

J'ai malheureusement du faire une connerie avant de te lire en essayant de réinstaller ubuntu "proprement", et je ne parviens plus à booter sur windows... La partition est toujours présente mais même en changeant l'ordre de boot dans le bios ou avec update-grub, je ne le vois plus au démarrage...


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#6 Le 19/01/2023, à 22:31

geole

Re : [Résolu]dual boot, pas de grub au demarrage

refais un boot-info.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#7 Le 19/01/2023, à 22:53

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Désolé, j'ai mis du temps à te répondre : https://pastebin.ubuntu.com/p/vMxzHRs2jb/


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#8 Le 19/01/2023, à 22:56

xubu1957

Re : [Résolu]dual boot, pas de grub au demarrage

Bonjour,

Collage du #1:

boot-repair-4ppa203                                              [20230119_1641]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    353607024 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt5)/boot/grub. It also embeds following 
    components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    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/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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    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 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04 20191223.............................................N....2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 1983792 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GK208B [GeForce GT 730] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 2.20 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0009
Timeout: 2 seconds
BootOrder: 0004,0007,0009,0001,0008
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........S.e.a.g.a.t.e. .B.a.r.r.a.C.u.d.a. .1.2.0. .S.S.D. .Z.A.2.5.0.C.M.1.0.0.0.3...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.Q.7.0.T.H.0.L.W. . . . . . . . . . . . ........BO..NO..........S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.K.A.Y.3.Y.2........BO
Boot0004* Windows Boot Manager	HD(1,GPT,b9b41259-c66b-4b0c-a951-7572aae9fbc0,0x800,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.}...3................
Boot0007* ubuntu	HD(1,GPT,b9b41259-c66b-4b0c-a951-7572aae9fbc0,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot0008* USB KEY	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO......... .U.S.B. .D.I.S.K. .2...0. .P.M.A.P...................\.,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.0.7.0.1.4.6.9.9.8.F.B.2.F.A.6.3........BO
Boot0009* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(4,0)/HD(1,MBR,0x8f09a263,0x1f80,0xe6eb00)..BO

728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   sda1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/Boot/mmx64.efi
3795ef72a4ed0369ca44e711527904bf   sda1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
20ac8dde00311476f3755604eb0e545a   sda1/Microsoft/Boot/bootmgfw.efi
27d382c5fc21df6f4a75baed05aa1d9d   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb2	: no-os,	64, 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
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: 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,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sdb2	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 685325BA-3846-4141-AFA1-AD04EF7A46DB
          Start       End   Sectors   Size Type
sda1       2048    206847    204800   100M EFI System
sda2     206848    239615     32768    16M Microsoft reserved
sda3     239616 319508257 319268642 152.2G Microsoft basic data
sda4  487280640 488394751   1114112   544M Windows recovery environment
sda5  319508480 487280639 167772160    80G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 03C47A93-2C1E-4440-B593-76843A647386
         Start        End    Sectors   Size Type
sdb1      2048   16001023   15998976   7.6G Linux swap
sdb2  16001024 1953523711 1937522688 923.9G Linux filesystem
Disk sdc: 7.2 GiB, 7752450048 bytes, 15141504 sectors
Disk identifier: 0x8f09a263
      Boot Start      End  Sectors  Size Id Type
sdc1  *     8064 15141503 15133440  7.2G  c W95 FAT32 (LBA)
Disk zram0: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram1: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram2: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram3: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram4: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram5: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram6: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram7: 498.2 MiB, 522432512 bytes, 127547 sectors

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:gpt:ATA Seagate BarraCud:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:164GB:163GB:ntfs:Basic data partition:msftdata;
5:164GB:249GB:85.9GB:ext4::;
4:249GB:250GB:570MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000DM010-2EP1:;
1:1049kB:8193MB:8191MB:linux-swap(v1)::;
2:8193MB:1000GB:992GB:ext4::;
sdc:7752MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:7752MB:7748MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     B298-5A00                            b9b41259-c66b-4b0c-a951-7572aae9fbc0       EFI system partition
├─sda2                                               a93d3b0d-4d51-4b66-bd39-f1f97d5e6b77       Microsoft reserved partition
├─sda3 ntfs     E6C4A541C4A51539                     7882dfe0-4a71-40c2-8666-005306611b12       Basic data partition
├─sda4 ntfs     D0284AAC284A9180                     1cc6c29a-dd58-426d-8be8-b38e0c75cc43       
└─sda5 ext4     81e3560b-ca87-4787-8126-e69eaa872c5d f1201a9d-34d9-4449-9725-51a32a97cf75       
sdb                                                                                             
├─sdb1 swap     a71eb0aa-57b8-4a0e-9ac4-535c404331e0 66346d9b-ce6b-4c44-a567-2515e1f6f3a6       
└─sdb2 ext4     5e680ec2-df51-410a-9c45-41a48dd84ad4 0b8d14ea-bc7f-4166-95bd-a250044ba2b2       
sdc                                                                                             
└─sdc1 vfat     DAD9-6374                            8f09a263-01                          BLEU  

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1    64.9M  32% /mnt/boot-sav/sda1
/dev/sda3    81.5G  46% /mnt/boot-sav/sda3
/dev/sda4    88.9M  84% /mnt/boot-sav/sda4
/dev/sda5    66.4G  10% /mnt/boot-sav/sda5
/dev/sdb2   307.5G  61% /mnt/boot-sav/sdb2
/dev/sdc1     6.3G  13% /cdrom

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 81e3560b-ca87-4787-8126-e69eaa872c5d root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   81e3560b-ca87-4787-8126-e69eaa872c5d
Ubuntu, with Linux 5.15.0-58-generic   81e3560b-ca87-4787-8126-e69eaa872c5d
Ubuntu, with Linux 5.15.0-43-generic   81e3560b-ca87-4787-8126-e69eaa872c5d
Windows Boot Manager (on sda1)   osprober-efi-B298-5A00
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=81e3560b-ca87-4787-8126-e69eaa872c5d /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B298-5A00  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sdb2 during installation
UUID=5e680ec2-df51-410a-9c45-41a48dd84ad4 /home           ext4    defaults        0       2
# swap was on /dev/sdb1 during installation
UUID=a71eb0aa-57b8-4a0e-9ac4-535c404331e0 none            swap    sw              0       0

======================= sda5/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"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 188.479335785 = 202.378145792  boot/grub/grub.cfg                             1
 168.612991333 = 181.046820864  boot/grub/i386-pc/core.img                     1
 200.809585571 = 215.617650688  boot/vmlinuz                                   2
 206.837886810 = 222.090489856  boot/vmlinuz-5.15.0-43-generic                 2
 200.809585571 = 215.617650688  boot/vmlinuz-5.15.0-58-generic                 2
 206.837886810 = 222.090489856  boot/vmlinuz.old                               2
 226.889118195 = 243.620335616  boot/initrd.img                                1
 221.028789520 = 237.327855616  boot/initrd.img-5.15.0-43-generic              1
 226.889118195 = 243.620335616  boot/initrd.img-5.15.0-58-generic              1
 221.028789520 = 237.327855616  boot/initrd.img.old                            1

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

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

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdc1/syslinux.cfg (filtered) =========================

default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  quiet splash ---
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal ---
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry4
menu label Boot-Repair-Disk session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdc1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             ldlinux.c32                                    1
            ?? = ??             libcom32.c32                                   1
            ?? = ??             libutil.c32                                    1
            ?? = ??             menu.c32                                       1

=============== sdc1: Version of COM32(R) files used by Syslinux ===============

 ldlinux.c32                        :  not a COM32/COM32R module
 libcom32.c32                       :  not a COM32/COM32R module
 libutil.c32                        :  not a COM32/COM32R module
 menu.c32                           :  not a COM32/COM32R module



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda1/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)

                                            ==============

Collage du second Boot-repair, pour les spécialistes :

boot-repair-4ppa203                                              [20230119_2151]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    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 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sda7: __________________________________________________________________________

    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/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04 20191223.............................................N....2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 1983792 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GK208B [GeForce GT 730] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 2.20 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 0009,0001,000B,000A
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........S.e.a.g.a.t.e. .B.a.r.r.a.C.u.d.a. .1.2.0. .S.S.D. .Z.A.2.5.0.C.M.1.0.0.0.3...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.Q.7.0.T.H.0.L.W. . . . . . . . . . . . ........BO..NO..........S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.K.A.Y.3.Y.2........BO
Boot0009* ubuntu	HD(7,GPT,a97b2a70-12c7-4aac-8b39-d9059d9640ac,0x1000,0x31800)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot000A* USB KEY	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO......... .U.S.B. .D.I.S.K. .2...0. .P.M.A.P...................\.,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.0.7.0.1.4.6.9.9.8.F.B.2.F.A.6.3........BO
Boot000B* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(4,0)/HD(1,MBR,0x8f09a263,0x1f80,0xe6eb00)..BO

728124f6ec8e22fbdbe7034812c81b95   sda7/BOOT/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda7/BOOT/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   sda7/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda7/BOOT/mmx64.efi
3795ef72a4ed0369ca44e711527904bf   sda7/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda7/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda7/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda7	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

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
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda7	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb2	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 685325BA-3846-4141-AFA1-AD04EF7A46DB
          Start       End   Sectors   Size Type
sda1       2048      4095      2048     1M BIOS boot
sda2     206848    239615     32768    16M Microsoft reserved
sda3     239616 319508257 319268642 152.2G Microsoft basic data
sda4  487280640 488394751   1114112   544M Windows recovery environment
sda5  319508480 487280639 167772160    80G Linux filesystem
sda7       4096    206847    202752    99M EFI System
Partition table entries are not in disk order.
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 03C47A93-2C1E-4440-B593-76843A647386
         Start        End    Sectors   Size Type
sdb1      2048   16001023   15998976   7.6G Linux swap
sdb2  16001024 1953523711 1937522688 923.9G Linux filesystem
Disk sdc: 7.2 GiB, 7752450048 bytes, 15141504 sectors
Disk identifier: 0x8f09a263
      Boot Start      End  Sectors  Size Id Type
sdc1  *     8064 15141503 15133440  7.2G  c W95 FAT32 (LBA)
Disk zram0: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram1: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram2: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram3: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram4: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram5: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram6: 498.2 MiB, 522432512 bytes, 127547 sectors
Disk zram7: 498.2 MiB, 522432512 bytes, 127547 sectors

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:gpt:ATA Seagate BarraCud:;
1:1049kB:2097kB:1049kB:::bios_grub;
7:2097kB:106MB:104MB:fat32::boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:164GB:163GB:ntfs:Basic data partition:msftdata;
5:164GB:249GB:85.9GB:ext4::;
4:249GB:250GB:570MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000DM010-2EP1:;
1:1049kB:8193MB:8191MB:linux-swap(v1)::;
2:8193MB:1000GB:992GB:ext4::;
sdc:7752MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:7752MB:7748MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1                                               ee860f25-39f0-48ab-a999-e84438b5ad23       
├─sda2                                               a93d3b0d-4d51-4b66-bd39-f1f97d5e6b77       Microsoft reserved partition
├─sda3 ntfs     E6C4A541C4A51539                     7882dfe0-4a71-40c2-8666-005306611b12       Basic data partition
├─sda4 ntfs     D0284AAC284A9180                     1cc6c29a-dd58-426d-8be8-b38e0c75cc43       
├─sda5 ext4     ff55e954-07bb-46f3-bbe2-15991fe3a5df f1201a9d-34d9-4449-9725-51a32a97cf75       
└─sda7 vfat     D5BE-7737                            a97b2a70-12c7-4aac-8b39-d9059d9640ac       
sdb                                                                                             
├─sdb1 swap     a71eb0aa-57b8-4a0e-9ac4-535c404331e0 66346d9b-ce6b-4c44-a567-2515e1f6f3a6       
└─sdb2 ext4     5e680ec2-df51-410a-9c45-41a48dd84ad4 0b8d14ea-bc7f-4166-95bd-a250044ba2b2       
sdc                                                                                             
└─sdc1 vfat     DAD9-6374                            8f09a263-01                          BLEU  

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda3    76.1G  50% /mnt/boot-sav/sda3
/dev/sda4    88.9M  84% /mnt/boot-sav/sda4
/dev/sda5    66.3G  10% /mnt/boot-sav/sda5
/dev/sda7    91.3M   6% /mnt/boot-sav/sda7
/dev/sdb2   307.3G  61% /mnt/boot-sav/sdb2
/dev/sdc1     6.3G  13% /cdrom

Mount options (filtered): ______________________________________________________


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

Ubuntu   ff55e954-07bb-46f3-bbe2-15991fe3a5df
Ubuntu, with Linux 5.15.0-58-generic   ff55e954-07bb-46f3-bbe2-15991fe3a5df
Ubuntu, with Linux 5.15.0-43-generic   ff55e954-07bb-46f3-bbe2-15991fe3a5df
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=ff55e954-07bb-46f3-bbe2-15991fe3a5df /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda7 during installation
UUID=D5BE-7737  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sdb2 during installation
UUID=5e680ec2-df51-410a-9c45-41a48dd84ad4 /home           ext4    defaults        0       2
# swap was on /dev/sdb1 during installation
UUID=a71eb0aa-57b8-4a0e-9ac4-535c404331e0 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
 204.234718323 = 219.295358976  boot/grub/grub.cfg                             1
 216.645523071 = 232.621359104  boot/vmlinuz                                   2
 222.389602661 = 238.789017600  boot/vmlinuz-5.15.0-43-generic                 2
 216.645523071 = 232.621359104  boot/vmlinuz-5.15.0-58-generic                 2
 222.389602661 = 238.789017600  boot/vmlinuz.old                               2
 194.881301880 = 209.252204544  boot/initrd.img                                1
 160.544414520 = 172.383252480  boot/initrd.img-5.15.0-43-generic              1
 194.881301880 = 209.252204544  boot/initrd.img-5.15.0-58-generic              1
 160.544414520 = 172.383252480  boot/initrd.img.old                            1

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

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

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

search.fs_uuid ff55e954-07bb-46f3-bbe2-15991fe3a5df root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdc1/syslinux.cfg (filtered) =========================

default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  quiet splash ---
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal ---
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry4
menu label Boot-Repair-Disk session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdc1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             ldlinux.c32                                    1
            ?? = ??             libcom32.c32                                   1
            ?? = ??             libutil.c32                                    1
            ?? = ??             menu.c32                                       1

=============== sdc1: Version of COM32(R) files used by Syslinux ===============

 ldlinux.c32                        :  not a COM32/COM32R module
 libcom32.c32                       :  not a COM32/COM32R module
 libutil.c32                        :  not a COM32/COM32R module
 menu.c32                           :  not a COM32/COM32R module



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda7/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. You may want to retry after deactivating the [Separate /boot/efi partition:] option.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda7/efi/****/grub****.efi (**** will be updated in the final message) file) !

Dernière modification par xubu1957 (Le 19/01/2023, à 23:06)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#9 Le 19/01/2023, à 22:59

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

bonsoir xubu1957, et merci pour le collage... smile

Dernière modification par brisavion (Le 19/01/2023, à 23:01)


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#10 Le 19/01/2023, à 23:20

geole

Re : [Résolu]dual boot, pas de grub au demarrage

SDA1 a réçu un drapeau de boot legacy.

sda1:__________________________________________________________________________
    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

Tous les fichiers de boot EFI sont détruits.
Cela se répare.
1) Booter avec le support d'installation ubuntu.
   - reformater  la partition  en fat32
   - lui remettre le drapeau ESP
2 ) Rebooter avec le support d'installation de windos
     - Choisir le mode réparation                 
        Lancer diskpart
           Identifier  les lettre des partitions.
      Quitter diskpart.
      Lancer la commande de refabrication des fichiers de boot EFI
    C'est la méthode deux
3) Lancer boot-repair
     Faire la réparation recommandée,.

Dernière modification par geole (Le 19/01/2023, à 23:44)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#11 Le 19/01/2023, à 23:28

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Apparemment, pour la formater en fat32, il faudrait une partition d'au moins 33miB. Celle ci n'en fait qu'1.
Je vais refaire le support d'installation windows dont je me suis précipitamment débarrassé.

Dernière modification par brisavion (Le 19/01/2023, à 23:33)


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#12 Le 19/01/2023, à 23:36

geole

Re : [Résolu]dual boot, pas de grub au demarrage

supprime SDA1 et refabrique au même endroit et tu prends toute la place diponible à cet endroit.
Cela reprendra l'ancienne taille. Comme il y a windows , le minima est 100Go.
et c'est la taille qu'il y avait au premier boot-info.

sda1       2048    206847    204800   100M EFI System

Dernière modification par geole (Le 20/01/2023, à 00:03)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#13 Le 19/01/2023, à 23:49

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Ok, je fais ça.
Pour le reste, je suis en train de télécharger windows et je n'ai pas une bande passante de fou, ça va durer un peu.
Merci de ton aide en tout cas.


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#14 Le 19/01/2023, à 23:51

geole

Re : [Résolu]dual boot, pas de grub au demarrage

brisavion a écrit :

Je vais refaire le support d'installation windows dont je me suis précipitamment débarrassé.

Il faut toujours avoir à sa disposition les ISO d'installation des O.S. qu'on utilise.
Si tu avais eu une clé USB de16 Go ou plus, tu aurais pu les avoir ensemble sur la même clé en utilisant ventoy
Je pense que 8 Go est certainement trop petit.

Dernière modification par geole (Le 20/01/2023, à 00:01)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#15 Le 19/01/2023, à 23:55

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

geole a écrit :
brisavion a écrit :

Je vais refaire le support d'installation windows dont je me suis précipitamment débarrassé.

Il faut toujours avoir à sa disposition les ISO d'installation des O.S. qu'on utilise.
Si tu as une clé USB de16go ou plus, tu peux les avoir sur la même clé en utilisant ventoy.
Je pense que 8 Go est certainement trop petit. geole e


Disons que je n'en ai jamais vraiment eu l'utilité et puis je me dis que c'est toujours disponible au téléchargement...


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#16 Le 20/01/2023, à 00:54

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Bon super ! Ça fonctionne. Merci vraiment beaucoup pour ton aide ! Je me voyais déjà dans des galères sans nom.
voici pour info le dernier rapport boot info : https://pastebin.ubuntu.com/p/Pqm66bfXZm/ , je ne sais pas s'il y a quelque chose à y redire. Merci encore !

boot-repair-4ppa203                                              [20230119_2342]

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






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Mount sda1 on /mnt/boot-sav/sda5/boot/efi

Unhide GRUB boot menu in sda5/etc/default/grub

======================== Reinstall the grub-efi of sda5 ========================

chroot /mnt/boot-sav/sda5 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
chroot /mnt/boot-sav/sda5 modprobe efivars

chroot /mnt/boot-sav/sda5 efibootmgr -v before grub install
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 0009,0000,0001,000B,000A
Boot0000* Windows Boot Manager	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.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..........S.e.a.g.a.t.e. .B.a.r.r.a.C.u.d.a. .1.2.0. .S.S.D. .Z.A.2.5.0.C.M.1.0.0.0.3....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.Q.7.0.T.H.0.L.W. . . . . . . . . . . . ........BO..NO..........S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.K.A.Y.3.Y.2........BO
Boot0009* ubuntu	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)
Boot000A* USB KEY	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO......... .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.0.7.0.1.4.6.9.9.8.F.B.2.F.A.6.3........BO
Boot000B* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(4,0)/HD(1,MBR,0x8f09a263,0x1f80,0xe6eb00)..BO

chroot /mnt/boot-sav/sda5 uname -r
5.3.0-28-generic

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
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/sda1
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
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/sda5 efibootmgr -v after grub install
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 0009,0000,0001,000B,000A
Boot0000* Windows Boot Manager	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.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..........S.e.a.g.a.t.e. .B.a.r.r.a.C.u.d.a. .1.2.0. .S.S.D. .Z.A.2.5.0.C.M.1.0.0.0.3....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.Q.7.0.T.H.0.L.W. . . . . . . . . . . . ........BO..NO..........S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.K.A.Y.3.Y.2........BO
Boot0009* ubuntu	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)
Boot000A* USB KEY	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO......... .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.0.7.0.1.4.6.9.9.8.F.B.2.F.A.6.3........BO
Boot000B* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(4,0)/HD(1,MBR,0x8f09a263,0x1f80,0xe6eb00)..BO
Warning: NVram was not modified.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
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/sda1@/EFI/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in sda5/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 Ubuntu 22.04.1 LTS entry (sda1/efi/ubuntu/grubx64.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\grubx64.efi


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

 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector 
    2048 of the same hard drive for core.img, but core.img can not be found at 
    this location.
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    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/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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    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 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04 20191223.............................................N....2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 1983792 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GK208B [GeForce GT 730] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 2.20 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 0009,0000,0001,000B,000A
Boot0000* Windows Boot Manager	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,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..........S.e.a.g.a.t.e. .B.a.r.r.a.C.u.d.a. .1.2.0. .S.S.D. .Z.A.2.5.0.C.M.1.0.0.0.3...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.Q.7.0.T.H.0.L.W. . . . . . . . . . . . ........BO..NO..........S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.K.A.Y.3.Y.2........BO
Boot0009* ubuntu	HD(1,GPT,814ad3fa-a81d-4bf0-aead-527f365452fe,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot000A* USB KEY	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0b00)..GO..NO......... .U.S.B. .D.I.S.K. .2...0. .P.M.A.P...................\.,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.0.7.0.1.4.6.9.9.8.F.B.2.F.A.6.3........BO
Boot000B* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(4,0)/HD(1,MBR,0x8f09a263,0x1f80,0xe6eb00)..BO

728124f6ec8e22fbdbe7034812c81b95   sda1/BOOT/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/BOOT/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   sda1/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/BOOT/mmx64.efi
3795ef72a4ed0369ca44e711527904bf   sda1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
20ac8dde00311476f3755604eb0e545a   sda1/Microsoft/Boot/bootmgfw.efi
27d382c5fc21df6f4a75baed05aa1d9d   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb2	: no-os,	64, 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
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: 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,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sdb2	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 685325BA-3846-4141-AFA1-AD04EF7A46DB
          Start       End   Sectors   Size Type
sda1       2048    206847    204800   100M EFI System
sda2     206848    239615     32768    16M Microsoft reserved
sda3     239616 319508257 319268642 152.2G Microsoft basic data
sda4  487280640 488394751   1114112   544M Windows recovery environment
sda5  319508480 487280639 167772160    80G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 03C47A93-2C1E-4440-B593-76843A647386
         Start        End    Sectors   Size Type
sdb1      2048   16001023   15998976   7.6G Linux swap
sdb2  16001024 1953523711 1937522688 923.9G Linux filesystem
Disk sdc: 7.2 GiB, 7752450048 bytes, 15141504 sectors
Disk identifier: 0x8f09a263
      Boot Start      End  Sectors  Size Id Type
sdc1  *     8064 15141503 15133440  7.2G  c W95 FAT32 (LBA)
Disk zram0: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram1: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram2: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram3: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram4: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram5: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram6: 498.2 MiB, 522436608 bytes, 127548 sectors
Disk zram7: 498.2 MiB, 522436608 bytes, 127548 sectors

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:gpt:ATA Seagate BarraCud:;
1:1049kB:106MB:105MB:fat32::boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:164GB:163GB:ntfs:Basic data partition:msftdata;
5:164GB:249GB:85.9GB:ext4::;
4:249GB:250GB:570MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000DM010-2EP1:;
1:1049kB:8193MB:8191MB:linux-swap(v1)::;
2:8193MB:1000GB:992GB:ext4::;
sdc:7752MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:7752MB:7748MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     8570-6858                            814ad3fa-a81d-4bf0-aead-527f365452fe       
├─sda2                                               a93d3b0d-4d51-4b66-bd39-f1f97d5e6b77       Microsoft reserved partition
├─sda3 ntfs     E6C4A541C4A51539                     7882dfe0-4a71-40c2-8666-005306611b12       Basic data partition
├─sda4 ntfs     D0284AAC284A9180                     1cc6c29a-dd58-426d-8be8-b38e0c75cc43       
└─sda5 ext4     baf93c31-714e-450b-a31b-b09cbfdd20ea f1201a9d-34d9-4449-9725-51a32a97cf75       
sdb                                                                                             
├─sdb1 swap     a71eb0aa-57b8-4a0e-9ac4-535c404331e0 66346d9b-ce6b-4c44-a567-2515e1f6f3a6       
└─sdb2 ext4     5e680ec2-df51-410a-9c45-41a48dd84ad4 0b8d14ea-bc7f-4166-95bd-a250044ba2b2       
sdc                                                                                             
└─sdc1 vfat     DAD9-6374                            8f09a263-01                          BLEU  

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1    67.4M  32% /mnt/boot-sav/sda1
/dev/sda3    76.1G  50% /mnt/boot-sav/sda3
/dev/sda4    88.9M  84% /mnt/boot-sav/sda4
/dev/sda5    66.4G  10% /mnt/boot-sav/sda5
/dev/sdb2   307.3G  61% /mnt/boot-sav/sdb2
/dev/sdc1     6.3G  13% /cdrom

Mount options (filtered): ______________________________________________________


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

search.fs_uuid baf93c31-714e-450b-a31b-b09cbfdd20ea root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   baf93c31-714e-450b-a31b-b09cbfdd20ea
Ubuntu, with Linux 5.15.0-58-generic   baf93c31-714e-450b-a31b-b09cbfdd20ea
Ubuntu, with Linux 5.15.0-43-generic   baf93c31-714e-450b-a31b-b09cbfdd20ea
Windows Boot Manager (on sda1)   osprober-efi-8570-6858
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=baf93c31-714e-450b-a31b-b09cbfdd20ea /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=8570-6858  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sdb2 during installation
UUID=5e680ec2-df51-410a-9c45-41a48dd84ad4 /home           ext4    defaults        0       2
# swap was on /dev/sdb1 during installation
UUID=a71eb0aa-57b8-4a0e-9ac4-535c404331e0 none            swap    sw              0       0

======================= sda5/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"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 152.353523254 = 163.588349952  boot/grub/grub.cfg                             1
 216.556636810 = 232.525918208  boot/vmlinuz                                   2
 172.564449310 = 185.289666560  boot/vmlinuz-5.15.0-43-generic                 2
 216.556636810 = 232.525918208  boot/vmlinuz-5.15.0-58-generic                 2
 172.564449310 = 185.289666560  boot/vmlinuz.old                               2
 168.685993195 = 181.125206016  boot/initrd.img                                1
 231.145977020 = 248.191102976  boot/initrd.img-5.15.0-43-generic              3
 168.685993195 = 181.125206016  boot/initrd.img-5.15.0-58-generic              1
 231.145977020 = 248.191102976  boot/initrd.img.old                            3

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

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

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdc1/syslinux.cfg (filtered) =========================

default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  quiet splash ---
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper  noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal ---
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry4
menu label Boot-Repair-Disk session (failsafe)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdc1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             ldlinux.c32                                    1
            ?? = ??             libcom32.c32                                   1
            ?? = ??             libutil.c32                                    1
            ?? = ??             menu.c32                                       1

=============== sdc1: Version of COM32(R) files used by Syslinux ===============

 ldlinux.c32                        :  not a COM32/COM32R module
 libcom32.c32                       :  not a COM32/COM32R module
 libutil.c32                        :  not a COM32/COM32R module
 menu.c32                           :  not a COM32/COM32R module

Dernière modification par brisavion (Le 20/01/2023, à 00:57)


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne

#17 Le 20/01/2023, à 10:09

geole

Re : [Résolu]dual boot, pas de grub au demarrage

Bonjour.
La remise en état de la partition de boot est bonne.

quant est-il du problème initial? Le démarrage automatique affiche-t-il le grub permettant de choisir entre ubuntu et windows.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#18 Le 20/01/2023, à 10:32

brisavion

Re : [Résolu]dual boot, pas de grub au demarrage

Bonjour,

il me donne le choix entre "ubuntu" par défaut et "windows boot manager (on /dev/sda1)" qui démarre sur windows. La formulation du choix sur windows (boot manager etc) me paraît étrange mais ça fonctionne.

Dernière modification par brisavion (Le 20/01/2023, à 10:34)


Asus H81M-C
Intel Core i3-4170 CPU @ 3.70GHz
NVIDIA GeForce GT 610 (driver propriétaire Nvidia-driver-390)
Ubuntu 22.04.3

Hors ligne