Pages : 1
#1 Le 20/02/2025, à 14:51
- Guiriden
[Résolu] Menu démarrage et double boot
Bonjour ;
J'ai et ordi HP pavilion que je souhaitais dédier à des présentations LNUX.
J'ai commené par y installer une distribution LMDE6 qui fontionnait parfaitement. J'ai ensuite ontinué en installant un EDUBUNTU.
Mon soucis est que maintenant la machine démarre en EDUBUNTU sans me laisser le choix.
Voyez ici le rapport boot-info :
boot-info-4ppa2081 [20250220_1341]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/debian/fbx64.efi /efi/debian/grubx64.efi
/efi/debian/mmx64.efi /efi/debian/shimx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/debian/grub.cfg
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: LMDE 6 (faye)
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 2 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sda4
OS#2 (linux): LMDE 6 (faye) on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] 3rd Gen Core processor Graphics Controller from Advanced Micro Devices, Inc. [AMD/ATI] Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-9-generic root=UUID=8c5913c5-8821-46e1-8733-6cdaee68e6e8 ro quiet splash vt.handoff=7
df -Th / : /dev/sda4 ext4 331G 21G 294G 7% /
===================================== UEFI =====================================
BIOS/UEFI firmware: F.42(15.66) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,3000,0001,0002,2001,2002,2003
Boot0000* Ubuntu HD(1,GPT,f960dda8-82f9-4b75-85cc-25f7f34e0339,0x1000,0x8f000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu HD(1,GPT,f960dda8-82f9-4b75-85cc-25f7f34e0339,0x1000,0x8f000)/File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* debian HD(1,GPT,f960dda8-82f9-4b75-85cc-25f7f34e0339,0x1000,0x8f000)/File(\EFI\debian\shimx64.efi)
Boot0003* Internal Hard Disk or Solid State Disk RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda4 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
Partitions info (3/3): _________________________________________________________
sda4 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : 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 sda: 698.64 GiB, 750156374016 bytes, 1465149168 sectors
Disk identifier: 42A13AD3-AA7F-4E9D-AD61-57B58EFC7A53
Start End Sectors Size Type
sda1 4096 589823 585728 286M EFI System
sda2 591872 8794111 8202240 3.9G Linux filesystem
sda3 8796160 758523161 749727002 357.5G Linux filesystem
sda4 758523904 1465147391 706623488 336.9G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:750GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD0:;
1:2097kB:302MB:300MB:fat32:primary:boot, esp;
2:303MB:4503MB:4200MB:linux-swap(v1):primary:;
3:4504MB:388GB:384GB:ext4:primary:;
4:388GB:750GB:362GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat D49A-9CE2 f960dda8-82f9-4b75-85cc-25f7f34e0339 primary
├─sda2 swap eab767d5-733a-42e5-8f45-76bdc89f9ca7 3134458b-1915-4ea8-b43d-b1ac3753829a primary
├─sda3 ext4 bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce bffa3080-43b4-42a4-9559-3d1b69e21958 primary
└─sda4 ext4 8c5913c5-8821-46e1-8733-6cdaee68e6e8 7801e232-481a-4d0e-b8bc-57476d13426e
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 323.8G 3% /mnt/bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce
/dev/sda4 293.1G 6% /
efivarfs 35.7K 52% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 ext4 rw,nosuid,nodev,relatime
/dev/sda4 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/debian/grub.cfg (filtered) ======================
search.fs_uuid bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 8c5913c5-8821-46e1-8733-6cdaee68e6e8 root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda3/boot/grub/grub.cfg (filtered) ======================
LMDE 6 Faye bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
proc /proc proc defaults 0 0
UUID=bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce / ext4 defaults 0 1
UUID=eab767d5-733a-42e5-8f45-76bdc89f9ca7 none swap sw 0 0
UUID=D49A-9CE2 /boot/efi vfat defaults 0 1
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
4.478664398 = 4.808929280 boot/grub/grub.cfg 1
6.936290741 = 7.447785472 boot/vmlinuz-6.1.0-12-amd64 1
11.823047638 = 12.694900736 boot/vmlinuz-6.1.0-31-amd64 1
11.823047638 = 12.694900736 vmlinuz 1
6.936290741 = 7.447785472 vmlinuz.old 1
8.143745422 = 8.744280064 boot/initrd.img-6.1.0-12-amd64 1
14.194332123 = 15.241048064 boot/initrd.img-6.1.0-31-amd64 3
14.194332123 = 15.241048064 initrd.img 3
8.143745422 = 8.744280064 initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 14123 Apr 23 2023 10_linux
-rwxr-xr-x 1 root root 14180 Apr 23 2023 20_linux_xen
-rwxr-xr-x 1 root root 12923 Apr 23 2023 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 23 2023 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Feb 26 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 23 2023 40_custom
-rwxr-xr-x 1 root root 215 Apr 23 2023 41_custom
====================== sda4/boot/grub/grub.cfg (filtered) ======================
Ubuntu 8c5913c5-8821-46e1-8733-6cdaee68e6e8
LMDE 6 (faye) (on sda3) bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=8c5913c5-8821-46e1-8733-6cdaee68e6e8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=D49A-9CE2 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/dev/disk/by-uuid/bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce /mnt/bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sda4/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda4: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
685.837329865 = 736.412225536 boot/grub/grub.cfg 1
547.307895660 = 587.667378176 boot/vmlinuz 1
371.447860718 = 398.839103488 boot/vmlinuz-6.5.0-9-generic 1
547.307895660 = 587.667378176 boot/vmlinuz-6.8.0-53-generic 1
371.447860718 = 398.839103488 boot/vmlinuz.old 1
548.067378998 = 588.482867200 boot/initrd.img 7
548.058383942 = 588.473208832 boot/initrd.img-6.5.0-9-generic 1
548.067378998 = 588.482867200 boot/initrd.img-6.8.0-53-generic 7
548.058383942 = 588.473208832 boot/initrd.img.old 1
===================== sda4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Sep 11 15:15 10_linux
-rwxr-xr-x 1 root root 43202 Oct 2 2023 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 15:15 20_linux_xen
-rwxr-xr-x 1 root root 786 Oct 2 2023 25_bli
-rwxr-xr-x 1 root root 13120 Oct 2 2023 30_os-prober
-rwxr-xr-x 1 root root 1174 Oct 2 2023 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Sep 6 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Oct 2 2023 40_custom
-rwxr-xr-x 1 root root 215 Oct 2 2023 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda4,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 24.04.2 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
ainsi que le grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || ec>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
Votre avis ?
Merci par avance ...
Solution :
- Passer le GRUB sur le bon disque (sdX = sda ici) :
sudo fdisk -l
sudo grub-install /dev/sdX
sudo update-grub
- Désactiver le thème graphique de GRUB de façon à ne pas limiter le menu à 3 entrées :
sudo chmod -x /etc/grub.d/05_debian_theme
sudo update-grub
Dernière modification par Guiriden (Le 23/02/2025, à 18:56)
Ubuntu 22.04 LTS / Ubuntu Touch sur Nexus5
Linux pc-xy 4.15.0-177-generic #186-Ubuntu SMP Thu Apr 14 20:23:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
DMI: Gigabyte Technology Co., Ltd. To be filled by O.E.M./F2A88XM-D3H, BIOS F5 01/09/2014
Hors ligne
#2 Le 20/02/2025, à 15:40
- O_20_100_O
Re : [Résolu] Menu démarrage et double boot
Bonjour,
Aucun L'un des deux OS de ta machine n'est pas un ne sont des Ubuntu officiels
Dans ta situation, il va te falloir apprendre :
* soit tu te renseignes sur la façon de demander à Grub de détecter les autres systèmes installés, avec OS_prober.
* soit tu le remplaces par autre chose, qu'il faudra aussi apprendre.
Dernière modification par O_20_100_O (Le 20/02/2025, à 20:01)
Hors ligne
#3 Le 20/02/2025, à 16:46
- iznobe
Re : [Résolu] Menu démarrage et double boot
Bonjour tu edites le fichier grub de l' Os dont tu veux qu ' il detecte l ' autre , en l ' occurence , tu n as pasa le choix pour le moment , puis tu decommente la ligne :
#GRUB_DISABLE_OS_PROBER=false
il suffit d' enlever le " # " de devant .
tu sauvegardes puis :
sudo update-grub
tu redemarres , et tu devrais alors avoir le choix .
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#4 Le 20/02/2025, à 19:12
- geole
Re : [Résolu] Menu démarrage et double boot
Bonjour
Extrait du boot info
====================== sda4/boot/grub/grub.cfg (filtered) ======================
Ubuntu 8c5913c5-8821-46e1-8733-6cdaee68e6e8
LMDE 6 (faye) (on sda3) bee4f180-f8b7-4e20-b4ce-bb94aa4b19ce
### END /etc/grub.d/30_os-prober ###
Alors installe refind puisque
SecureBoot disabled (confirmed by mokutil).
et tu n auras plus de problème de sélection à l écran d accueil
sudo apt install refind
N oublie pas de lui dire de se mettre dans la partition de boot.
Bonjour,
Aucun des deux OS de ta machine ne sont des Ubuntu officiels
.
EDUBUNTU est une variante officielle de ubuntu . Il est d ailleurs en tête de liste
Dernière modification par geole (Le 20/02/2025, à 19:27)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
En ligne
#5 Le 20/02/2025, à 20:05
- O_20_100_O
Re : [Résolu] Menu démarrage et double boot
EDUBUNTU est une variante officielle de ubuntu
Dont acte, j'ai corrigé.
Mais la doc est aussi à corriger
Edubuntu (aussi appelé Édition Éducation d'Ubuntu) était un système d'exploitation libre et gratuit, accompagné d'un ensemble de logiciels libres destinés à l'éducation. C'était une variante officielle d'Ubuntu,
"C'était" nous montre que c'est comme la météo, ça peut changer.
Edubuntu, est aussi absente de la page de doc "Variantes".
Bref, je plaide les circonstances atténuantes.
Le plus important dans cette affaire est de voir quelle solution Guiriden va choisir.
Dernière modification par O_20_100_O (Le 20/02/2025, à 20:15)
Hors ligne
#6 Le 20/02/2025, à 20:32
- geole
Re : [Résolu] Menu démarrage et double boot
J ai eu un doute. Et si l outil de téléchargement le proposait à tort?
Mais le lien officiel, le met bien en tête de liste
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
En ligne
#7 Le 20/02/2025, à 20:40
- O_20_100_O
Re : [Résolu] Menu démarrage et double boot
J ai eu un doute.
J'ai eu le même et j'ai fait la même vérification.
Hors ligne
#8 Le 20/02/2025, à 21:09
- Guiriden
Re : [Résolu] Menu démarrage et double boot
Merci pour vos avis ;
J'ai récupéré un menu qu'il me reste à éventuellement redimensionner (si possible) et en tout cas à y mettre les 2 distributions en tête. Je ne vois que 3 lignes du menu simultanément.
Ubuntu 22.04 LTS / Ubuntu Touch sur Nexus5
Linux pc-xy 4.15.0-177-generic #186-Ubuntu SMP Thu Apr 14 20:23:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
DMI: Gigabyte Technology Co., Ltd. To be filled by O.E.M./F2A88XM-D3H, BIOS F5 01/09/2014
Hors ligne
Pages : 1