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 02/09/2023, à 16:56

lourson6

Grub * dual boot non reconnu

Bonjour à tous !

Distibution Ubuntu 23 04
Voilà , bien que pas handicapant , j'ai un simple petit problème , qui est le suivant :
Au démarrage , alors que j'ai un second systeme d'exploitation en dual boot , il ne fonctionne pas - au démarrage -
Je liste bien le systeme une fois lancé
tous les repertoires et fichiers windows
Voilà voilou

Dernière modification par lourson6 (Le 02/09/2023, à 17:13)

Hors ligne

#2 Le 02/09/2023, à 17:43

geole

Re : Grub * dual boot non reconnu

Bonjour
C est normal en 23.04.
Il n y a plus de recherche des O.S.
pour réactiver,  un petit coup de boot repair. Réparation standard
ou

sudo cp -v  /etc/default/grub   /etc/default/grub.REF
sudo sed -i 's/quiet splash/quiet/' /etc/default/grub
echo GRUB_DISABLE_OS_PROBER=false | sudo tee -a /etc/default/grub
sudo sed -i '/GRUB_TIMEOUT/d' /etc/default/grub
echo GRUB_TIMEOUT_STYLE=menu | sudo tee -a /etc/default/grub
echo GRUB_TIMEOUT=59 | sudo tee -a /etc/default/grub
sudo update-grub

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 02/09/2023, à 18:42

lourson6

Re : Grub * dual boot non reconnu

Tout d'abord Bonjour
En faisant un "copié coller" de ces différentes lignes et reboot
toujours pas d'acces en double boot !

Hors ligne

#4 Le 02/09/2023, à 20:25

geole

Re : Grub * dual boot non reconnu

Peux-tu faire un  Boot-info et publier l'URL générée?


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 03/09/2023, à 09:09

lourson6

Re : Grub * dual boot non reconnu

Bonjour ,
Ou bien sûr
ici ->

https://paste.ubuntu.com/p/QDMK8877kM/

merci

Hors ligne

#6 Le 03/09/2023, à 09:24

xubu1957

Re : Grub * dual boot non reconnu

Bonjour,

Collage du Boot-info, pour les spécialistes :

boot-info-4ppa203                                              [20230903_1007]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => libparted MBR boot code is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.3 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda2: __________________________________________________________________________

    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:        /bootmgr /Boot/BCD

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:        /bootmgr /Windows/System32/winload.exe

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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


================================ 3 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on sda6
OS#2:   Ubuntu 23.04 on sdb3
OS#3:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: CoffeeLake-S GT2 [UHD Graphics 630] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-31-generic root=UUID=ff5f3da3-ae3e-4bda-896d-95189a450118 ro quiet
df -Th / : /dev/sdb3        ext4   242G     19G  211G   9% /

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

BIOS/UEFI firmware: 1.90(5.13) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* ubuntu	HD(2,MBR,0x1ca6d7eb,0x800,0x219800)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.2.4.0.G...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.3.7.0.8.5.0.8.2.7.3. . . . ........BO..NO..........W.D.C. .W.D.1.0.E.Z.E.X.-.0.8.W.N.4.A.0...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.6.C.2.Y.F.L.D.F.F.R........BO

0a832cd2c33c8a146b78778df8d33417   sdb2/BOOT/fbx64.efi
abfc1dc97795531c0390328f9dd1a281   sdb2/BOOT/mmx64.efi
7e494801bb7163fd063f386d7bc75ed8   sdb2/ubuntu/grubx64.efi
abfc1dc97795531c0390328f9dd1a281   sdb2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdb2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sdb2/BOOT/BOOTX64.efi
a9c517741ac31962d7feb152948ad1ee   sda5/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   sda5/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   sda5/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sda5/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sda5/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sda5/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sdb3	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda5	: 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,	bootmgr,	notwinboot
sda6	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: 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
sda6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0xa9ac253f
      Boot     Start       End   Sectors   Size Id Type
sda1       305020926 468860927 163840002  78.1G  5 Extended
sda2            4096   1028095   1024000   500M  7 HPFS/NTFS/exFAT
sda3         1028096 288632831 287604736 137.1G  7 HPFS/NTFS/exFAT
sda4       288634880 305018879  16384000   7.8G 82 Linux swap / Solaris
sda5  *    305020928 306069503   1048576   512M ef EFI (FAT-12/16/32)
sda6       306071552 468860927 162789376  77.6G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x1ca6d7eb
      Boot     Start        End    Sectors   Size Id Type
sdb1       519639040 1953523711 1433884672 683.7G  7 HPFS/NTFS/exFAT
sdb2  *         2048    2203647    2201600     1G ef EFI (FAT-12/16/32)
sdb3         2203648  519639039  517435392 246.7G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:240GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;
2:2097kB:526MB:524MB:ntfs::;
3:526MB:148GB:147GB:ntfs::;
4:148GB:156GB:8389MB:linux-swap(v1)::swap;
1:156GB:240GB:83.9GB:::;
5:156GB:157GB:537MB:fat32::boot, esp;
6:157GB:240GB:83.3GB:ext4::;
sdb:1000GB:scsi:512:4096:msdos:ATA WDC WD10EZEX-08W:;
2:1049kB:1128MB:1127MB:fat32::boot, esp;
3:1128MB:266GB:265GB:ext4::;
1:266GB:1000GB:734GB:fat32::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1                                               a9ac253f-01                                             
├─sda2 ntfs     38E25756E2571788                     a9ac253f-02                          Réservé au système 
├─sda3 ntfs     E2946F55946F2B6D                     a9ac253f-03                                             
├─sda4 swap     a1bc0e3b-5e0e-4fa2-8485-3b1001c89844 a9ac253f-04                                             
├─sda5 vfat     5676-822D                            a9ac253f-05                                             
└─sda6 ext4     ec95f01c-c7f3-4d82-a816-0142bc8166c8 a9ac253f-06                                             
sdb                                                                                                          
├─sdb1 vfat     1897-C8D4                            1ca6d7eb-01                          Ubuntu             
├─sdb2 vfat     D26D-CD00                            1ca6d7eb-02                                             
└─sdb3 ext4     ff5f3da3-ae3e-4bda-896d-95189a450118 1ca6d7eb-03                                             
sdc                                                                                                          

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda2                      471.2M   6% /mnt/boot-sav/sda2
/dev/sda3                        811M  99% /mnt/boot-sav/sda3
/dev/sda5                      504.9M   1% /mnt/boot-sav/sda5
/dev/sda6                       60.7G  15% /mnt/boot-sav/sda6
/dev/sdb1                      673.9G   1% /mnt/boot-sav/sdb1
/dev/sdb2                          1G   1% /mnt/boot-sav/sdb2
/dev/sdb3                      210.8G   8% /

Mount options (filtered): ______________________________________________________


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

search.fs_uuid ec95f01c-c7f3-4d82-a816-0142bc8166c8 root hd0,msdos6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=ec95f01c-c7f3-4d82-a816-0142bc8166c8 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
/swapfile                                 none            swap    sw              0       0

======================= sda6/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=""

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

           GiB - GB             File                                 Fragment(s)
 198,279422760 = 212,900909056  boot/vmlinuz                                   1
 198,279422760 = 212,900909056  boot/vmlinuz-6.2.0-26-generic                  1
 164,396766663 = 176,519684096  boot/initrd.img                                1
 164,396766663 = 176,519684096  boot/initrd.img-6.2.0-26-generic               1
 164,396766663 = 176,519684096  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17 07:35 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

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

search.fs_uuid ff5f3da3-ae3e-4bda-896d-95189a450118 root hd1,msdos3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   ff5f3da3-ae3e-4bda-896d-95189a450118
Ubuntu, with Linux 6.2.0-31-generic   ff5f3da3-ae3e-4bda-896d-95189a450118
Ubuntu, with Linux 6.2.0-20-generic   ff5f3da3-ae3e-4bda-896d-95189a450118
Ubuntu 22.04.3 LTS (22.04) (on sda6)   ec95f01c-c7f3-4d82-a816-0142bc8166c8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during curtin installation
/dev/disk/by-uuid/ff5f3da3-ae3e-4bda-896d-95189a450118 / ext4 defaults 0 1
# /boot/efi was on /dev/sdb2 during curtin installation
/swap.img	none	swap	sw	0	0

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

GRUB_DEFAULT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=59

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

           GiB - GB             File                                 Fragment(s)
 194,924461365 = 209,298546688  boot/grub/grub.cfg                             1
   6,024597168 = 6,468861952    boot/vmlinuz                                   1
   1,251808167 = 1,344118784    boot/vmlinuz-6.2.0-20-generic                  1
   6,024597168 = 6,468861952    boot/vmlinuz-6.2.0-31-generic                  1
   1,251808167 = 1,344118784    boot/vmlinuz.old                               1
  14,997314453 = 16,103243776   boot/initrd.img                                1
  14,568237305 = 15,642525696   boot/initrd.img-6.2.0-20-generic               1
  14,997314453 = 16,103243776   boot/initrd.img-6.2.0-31-generic               1
  14,568237305 = 15,642525696   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec  9  2022 10_linux
-rwxr-xr-x 1 root root 43263 Dec  9  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec  9  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec  9  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  9  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Feb 26  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  9  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec  9  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of
sdb3 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). 

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA WDC WD10EZEX-08W) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

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

Hors ligne

#7 Le 03/09/2023, à 09:29

geole

Re : Grub * dual boot non reconnu

lourson6 a écrit :

Bonjour ,
Ou bien sûr
ici -> https://paste.ubuntu.com/p/QDMK8877kM/

merci

Bonjour.
Tu as fais ton  installation en EFI alors que windows est installé en LEGACY.
"LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

il faut que tu bootes en LEGACY et tu pourras réinsaller le grub avec boot-repair.
paragraphe 4.2


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