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 16/08/2022, à 09:40

Jean-M

[Résolu]dual boot Ubuntu 22.04 et Windows 11

Bonjour,
Peut-être suis-je hors sujet…
Sur un nouveau Mini PC j'ai installé Ubuntu à côté du Windows fourni par le constructeur, et après avoir réduit la taille de la partition du système µ$oft.
Les deux systèmes fonctionnent parfaitement ! Et dans le cas de Ubuntu l'écran 1440p a été reconnu ainsi que la carte M2 du WiFi qui n'est pas Intel. J'utilise toujours Firefox et Evolution (il ne semble pas exister de récupération entre Thunderbird et Evolution)… Mon problème (de principe) :

C'est que lors des chargements du système, je suis obligé de passer par la touche F7 pour sélectionner dans le BIOS Ubuntu car c'est Windows qui est choisi par défaut, je souhaiterai simplement que la "par défaut" soit Linux et Windows le second.
Le truc doit être hors sujet car c'est sûrement dans le BIOS un paramètre que je n'ai pas trouvé !
Pour info, dans le répertoire /boot/efi/EFI il y a Boot avec 3 éléments, Microsoft avec 2 éléments et ubuntu avec 5 éléments ; il n'y a rien dans "/boot/efi/System Volume Information".

Ce problème ne m’empêche pas de dormir puisque la bécane n'est arrêtée que très rarement mais peut être gênante lors des mise à jour nécessitant un redémarrage.

Dernière modification par Jean-M (Le 16/08/2022, à 17:14)


Jean-M -- Retraité au Pays basque ex-Ingénieur d'Études Grands Systèmes IBM et Consultant Qualité
Équipement : Ubuntu Linux 22.04 à jour (sur Minisforum B550 R7-5700g 32Go et sur Portable Dell 2en1 I7-10510+MX250 16Go)

Hors ligne

#2 Le 16/08/2022, à 10:08

geole

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Bonjour.
Je ne connais pas le fonctionnement du mini-pc.
Tu pourrais essayer de demander a windows de lancer ubuntu.
Pour voir si c'est possible, peux-tu faire un boot-info et poster l'URL généré?
https://doc.ubuntu-fr.org/tutoriel/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

Hors ligne

#3 Le 16/08/2022, à 11:57

Jean-M

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

boot-info est dans : https://paste.ubuntu.com/p/5YsbSmTvSw/

Le rapport montre bien qu'il y a deux système reconnus par le Bios mais je n'ai pas trouvé où changer l'ordre sur ce disque cela ne semble pas possible je ne peux changer que l'ordre des périphériques.
Ce n'est pas spécialement gênant mais peut poser des problèmes lors d'un rechargement après une mise à jour.


Jean-M -- Retraité au Pays basque ex-Ingénieur d'Études Grands Systèmes IBM et Consultant Qualité
Équipement : Ubuntu Linux 22.04 à jour (sur Minisforum B550 R7-5700g 32Go et sur Portable Dell 2en1 I7-10510+MX250 16Go)

Hors ligne

#4 Le 16/08/2022, à 12:03

xubu1957

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Bonjour,

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

boot-info-4ppa200                                              [20220816_1147]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => No boot loader is installed in the MBR of /dev/sda.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/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

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

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

nvme0n1p4: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

    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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on nvme0n1p5
OS#2:   Windows 7 on nvme0n1p3

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

CPU architecture: 64-bit
Video: Cezanne from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-46-generic root=UUID=114c4601-98a7-44d7-b14a-3984040d4d07 ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p5   ext4   390G     17G  354G   5% /

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

BIOS/UEFI firmware: 5.17(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0002
Boot0000* Windows Boot Manager	HD(1,GPT,ef2bcf0e-d002-4b88-b5ec-4d65201741a1,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.}....................
Boot0002* ubuntu	HD(1,GPT,ef2bcf0e-d002-4b88-b5ec-4d65201741a1,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)

728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
8a9ec3de9d79349c2e34b580fe655ee5   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
59f8328db22467a564e7173962244df0   nvme0n1p1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda4	: 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,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
sda4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda2	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda1	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 6953013A-336A-43B6-BF9A-12DAB71C9B86
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     468991    262144   128M Microsoft reserved
nvme0n1p3    468992  164308991 163840000  78.1G Microsoft basic data
nvme0n1p4 996454400 1000214527   3760128   1.8G Windows recovery environment
nvme0n1p5 164308992  996454399 832145408 396.8G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: BD6B04F8-CF4E-4952-A006-83B361F2CDDD
           Start        End   Sectors  Size Type
sda1        2048  204802047 204800000 97.7G Linux filesystem
sda2   204802048  307202047 102400000 48.8G Linux filesystem
sda3   307202048  368642047  61440000 29.3G Linux filesystem
sda4   368642048  983042047 614400000  293G Linux filesystem
sda5   983042048 1146882047 163840000 78.1G Linux filesystem
sda6  1146882048 1310722047 163840000 78.1G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:105GB:105GB:ext4:eBooks:;
2:105GB:157GB:52.4GB:ext4:saveJ:;
3:157GB:189GB:31.5GB:ext4:varlog:;
4:189GB:503GB:315GB:ext4:xhome:;
5:503GB:587GB:83.9GB:ext4:work:;
6:587GB:671GB:83.9GB:ntfs:winWrk:msftdata;
nvme0n1:512GB:nvme:512:512:gpt:KINGSTON OM8PDP3512B-A01:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:240MB:134MB::Microsoft reserved partition:msftres;
3:240MB:84.1GB:83.9GB:ntfs:Basic data partition:msftdata;
5:84.1GB:510GB:426GB:ext4::;
4:510GB:512GB:1925MB:ntfs::hidden, diag;

Free space >10MiB: ______________________________________________________________

sda: 640001MiB:953870MiB:313869MiB

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                     
├─sda1      ext4     1b69242f-df33-4f72-900c-41aa88e2e869 41c82656-4c11-4d39-a7e7-838424c86edb          eBooks
├─sda2      ext4     c8966376-b4d0-45d9-ba9b-a29417891b64 69e30d14-ecc2-4129-a9cc-803b9897ed91          saveJ
├─sda3      ext4     8fe688fe-e13f-4f18-895f-5cd1ed58756e d0fa6ce7-7cdd-42b7-8ac4-c5ebb6bc1488          varlog
├─sda4      ext4     6c6a3396-3fde-49eb-8a43-80b481cf9ff8 96530ff9-0d6b-4852-89a6-4ada437a8c93          xhome
├─sda5      ext4     0e2f4e44-3d9b-4166-af43-b6a563d18f5a c2840791-d684-49b0-9a31-b8e31f24bc31          work
└─sda6      ntfs     2A1D43A036C45193                     41518660-bf60-4cc6-bc3c-75c566c57606 winWrk   winWrk
nvme0n1                                                                                                 
├─nvme0n1p1 vfat     BCE8-1F78                            ef2bcf0e-d002-4b88-b5ec-4d65201741a1 SYSTEM   EFI system partition
├─nvme0n1p2                                               1110654b-1e52-4132-9796-5044b158c87e          Microsoft reserved partition
├─nvme0n1p3 ntfs     5EB8E8E2B8E8BA23                     888c028d-0263-492e-bc1f-7075ed3e6dbe          Basic data partition
├─nvme0n1p4 ntfs     7CCCE941CCE8F674                     3ca8316c-3ec6-4849-9124-07d9dff10a27 Recovery Basic data partition
└─nvme0n1p5 ext4     114c4601-98a7-44d7-b14a-3984040d4d07 9317397d-fa5d-4023-ad98-ce7b2a525968          

Mount points (filtered): _______________________________________________________

                         Avail Use% Mounted on
/dev/nvme0n1p1           63.7M  34% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3           40.1G  49% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4         1016.4M  45% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5          353.5G   4% /
/dev/sda1                  55G  37% /mnt/eBooks
/dev/sda2                42.7G   5% /mnt/saveJ
/dev/sda3                27.2G   0% /mnt/exVarlog
/dev/sda4               208.5G  22% /mnt/xhome
/dev/sda5                72.4G   0% /mnt/work
/dev/sda6                  78G   0% /mnt/winwork

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p1         vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3         fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4         fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5         ext4            rw,relatime,errors=remount-ro
/dev/sda1              ext4            rw,relatime
/dev/sda2              ext4            rw,relatime
/dev/sda3              ext4            rw,relatime
/dev/sda4              ext4            rw,relatime
/dev/sda5              ext4            rw,relatime
/dev/sda6              fuseblk         rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096

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

search.fs_uuid 114c4601-98a7-44d7-b14a-3984040d4d07 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   114c4601-98a7-44d7-b14a-3984040d4d07
Ubuntu, with Linux 5.15.0-46-generic   114c4601-98a7-44d7-b14a-3984040d4d07
Ubuntu, with Linux 5.15.0-43-generic   114c4601-98a7-44d7-b14a-3984040d4d07
Windows Boot Manager (on nvme0n1p1)   osprober-efi-BCE8-1F78
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=114c4601-98a7-44d7-b14a-3984040d4d07 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=BCE8-1F78  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
# /var/log        was on /dev/sda3 n'est plus utilisé
UUID=8fe688fe-e13f-4f18-895f-5cd1ed58756e /mnt/exVarlog  ext4  defaults 0 2
# /mnt/eBooks     was on /dev/sda1
# /mnt/saveJ      was on /dev/sda2
# /mnt/xhome      was on /dev/sda4
# /mnt/work       was on /dev/sda5
UUID=1b69242f-df33-4f72-900c-41aa88e2e869 /mnt/eBooks  ext4  defaults 0 2
UUID=c8966376-b4d0-45d9-ba9b-a29417891b64 /mnt/saveJ   ext4  defaults 0 2
UUID=6c6a3396-3fde-49eb-8a43-80b481cf9ff8 /mnt/xhome   ext4  defaults 0 2
UUID=0e2f4e44-3d9b-4166-af43-b6a563d18f5a /mnt/work    ext4  defaults 0 2
# /mnt/winwork    was on /dev/sda6
# /mnt/winsys     was on /dev/nvme0n1p3
UUID=2A1D43A036C45193                     /mnt/winwork ntfs  defaults,umask=007,gid=100 0 0
UUID=5EB8E8E2B8E8BA23                     /mnt/winsys  ntfs  ro,noexec,noauto  0 0

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

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

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

           GiB - GB             File                                 Fragment(s)
 472,702228546 = 507,560153088  boot/grub/grub.cfg                             1
 404,484371185 = 434,311786496  boot/vmlinuz                                   2
  90,536128998 = 97,212428288   boot/vmlinuz-5.15.0-43-generic                 2
 404,484371185 = 434,311786496  boot/vmlinuz-5.15.0-46-generic                 2
  90,536128998 = 97,212428288   boot/vmlinuz.old                               2
 382,188827515 = 410,372128768  boot/initrd.img                                1
 467,281703949 = 501,739909120  boot/initrd.img-5.15.0-43-generic              1
 382,188827515 = 410,372128768  boot/initrd.img-5.15.0-46-generic              1
 467,281703949 = 501,739909120  boot/initrd.img.old                            1

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

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

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

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

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

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession entry (nvme0n1p1/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)

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#5 Le 16/08/2022, à 12:28

geole

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Extraits du boot-info

===================================== UEFI =============================
BIOS/UEFI firmware: 5.17(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
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)

Donc, à tenter en mode administratif

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

Suivant les versions de windows', cela peut s'écrire

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

ou

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

Attention par d'erreur sur le nom de fichier. Donc utilise le copier/coller.

Si cela ne fonctionne pas, il y a la solution refind. https://doc.ubuntu-fr.org/refind

Dernière modification par geole (Le 16/08/2022, à 17:21)


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

Hors ligne

#6 Le 16/08/2022, à 14:04

FrancisFDZ

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Bonjour,
@geole : je ne vois pas en quoi le remplacement des doubles quotes " par des simples quotes ' (ou inversement) donnerait une expression interprétée de façon différente, même par Windows, mais je peux me tromper (ça ne serait pas la première fois)
C'est un problème de regexp, il peut y avoir des particularités que je n'ai pas remarqué jusqu'à présent.

Dernière modification par FrancisFDZ (Le 16/08/2022, à 14:06)


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#7 Le 16/08/2022, à 14:14

geole

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

C'est une commande interprétée par windows
Ce sont les versions de windows      qui ont évolué    entre diverses codifications au fil des mois

Dernière modification par geole (Le 16/08/2022, à 14:14)


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

Hors ligne

#8 Le 16/08/2022, à 15:15

FrancisFDZ

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Et moi qui pensais que les "regexp" avait une valeur plus ou moins universelle !


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#9 Le 16/08/2022, à 17:13

Jean-M

Re : [Résolu]dual boot Ubuntu 22.04 et Windows 11

Bonsoir,
Je viens de trouver la modification à faire dans le Bios pour que Linux soit le système par défaut et que Windows passe en second.
Le problème venait non pas de Linux ni de Windows, mais du fait que les bécanes sont très mal documentées (et plus en particulier les marques exotiques, mais il y a des priorité de budget) juste un mini fascicule (pour un mini-PC logique, mais…) dont seule deux pages mon été utile pour insérer un disque 2.5" mais aucune information sur la configuration logicielle et sur le Bios.
Bon maintenant ça dépote un peu plus, je suis passé du processeur Intel Core i5-4690, ses 16Go et GT1030 à un Ryzen7 5700G et 32Go même capacité de stockage. Comme j'utilise le circuit graphique intégré au proc la mémoire vidéo va être partagée… je vais chercher dans le Bios voir s'il est possible de forcer une taille de cette partie de mémoire.


Jean-M -- Retraité au Pays basque ex-Ingénieur d'Études Grands Systèmes IBM et Consultant Qualité
Équipement : Ubuntu Linux 22.04 à jour (sur Minisforum B550 R7-5700g 32Go et sur Portable Dell 2en1 I7-10510+MX250 16Go)

Hors ligne