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 22/12/2023, à 12:02

Maïeul

[resolu] Comprendre la séquence de démarrage

Bonjour tout le monde,

mon précédent ordinateur a eu sa carte mère grillée. J'en ai racheté un nouveau sur backmarket, et j'ai demandé à un réparateur de mettre le SSD de l'ancien dans le nouveau, car il est plus volumineux et surtout j'ai deja tout mon install.

L'opération a été un peu plus compliiquée lors du demarrage, car il ne voulait pas démarrer sous ubuntu a cause du BIOS — mon nouvel ordinateur n'a plus le legacy mode.

Bref le reparateur appel ses potes geeks et réussi tant bien que mal à faire fonctionner le bousin, mais en fait il m'installe un second ubuntu à côté du premier.

Maintenant lorsque je démarre la bécane, j'ai ceci qui apparait.

[urfl]https://drive.switch.ch/index.php/s/qWR … 9/download[/urfl]

Et de fait si je regarde la table des partitions j'ai ceci



[urfl]https://drive.switch.ch/index.php/s/caB … 2/download[/urfl]

La "sous partition" (j'ai un peu du mal à comprendre comment tout ca fonctionne, j'ignorais qu'on pouvait avoir des partitions dans les partitions) orange est celle de son ubuntu neuf, la grande partition à sa gauche est celle de mon ubuntu "historique".

J'ai 2 questions :
- comment éviter de passer à chaque fois par cet étape, pour selectionner directement la ligne en blanc et booter mon ubuntu "à moi"
- subsidiairement, un jour je pourrais manquer de place dans ma partition "historique", j'aimerais récuperer l'espace occupé par la partition en orange : est-ce possible sans risque ?


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images.

Dernière modification par Maïeul (Le 09/01/2024, à 17:40)


Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#2 Le 22/12/2023, à 14:33

geole

Re : [resolu] Comprendre la séquence de démarrage

Bonjour.
Dans le vieux système de stockage avec table de partition ms-dos il ne pouvait y avoir que quatre partitions primaires. Ce qui est peu. Il est donc fréquent que l'une soit déclarée étendue. Elle a alors la possibilité d'héberger jusqu'à 1024 (2048?) autres partitions. Celles-ci s'appelant alors logiques. A noter que tout cela ne peut théoriquement dépasser 2 TiO.
Tu es certainement dans ce contexte depuis le début.
Avec les disques dépassant 2TiO, il faut utiliser une table de partition gptElle peut alors héberger 128 partitions primaires. Elle est dupliquée en fin de disque pour se protéger du secteur 0 illisible.
Un disque de moins de 2TiO peut aussi avoir une telle table de partition et il existe une commande de conversion sans perte de données.


Pour ta réparation.
Boote avec le support d'installation. Installe boot-repair.
Prends loptions avancées et dis-lui de réparer ton ubuntu.
Par la suite, installe gparted et supprime l'autre ubuntu et agrandis le tiens.

Dernière modification par geole (Le 22/12/2023, à 16:35)


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 22/12/2023, à 14:36

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

merci, je testerait tout cela à la rentrée, chez moi, dans un cadre plus propices à avoir des choses stables.


Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#4 Le 04/01/2024, à 18:26

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

Bon, j'ai testé boot-repaire, ca n'a rien changé... j'ai toujours cette fenetre au demarrage qui me propose de choisir entre 2 versions d'ubuntu


Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#5 Le 04/01/2024, à 18:54

geole

Re : [resolu] Comprendre la séquence de démarrage

geole a écrit :

Pour ta réparation.
Boote avec le support d'installation. Installe boot-repair.
Prends loptions avancées et dis-lui de réparer ton ubuntu.
Par la suite, installe gparted et supprime l'autre ubuntu et agrandis le tiens.

Bonjour,
Fournis 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

Hors ligne

#6 Le 04/01/2024, à 19:30

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

boot-info-4ppa2075                                              [20240104_1828]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 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
    ---------------------------------------------------------------------------

nvme0n1p1: _____________________________________________________________________

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

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

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

nvme0n1p6: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on nvme0n1p5
OS#2:   Ubuntu 22.04.3 LTS on nvme0n1p6

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

CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-39-generic root=UUID=4be30567-73b2-43ae-a322-8f30b3483fe3 ro quiet splash
df -Th / : /dev/nvme0n1p5   ext4   759G    593G  128G  83% /

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

BIOS/UEFI firmware: 1.31.0(1.31) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0002,0001,0000,0003
Boot0000  UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1	HD(1,MBR,0x98ea3579,0x800,0x100000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001  Uefi HTTPs Boot (PlaceHolder)	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(000000000000,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri()N.....YM....R,Y.
Boot0002  ubuntu	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0005* ubuntu	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\ubuntu\shimx64.efi)

64349b3622c65f495a99dbf6102496e3   nvme0n1p3/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p3/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p3/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   nvme0n1p3/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p3/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
nvme0n1p3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	fstab-has-goodEFI,	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
nvme0n1p6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: 0x98ea3579
         Boot      Start        End    Sectors   Size Id Type
nvme0n1p1            2048    1050623    1048576   512M  b W95 FAT32
nvme0n1p2         1052670 1999357951 1998305282 952.9G  5 Extended
nvme0n1p3 *    1999357952 2000408575    1050624   513M ef EFI (FAT-12/16/32)
nvme0n1p5         1052672 1619383782 1618331111 771.7G 83 Linux
nvme0n1p6      1619384320 1999357951  379973632 181.2G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:1024GB:nvme:512:512:msdos:KXG50ZNV1T02 NVMe TOSHIBA 1024GB:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1024GB:1023GB:::;
5:539MB:829GB:829GB:ext4::;
6:829GB:1024GB:195GB:ext4::;
3:1024GB:1024GB:538MB:fat32::boot, esp;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                              
├─nvme0n1p1 vfat     B039-425A                            98ea3579-01                                
├─nvme0n1p2                                               98ea3579-02                                
├─nvme0n1p3 vfat     06E7-3293                            98ea3579-03                                
├─nvme0n1p5 ext4     4be30567-73b2-43ae-a322-8f30b3483fe3 98ea3579-05                                
└─nvme0n1p6 ext4     87faea20-02cc-426c-90fd-abf19b77ecba 98ea3579-06                                

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p3                        505M   1% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p5                      127.1G  78% /
/dev/nvme0n1p6                      156.8G   6% /media/mrouquet/87faea20-02cc-426c-90fd-abf19b77ecba
/home/mrouquet/.Private             127.1G  78% /home/mrouquet

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p3                      vfat                                   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p5                      ext4                                   rw,relatime,errors=remount-ro
/dev/nvme0n1p6                      ext4                                   rw,nosuid,nodev,relatime,errors=remount-ro
/home/mrouquet/.Private             ecryptfs                               rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=3720dc56d9ec14c0,ecryptfs_sig=db4bf2427ce0616c,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs

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

search.fs_uuid 2b5547ea-5328-4b40-8046-bc634dc3f506 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   4be30567-73b2-43ae-a322-8f30b3483fe3
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### 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=4be30567-73b2-43ae-a322-8f30b3483fe3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B039-425A  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT="saved"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_SAVEDEFAULT="true"
GRUB_HIDDEN_TIMEOUT="1"
GRUB_DISABLE_OS_PROBER="true"
================= nvme0n1p5: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
  13.110103607 = 14.076866560   boot/grub/grub.cfg                             1
 364.637748718 = 391.526801408  boot/grub/i386-pc/core.img                     1
  92.210113525 = 99.009855488   boot/vmlinuz                                   3
  91.989330292 = 98.772791296   boot/vmlinuz-5.15.0-91-generic                 2
 206.205074310 = 221.411012608  boot/vmlinuz-6.2.0-37-generic                  2
  92.210113525 = 99.009855488   boot/vmlinuz-6.2.0-39-generic                  3
  91.989330292 = 98.772791296   boot/vmlinuz.old                               2
 311.113655090 = 334.055743488  boot/initrd.img                               240
 197.720699310 = 212.300984320  boot/initrd.img-5.15.0-91-generic              3
 317.376949310 = 340.780904448  boot/initrd.img-6.2.0-37-generic               6
 311.113655090 = 334.055743488  boot/initrd.img-6.2.0-39-generic              240
 197.720699310 = 212.300984320  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18683 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2  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  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   215 Dec  2  2022 41_custom
drwxr-xr-x 4 root root  4096 Jan  4 14:37 backup

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

Ubuntu   87faea20-02cc-426c-90fd-abf19b77ecba
Ubuntu 22.04.3 LTS (22.04) (on nvme0n1p5)   4be30567-73b2-43ae-a322-8f30b3483fe3
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p6/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=87faea20-02cc-426c-90fd-abf19b77ecba /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p3 during installation
UUID=06E7-3293  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 818.135944366 = 878.466781184  boot/grub/grub.cfg                             1
 807.875125885 = 867.449311232  boot/vmlinuz                                   1
 807.875125885 = 867.449311232  boot/vmlinuz-6.2.0-26-generic                  1
 808.182613373 = 867.779473408  boot/initrd.img                                2
 808.182613373 = 867.779473408  boot/initrd.img-6.2.0-26-generic               2
 808.182613373 = 867.779473408  boot/initrd.img.old                            2

=================== nvme0n1p6: 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  2023 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

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

search.fs_uuid 87faea20-02cc-426c-90fd-abf19b77ecba root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
nvme0n1p5,
using the following options:  nvme0n1p3/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 L'OS actuellement utilisé - Ubuntu 22.04.3 LTS entry (nvme0n1p3/efi/****/grub****.efi (**** will be updated in the final message) file) !

Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#7 Le 04/01/2024, à 20:13

geole

Re : [resolu] Comprendre la séquence de démarrage

Tu as toujours deux O.S.

================================ 2 OS detected =================================
OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on nvme0n1p5
OS#2:   Ubuntu 22.04.3 LTS on nvme0n1p6

Tu as actuellement booté sur le premier.
Vu la taille et l'occupation des  deux O.S

Mount points (filtered): _______________________________________________________
                                     Avail Use% Mounted on
/dev/nvme0n1p3                        505M   1% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p5                      127.1G  78% /
/dev/nvme0n1p6                      156.8G   6% /media/mrouquet/87faea20-02cc-426c-90fd-abf19b77ecba

Je pense que tu es sur celui que tu veux conserver...


La NVRAM EFI boote sur la partition 3.

Boot0005* ubuntu	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\ubuntu\shimx64.efi)

Ton fichier de paramétrage EFI contient

=================== nvme0n1p3/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 87faea20-02cc-426c-90fd-abf19b77ecba root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg'

qui correspond à la partition P6

blkid (filtered): ______________________________________________________________
NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                                                             
├─nvme0n1p5 ext4     4be30567-73b2-43ae-a322-8f30b3483fe3 98ea3579-05                                
└─nvme0n1p6 ext4     87faea20-02cc-426c-90fd-abf19b77ecba 98ea3579-06

donc si tu veux booter sur p5, il faut activer le boot sur  la partition P1 qui contient le pointeur sur P5 avec cette commande

sudo efibootmgr -o 0 5 

Dernière modification par geole (Le 05/01/2024, à 16:34)


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 04/01/2024, à 20:37

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

Tu as toujours deux O.S.

oui je n'ai pas voulu supprimer l'autre tant que je n'ai pas résolu ce problème : ce me fait un depanne en cas de plantage.

Je pense que tu es sur celui que tu veux conserver...

tout à fait, d'ailleurs c'est le seul où j'ai tout mon home et toutes mes paquets, donc c'est bien le bon smile, je le vois rapidement

qui correspond, a la partition P6

jusqu'à la je suis

donc si tu veux booter sur p5, il faut activer le boot sur  la partition P1 qui contient le pointeur sur P5 avec cette commande

sudo efibootmgr -o 0 5 

pourquoi 0 si c'est la partition p1 ?

sudo efibootmgr -o 0 5

fait. Mais cela ne change rien, j'ai toujours cette foutu interface au demarrage.

Le détail

1. Lorsque j'ai executé la commande

sudo efibootmgr -o 0 5 boot
[sudo] Mot de passe de mrouquet : 
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000
Boot0000  UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1
Boot0001* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2
Boot0002* Uefi HTTPs Boot (PlaceHolder)
Boot0003* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2
Boot0005* ubuntu

Et mon nouveau bootinfo


boot-info-4ppa2075                                              [20240104_1932]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 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
    ---------------------------------------------------------------------------

nvme0n1p1: _____________________________________________________________________

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

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

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

nvme0n1p6: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on nvme0n1p5
OS#2:   Ubuntu 22.04.3 LTS on nvme0n1p6

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

CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-39-generic root=UUID=4be30567-73b2-43ae-a322-8f30b3483fe3 ro quiet splash
df -Th / : /dev/nvme0n1p5   ext4   759G    593G  128G  83% /

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

BIOS/UEFI firmware: 1.31.0(1.31) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000
Boot0000  UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1	HD(1,MBR,0x98ea3579,0x800,0x100000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0002* Uefi HTTPs Boot (PlaceHolder)	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(000000000000,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri()N.....YM....R,Y.
Boot0003* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0005* ubuntu	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\ubuntu\shimx64.efi)

64349b3622c65f495a99dbf6102496e3   nvme0n1p3/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p3/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p3/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   nvme0n1p3/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p3/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
nvme0n1p3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	fstab-has-goodEFI,	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
nvme0n1p6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: 0x98ea3579
         Boot      Start        End    Sectors   Size Id Type
nvme0n1p1            2048    1050623    1048576   512M  b W95 FAT32
nvme0n1p2         1052670 1999357951 1998305282 952.9G  5 Extended
nvme0n1p3 *    1999357952 2000408575    1050624   513M ef EFI (FAT-12/16/32)
nvme0n1p5         1052672 1619383782 1618331111 771.7G 83 Linux
nvme0n1p6      1619384320 1999357951  379973632 181.2G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:1024GB:nvme:512:512:msdos:KXG50ZNV1T02 NVMe TOSHIBA 1024GB:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1024GB:1023GB:::;
5:539MB:829GB:829GB:ext4::;
6:829GB:1024GB:195GB:ext4::;
3:1024GB:1024GB:538MB:fat32::boot, esp;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                              
├─nvme0n1p1 vfat     B039-425A                            98ea3579-01                                
├─nvme0n1p2                                               98ea3579-02                                
├─nvme0n1p3 vfat     06E7-3293                            98ea3579-03                                
├─nvme0n1p5 ext4     4be30567-73b2-43ae-a322-8f30b3483fe3 98ea3579-05                                
└─nvme0n1p6 ext4     87faea20-02cc-426c-90fd-abf19b77ecba 98ea3579-06                                

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p3                        505M   1% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p5                        127G  78% /
/dev/nvme0n1p6                      156.8G   6% /mnt/boot-sav/nvme0n1p6
/home/mrouquet/.Private               127G  78% /home/mrouquet

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p3                      vfat                                   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p5                      ext4                                   rw,relatime,errors=remount-ro
/dev/nvme0n1p6                      ext4                                   rw,relatime
/home/mrouquet/.Private             ecryptfs                               rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=3720dc56d9ec14c0,ecryptfs_sig=db4bf2427ce0616c,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs

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

search.fs_uuid 2b5547ea-5328-4b40-8046-bc634dc3f506 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   4be30567-73b2-43ae-a322-8f30b3483fe3
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### 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=4be30567-73b2-43ae-a322-8f30b3483fe3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B039-425A  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT="saved"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_SAVEDEFAULT="true"
GRUB_HIDDEN_TIMEOUT="1"
GRUB_DISABLE_OS_PROBER="true"
================= nvme0n1p5: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
  13.110103607 = 14.076866560   boot/grub/grub.cfg                             1
 364.637748718 = 391.526801408  boot/grub/i386-pc/core.img                     1
  92.210113525 = 99.009855488   boot/vmlinuz                                   3
  91.989330292 = 98.772791296   boot/vmlinuz-5.15.0-91-generic                 2
 206.205074310 = 221.411012608  boot/vmlinuz-6.2.0-37-generic                  2
  92.210113525 = 99.009855488   boot/vmlinuz-6.2.0-39-generic                  3
  91.989330292 = 98.772791296   boot/vmlinuz.old                               2
 311.113655090 = 334.055743488  boot/initrd.img                               240
 197.720699310 = 212.300984320  boot/initrd.img-5?.15.0-91-generic              3
 317.376949310 = 340.780904448  boot/initrd.img-6.2.0-37-generic               6
 311.113655090 = 334.055743488  boot/initrd.img-6.2.0-39-generic              240
 197.720699310 = 212.300984320  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18683 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2  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  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   215 Dec  2  2022 41_custom
drwxr-xr-x 4 root root  4096 Jan  4 14:37 backup

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

Ubuntu   87faea20-02cc-426c-90fd-abf19b77ecba
Ubuntu 22.04.3 LTS (22.04) (on nvme0n1p5)   4be30567-73b2-43ae-a322-8f30b3483fe3
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p6/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=87faea20-02cc-426c-90fd-abf19b77ecba /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p3 during installation
UUID=06E7-3293  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 818.135944366 = 878.466781184  boot/grub/grub.cfg                             1
 807.875125885 = 867.449311232  boot/vmlinuz                                   1
 807.875125885 = 867.449311232  boot/vmlinuz-6.2.0-26-generic                  1
 808.182613373 = 867.779473408  boot/initrd.img                                2
 808.182613373 = 867.779473408  boot/initrd.img-6.2.0-26-generic               2
 808.182613373 = 867.779473408  boot/initrd.img.old                            2

=================== nvme0n1p6: 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  2023 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

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

search.fs_uuid 87faea20-02cc-426c-90fd-abf19b77ecba root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
nvme0n1p5,
using the following options:  nvme0n1p3/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 L'OS actuellement utilisé - Ubuntu 22.04.3 LTS entry (nvme0n1p3/efi/****/grub****.efi (**** will be updated in the final message) file) !

Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#9 Le 04/01/2024, à 22:51

geole

Re : [resolu] Comprendre la séquence de démarrage

Je te propose la solution suivante.
- Boote avec le support d'installation.
- Lance gparted.
- Supprime le flag ESP de la partition P3
- Mets le flag ESP sur la partition P1
- Quitte gparted
- Installe et lance boot-repair.
- Fais la réparation recommandée.
- Reboote.
Note que tu auras toujours un dual boot mais cette fois-ci P5 devrait être en tête de liste.
Cela te permettra de supprimer P3 et P6 et d'agrandir P5.


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

#10 Le 04/01/2024, à 23:54

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

J'ai fait cela. Redemarré. Toujours ce menu avec mon vrai ubuntu en second position

- /dev/...p1 a bien le flag esp (mais pas boot, je ne sais pas si c'est volontaire qui tu n'ai pas dit de le déplacer)
- /dev/...p5 et /dev/p6 toujours présent (mais un truc chelou,Gparted me dit que dev/p5 est monté sur /, /var/snap/firefox/common/host-hunspell)
- ../p3 a boot mais pas esp

et le bootinfo

g boot-info-4ppa2075                                              [20240104_2250]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 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
    ---------------------------------------------------------------------------

nvme0n1p1: _____________________________________________________________________

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

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

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

nvme0n1p6: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on nvme0n1p5
OS#2:   Ubuntu 22.04.3 LTS on nvme0n1p6

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

CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-39-generic root=UUID=4be30567-73b2-43ae-a322-8f30b3483fe3 ro quiet splash
df -Th / : /dev/nvme0n1p5   ext4   759G    593G  128G  83% /

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

BIOS/UEFI firmware: 1.31.0(1.31) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0000,0003,0004
Boot0000  UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1	HD(1,MBR,0x98ea3579,0x800,0x100000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0003* UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1 2	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0004* Uefi HTTPs Boot (PlaceHolder)	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(000000000000,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri()N.....YM....R,Y.
Boot0005* ubuntu	HD(3,MBR,0x98ea3579,0x772bc800,0x100800)/File(\EFI\ubuntu\shimx64.efi)

64349b3622c65f495a99dbf6102496e3   nvme0n1p3/BOOT/bkpbootx64.efi
a1da253696a304dce6b4668b70151c0e   nvme0n1p3/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p3/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   nvme0n1p3/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p3/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p3/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	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
nvme0n1p3	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	fstab-has-goodEFI,	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
nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: 0x98ea3579
         Boot      Start        End    Sectors   Size Id Type
nvme0n1p1            2048    1050623    1048576   512M ef EFI (FAT-12/16/32)
nvme0n1p2         1052670 1999357951 1998305282 952.9G  5 Extended
nvme0n1p3 *    1999357952 2000408575    1050624   513M  b W95 FAT32
nvme0n1p5         1052672 1619383782 1618331111 771.7G 83 Linux
nvme0n1p6      1619384320 1999357951  379973632 181.2G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:1024GB:nvme:512:512:msdos:KXG50ZNV1T02 NVMe TOSHIBA 1024GB:;
1:1049kB:538MB:537MB:fat32::esp;
2:539MB:1024GB:1023GB:::;
5:539MB:829GB:829GB:ext4::;
6:829GB:1024GB:195GB:ext4::;
3:1024GB:1024GB:538MB:fat32::boot;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                              
├─nvme0n1p1 vfat     B039-425A                            98ea3579-01                                
├─nvme0n1p2                                               98ea3579-02                                
├─nvme0n1p3 vfat     06E7-3293                            98ea3579-03                                
├─nvme0n1p5 ext4     4be30567-73b2-43ae-a322-8f30b3483fe3 98ea3579-05                                
└─nvme0n1p6 ext4     87faea20-02cc-426c-90fd-abf19b77ecba 98ea3579-06                                

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p3                      503.4M   2% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p5                      127.1G  78% /
/dev/nvme0n1p6                      156.8G   6% /mnt/boot-sav/nvme0n1p6
/home/mrouquet/.Private             127.1G  78% /home/mrouquet

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p3                      vfat                                   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p5                      ext4                                   rw,relatime,errors=remount-ro
/dev/nvme0n1p6                      ext4                                   rw,relatime
/home/mrouquet/.Private             ecryptfs                               rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=3720dc56d9ec14c0,ecryptfs_sig=db4bf2427ce0616c,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs

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

search.fs_uuid 4be30567-73b2-43ae-a322-8f30b3483fe3 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   4be30567-73b2-43ae-a322-8f30b3483fe3
Ubuntu 22.04.3 LTS (22.04) (on nvme0n1p6)   87faea20-02cc-426c-90fd-abf19b77ecba
### 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=4be30567-73b2-43ae-a322-8f30b3483fe3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B039-425A  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 364.627250671 = 391.515529216  boot/grub/grub.cfg                             1
  92.210113525 = 99.009855488   boot/vmlinuz                                   3
  91.989330292 = 98.772791296   boot/vmlinuz-5.15.0-91-generic                 2
 206.205074310 = 221.411012608  boot/vmlinuz-6.2.0-37-generic                  2
  92.210113525 = 99.009855488   boot/vmlinuz-6.2.0-39-generic                  3
  91.989330292 = 98.772791296   boot/vmlinuz.old                               2
 311.113655090 = 334.055743488  boot/initrd.img                               240
 197.720699310 = 212.300984320  boot/initrd.img-5.15.0-91-generic              3
 317.376949310 = 340.780904448  boot/initrd.img-6.2.0-37-generic               6
 311.113655090 = 334.055743488  boot/initrd.img-6.2.0-39-generic              240
 197.720699310 = 212.300984320  boot/initrd.img.old                            3

=================== nvme0n1p5: 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   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

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

Ubuntu   87faea20-02cc-426c-90fd-abf19b77ecba
Ubuntu 22.04.3 LTS (22.04) (on nvme0n1p5)   4be30567-73b2-43ae-a322-8f30b3483fe3
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p6/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=87faea20-02cc-426c-90fd-abf19b77ecba /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p3 during installation
UUID=06E7-3293  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 950.432624817 = 1020.519260160 boot/grub/grub.cfg                             1
 807.875125885 = 867.449311232  boot/vmlinuz                                   1
 807.875125885 = 867.449311232  boot/vmlinuz-6.2.0-26-generic                  1
 808.182613373 = 867.779473408  boot/initrd.img                                2
 808.182613373 = 867.779473408  boot/initrd.img-6.2.0-26-generic               2
 808.182613373 = 867.779473408  boot/initrd.img.old                            2

=================== nvme0n1p6: 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  2023 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

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

search.fs_uuid 87faea20-02cc-426c-90fd-abf19b77ecba root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg



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 restore-efi-backups

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.3 LTS entry (nvme0n1p1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#11 Le 05/01/2024, à 00:57

geole

Re : [resolu] Comprendre la séquence de démarrage

Je n'ai pas compris pourquoi  l'entrée nvram n'a pas été ajoutée.
Tu vas le faire avec cette commande.

sudo efibootmgr  --create  --disk  /dev/nvme0n1   --part  1  --label   "grububuntu"  --loader "\EFI\ubuntu\grubx64.efi" 

Dernière modification par geole (Le 05/01/2024, à 00:58)


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

#12 Le 05/01/2024, à 15:35

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

yes, là j'ai les choses dans l'ordre smile merci smile

je vais attendre dimanche soir pour supprimer les partitions (je voudrais faire une sauvegarde avant et je suis actuellement en déplacement) et je te tiens au jus.


Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#13 Le 09/01/2024, à 13:48

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

J'ai donc supprimé les 2 partitions excendaires, agrandi mon disque. Pas de souci de perte de donnée. Ouf !

J'ai passé un coup de boot repaire, car au demarrage on me proposait toujours les deux partitions, donc la 6 supprimé.

Au demarrage je n'ai désormais plus que le choix entre ubuntu et advanced ubuntu.

Comme faire maintenant pour demarrer directement ubuntu sans que le grub ne s'affiche ?

mon bootinfo

boot-info-4ppa2075                                              [20240109_1247]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 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
    ---------------------------------------------------------------------------

nvme0n1p1: _____________________________________________________________________

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

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

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


================================ 1 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on nvme0n1p5

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

CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-39-generic root=UUID=4be30567-73b2-43ae-a322-8f30b3483fe3 ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p5   ext4   938G    584G  309G  66% /

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

BIOS/UEFI firmware: 1.31.0(1.31) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,0004
Boot0000  UEFI KXG50ZNV1T02 NVMe TOSHIBA 1024GB 87AS100JTNWT 1	HD(1,MBR,0x98ea3579,0x800,0x100000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001* grububuntu	HD(1,MBR,0x98ea3579,0x800,0x100000)/File(\EFI\ubuntu\grubx64.efi)
Boot0004* Uefi HTTPs Boot (PlaceHolder)	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(000000000000,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri()N.....YM....R,Y.


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	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

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-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

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: 0x98ea3579
         Boot   Start        End    Sectors   Size Id Type
nvme0n1p1         2048    1050623    1048576   512M ef EFI (FAT-12/16/32)
nvme0n1p2      1052670 2000408575 1999355906 953.4G  5 Extended
nvme0n1p5      1052672 2000408575 1999355904 953.4G 83 Linux

parted -lm (filtered): _________________________________________________________

nvme0n1:1024GB:nvme:512:512:msdos:KXG50ZNV1T02 NVMe TOSHIBA 1024GB:;
1:1049kB:538MB:537MB:fat32::esp;
2:539MB:1024GB:1024GB:::;
5:539MB:1024GB:1024GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                              
├─nvme0n1p1 vfat     B039-425A                            98ea3579-01                                
├─nvme0n1p2                                               98ea3579-02                                
└─nvme0n1p5 ext4     4be30567-73b2-43ae-a322-8f30b3483fe3 98ea3579-05                                

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p5                      308.3G  62% /
/home/mrouquet/.Private             308.3G  62% /home/mrouquet

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p5                      ext4                                   rw,relatime,errors=remount-ro
/home/mrouquet/.Private             ecryptfs                               rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=3720dc56d9ec14c0,ecryptfs_sig=db4bf2427ce0616c,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs

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

search.fs_uuid 4be30567-73b2-43ae-a322-8f30b3483fe3 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   4be30567-73b2-43ae-a322-8f30b3483fe3
### 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=4be30567-73b2-43ae-a322-8f30b3483fe3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B039-425A  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 364.627235413 = 391.515512832  boot/grub/grub.cfg                             1
  92.210113525 = 99.009855488   boot/vmlinuz                                   3
  91.989330292 = 98.772791296   boot/vmlinuz-5.15.0-91-generic                 2
 206.205074310 = 221.411012608  boot/vmlinuz-6.2.0-37-generic                  2
  92.210113525 = 99.009855488   boot/vmlinuz-6.2.0-39-generic                  3
  91.989330292 = 98.772791296   boot/vmlinuz.old                               2
 179.876949310 = 193.141403648  boot/initrd.img                                3
 154.376949310 = 165.760987136  boot/initrd.img-5.15.0-91-generic              4
 178.996486664 = 192.196014080  boot/initrd.img-6.2.0-37-generic               3
 179.876949310 = 193.141403648  boot/initrd.img-6.2.0-39-generic               3
 154.376949310 = 165.760987136  boot/initrd.img.old                            4

=================== nvme0n1p5: 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   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



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 restore-efi-backups

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.3 LTS entry (nvme0n1p1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne

#14 Le 09/01/2024, à 17:11

geole

Re : [resolu] Comprendre la séquence de démarrage

Bonjour.
Je trouve  bien que le grub s'affiche , cela n'use pas beaucoup l'écran et    lorsqu il a un problème à traiter et qu'on doit démarrer      sur un vieux noyau ou en mode recovery et ne pas choisir le dernier noyau, le menu est déjà affiché. On ne s'arrache donc pas les cheveux  en se demandant comment faire.
On perd juste 10 secondes  à attendre si on ne choisit pas.
Sinon, il faut  modifier  le fichier  /etc/default/grub et modifier cette ligne
GRUB_TIMEOUT_STYLE=menu
pour qu'elle devienne
GRUB_TIMEOUT_STYLE=hidden
et regénérer le 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

Hors ligne

#15 Le 09/01/2024, à 17:23

iznobe

Re : [resolu] Comprendre la séquence de démarrage

Bonjour ou tout simplement remplacer le delais d' attente ( 10 par defaut , mais il me semble que tu l' as deja  modifié) à 0 , tout simplement .

tu remplaces le  5 de cette ligne par 0 dans le fichier qu ' a indiqué geole ( /etc/default/grub ) :

GRUB_TIMEOUT="5"

tu sauvegardes et tu tapes :

sudo update-grub 

pour que le changement soit pris en compte .

En  tout cas , je suis de l' avis de @geole , il vaut mieux faire s ' afficher le menu GRUB , quitte à perdre 2 secondes , en cas de probleme , c ' est souvent tres utile , alors que si il ne s ' affiche pas , bonjour la galere pour recuperer et lancer un mode avancé ou de depannage lorsque c ' est la moise ...

Dernière modification par iznobe (Le 09/01/2024, à 17:26)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#16 Le 09/01/2024, à 17:40

Maïeul

Re : [resolu] Comprendre la séquence de démarrage

J'avoue que je n'ai jamais eu besoin du mode depannage... je ne sais pas même pas à quoi ca correspond.
Bon, je vais réflechir et voir à l'usage. Merci en tout cas! On verra si jamais je décide de finalement masquer le grub.

Je clos le sujet


Ubuntu 20.04 LTS
LaTeXien à mes heures perdues https://geekographie.maieul.net/95

Hors ligne