#1 Le 21/02/2025, à 19:42
- Thierry256
Plantage (résolu)
Bonjour,
Depuis la nouvelle version d'ubuntu, tout est planté.
Je viens de réussir à ouvrir GNU GRUB version 2.12......mais je ne sais pas aller plus loin
Merci de votre aide
Thierry
Dernière modification par Thierry256 (Le 02/03/2025, à 09:42)
Hors ligne
#2 Le 21/02/2025, à 19:47
- Thierry256
Re : Plantage (résolu)
Et je vois que mon clavier est passé en querty????
Hors ligne
#3 Le 21/02/2025, à 20:13
- geole
Re : Plantage (résolu)
Bonjour
Merci de publier l URL générée par un boot-info.
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#4 Le 21/02/2025, à 21:45
- Thierry256
Re : Plantage (résolu)
Bonjour Géole,
quand je clic sur ton lien Boot-info....erreur 504?
c'est normal?
Hors ligne
#5 Le 21/02/2025, à 22:43
- geole
Re : Plantage (résolu)
Moi aussi avec ce lien
https://doc.ubuntu-fr.org/tutoriel/boot-info
Mais celui-ci répond
https://doc.ubuntu-fr.org/boot-info
Dernière modification par geole (Le 21/02/2025, à 22:45)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#6 Le 23/02/2025, à 13:47
- Thierry256
Re : Plantage (résolu)
Merci de votre aide.
J'ai réinstallé avec une vieille version.
Ca semble fonctionner.
Hors ligne
#7 Le 23/02/2025, à 13:47
- Thierry256
Re : Plantage (résolu)
Sujet clos
Hors ligne
#8 Le 24/02/2025, à 09:54
- Thierry256
Re : Plantage (résolu)
Finalement sujet pas clos.
J'ai réinstallé 20.04 et fait les mises à jour pour passer en 22.04.Ca fonctionne
J'ai réinstallé 20.04 avec un cd de reboot,en parallèle du ubuntu résident sur mon PC afin de ne pas perdre tous les fichiers etc (comme conseillé )
Mais à chaque démarrage, grub s'ouvre et je suis obligé de choisir ubuntu 22.04, sinon le pc démarre tout seul sur ubuntu "résident" qui plante.
Comment éliminer ce résident?
Merci de votre réponse.
bonne journée
Hors ligne
#9 Le 24/02/2025, à 10:16
- iznobe
Re : Plantage (résolu)
Bonjour , montre :
lsblk -fe7 | cat
efibootmgr
cat /etc/default/grub
que je comprenne bien , tu veux juste faire demarrer l' ordi sur le ubuntu qui fonctionne correctement , pas supprimer le ubuntu qui ne fonctionne pas qui contient tes fichiers de données ?
il serait quand meme plus propre , selon le cas de figure , soit de transformer l' ancien ubuntu en partition data , soit de recopiés tes données dans le ubuntu qui fonctionne et supprimer celui qui ne fonctionne plus .
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#10 Le 24/02/2025, à 10:34
- Thierry256
Re : Plantage (résolu)
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat FAT32 B015-D4E4 511M 0% /boot/efi
├─sda2
├─sda3 vfat FAT32 1561-FD44
├─sda5 ext4 1.0 88cf284d-9e10-4482-ba28-cc6fabab33d3 66,6G 34% /
└─sda6 ext4 1.0 8d80f79d-8d20-4e12-96f4-94c12e6c9fc5
sdb
sdc
sdd
sde
sdf
└─sdf1 ntfs My Passport 16DC46E5DC46BF2D 346,3G 26% /media/thierry/My Passport1
sr0
Dernière modification par Thierry256 (Le 24/02/2025, à 14:16)
Hors ligne
#11 Le 24/02/2025, à 10:35
- Thierry256
Re : Plantage (résolu)
EFI variables are not supported on this system.
Hors ligne
#12 Le 24/02/2025, à 10:39
- Thierry256
Re : Plantage (résolu)
il serait quand meme plus propre , selon le cas de figure , soit de transformer l' ancien ubuntu en partition data , soit de recopiés tes données dans le ubuntu qui fonctionne et supprimer celui qui ne fonctionne plus .
Hors ligne
#13 Le 24/02/2025, à 10:39
- Thierry256
Re : Plantage (résolu)
oui ce serait plus propre
Hors ligne
#14 Le 24/02/2025, à 11:05
- xubu1957
Re : Plantage (résolu)
Bonjour,
Pour ajouter toi-même les balises code à ton précédent message #10 : Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
comme indiqué dans le : Retour utilisable de commande
===========
et le retour de :
cat /etc/default/grub
?
Dernière modification par xubu1957 (Le 24/02/2025, à 14:31)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#15 Le 24/02/2025, à 14:14
- Thierry256
Re : Plantage (résolu)
# 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=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
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
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Et une question bête:Ce n'est pas ubuntu 22.04 qui gère mon pc maintenant qu'il est installé, mais tjrs l'ancien ubuntu qui beug au démarrage?
22.04 ne sert qu'à démarrer???
Hors ligne
#16 Le 24/02/2025, à 16:10
- geole
Re : Plantage (résolu)
Bonjour
Fais donc un boot-info et publie l URL qui sera générée
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#17 Le 24/02/2025, à 16:36
- iznobe
Re : Plantage (résolu)
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
y a pas une kou...lle dans le potage là ???
----------------------------------------------------------------------------
pour recuperer les fichiers de l' ancien ubuntu :
sudo mount -v /dev/sda6 /mnt
xdg-open /mnt/home/$USER
il ne te restera plus qu ' a naviguer dans les dossiers et deplacer tes données .
Dernière modification par iznobe (Le 26/02/2025, à 11:51)
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#18 Le 24/02/2025, à 18:18
- Thierry256
Re : Plantage (résolu)
boot-info-4ppa2081 [20250224_1715]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 88cf284d-9e10-4482-ba28-cc6fabab33d3 root hd0,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda5 and looks at sector 70372999 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.6 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: Grub2 (v2.00) in the file
/ubuntu-22.04.5-desktop-amd64.iso looks at sector 0 of
the same hard drive for core.img, but core.img can not
be found at this location.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sda5
OS#2 (linux): Ubuntu 20.04.6 LTS on sda6
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GK208B [GeForce GT 730] from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.8.0-53-generic root=UUID=88cf284d-9e10-4482-ba28-cc6fabab33d3 ro quiet splash
df -Th / : /dev/sda5 ext4 109G 39G 65G 38% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 0501(4.6) from American Megatrends Inc.
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdf1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sdf1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
Partitions info (3/3): _________________________________________________________
sda5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdf1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--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
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0x6514b369
Boot Start End Sectors Size Id Type
sda1 * 2048 1050623 1048576 512M b W95 FAT32
sda2 1050685 499066879 498016195 237.5G f W95 Ext'd (LBA)
sda3 499066880 500117503 1050624 513M b W95 FAT32
sda5 1050687 234438718 233388032 111.3G 83 Linux
sda6 234440704 499066879 264626176 126.2G 83 Linux
Partition table entries are not in disk order.
Disk sdf: 465.74 GiB, 500079525888 bytes, 976717824 sectors
Disk identifier: 0x000320d1
Boot Start End Sectors Size Id Type
sdf1 2048 976717823 976715776 465.7G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:256GB:255GB:::lba;
5:538MB:120GB:119GB:ext4::;
6:120GB:256GB:135GB:ext4::;
3:256GB:256GB:538MB:fat32::;
sdf:500GB:scsi:512:512:msdos:WD My Passport 071A:;
1:1049kB:500GB:500GB:ntfs::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat B015-D4E4 6514b369-01
├─sda2 6514b369-02
├─sda3 vfat 1561-FD44 6514b369-03
├─sda5 ext4 88cf284d-9e10-4482-ba28-cc6fabab33d3 6514b369-05
└─sda6 ext4 8d80f79d-8d20-4e12-96f4-94c12e6c9fc5 6514b369-06
sdb
sdc
sdd
sde
sdf
└─sdf1 ntfs 16DC46E5DC46BF2D 000320d1-01 My Passport
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 512M 0% /mnt/boot-sav/sda3
/dev/sda5 64.9G 35% /
/dev/sda6 108G 8% /mnt/boot-sav/sda6
/dev/sdf1 346.3G 26% /media/thierry/My Passport1
Mount options (filtered): ______________________________________________________
/dev/sda3 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda5 ext4 rw,relatime,errors=remount-ro
/dev/sda6 ext4 rw,relatime
/dev/sdf1 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 88cf284d-9e10-4482-ba28-cc6fabab33d3
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=88cf284d-9e10-4482-ba28-cc6fabab33d3 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=B015-D4E4 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
94,204379559 = 101,151182336 boot/grub/grub.cfg 1
33,557303905 = 36,031880704 boot/grub/i386-pc/core.img 1
9,124331951 = 9,797176832 boot/vmlinuz 2
92,014941692 = 98,800291328 boot/vmlinuz-6.8.0-52-generic 1
9,124331951 = 9,797176832 boot/vmlinuz-6.8.0-53-generic 2
92,014941692 = 98,800291328 boot/vmlinuz.old 1
22,702952862 = 24,377110016 boot/initrd.img 1
102,751002789 = 110,328049152 boot/initrd.img-6.8.0-52-generic 6
22,702952862 = 24,377110016 boot/initrd.img-6.8.0-53-generic 1
102,751002789 = 110,328049152 boot/initrd.img.old 6
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Aug 21 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Jan 13 2021 40_custom
-rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 8d80f79d-8d20-4e12-96f4-94c12e6c9fc5
Ubuntu 24.04.2 LTS (24.04) (sur sda5) 88cf284d-9e10-4482-ba28-cc6fabab33d3
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=8d80f79d-8d20-4e12-96f4-94c12e6c9fc5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
UUID=1561-FD44 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda6/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=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
191,712268829 = 205,849481216 boot/grub/grub.cfg 3
162,296310425 = 174,264336384 boot/grub/i386-pc/core.img 1
129,449253082 = 138,995077120 boot/vmlinuz 1
129,449253082 = 138,995077120 boot/vmlinuz-5.15.0-131-generic 1
116,946285248 = 125,570117632 boot/vmlinuz-5.8.0-43-generic 2
116,946285248 = 125,570117632 boot/vmlinuz.old 2
207,790035248 = 223,112851456 boot/initrd.img 3
207,790035248 = 223,112851456 boot/initrd.img-5.15.0-131-generic 3
191,688278198 = 205,823721472 boot/initrd.img-5.8.0-43-generic 2
191,688278198 = 205,823721472 boot/initrd.img.old 2
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18224 Dec 18 2022 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13 2021 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13 2021 30_os-prober
-rwxr-xr-x 1 root root 1424 Jan 13 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 11 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Jan 13 2021 40_custom
-rwxr-xr-x 1 root root 216 Jan 13 2021 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda5,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. 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 24.04.2 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Hors ligne
#19 Le 24/02/2025, à 18:40
- iznobe
Re : Plantage (résolu)
Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of the same hard drive for core.img.
tu as mis le GRUB sur le disque externe , c' est voulu ???
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#20 Le 24/02/2025, à 18:58
- Thierry256
Re : Plantage (résolu)
non pas du tout
Hors ligne
#21 Le 24/02/2025, à 19:08
- Thierry256
Re : Plantage (résolu)
C'est pas les partitions plutôt???
Hors ligne
#22 Le 24/02/2025, à 19:10
- geole
Re : Plantage (résolu)
extrait du boot-info
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following components:
Donc en standard, cela boote sur l'ancien ubuntu
sda6: __________________________________________________________________________
File system: ext4
Operating System: Ubuntu 20.04.6 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
Mais, comme il semble que le dual-boot fonctionne,
================================ 2 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sda5
OS#2 (linux): Ubuntu 20.04.6 LTS on sda6
Depuis ta version 24.04, réinstalle correctement le grub
sudo grub-install /dev/sda
puis active le dual boot
sudo update-grub
Premier constat: Ce n'est pas un grub EFI mais un grub-pc.
Partitions info (1/3): _________________________________________________________
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda5 and looks at sector 70372999 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System: Ubuntu 24.04.2 LTS
Le début de cette partition a ramassé une cochonnerie. Je pense que tu as demandé l'installation du grub dans SDA5 au lieu de SDA. Ce genre d'astuce est prévu uniquement pour empêcher le MBR de se mettre à jour afin de conserver le précédant O.S. en responsable de la structure de boot.
D'ailleurs, cela semble fréquent dans ta méthode
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 88cf284d-9e10-4482-ba28-cc6fabab33d3 root hd0,msdos5
set prefix=($root)'/boot/grub'
├─sda5 ext4 1.0 88cf284d-9e10-4482-ba28-cc6fabab33d3 66,6G 34% /
Au lieu d'une réinstallation du grub, tu pourrais dire à ton bios de booter depuis le disque SDF.
Déjà à l'époque de la 22.04, ce n'était pas très net
sdf1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 2000/XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: Grub2 (v2.00) in the file
/ubuntu-22.04.5-desktop-amd64.iso looks at sector 0 of the same hard drive for core.img, but core.img can not be found at this location.
Operating System:
Boot files:
========================== sda6/etc/fstab (filtered) ===========================
# /boot/efi was on /dev/sda3 during installation
UUID=1561-FD44 /boot/efi vfat umask=0077 0 1
========================== sda5/etc/fstab (filtered) ===========================
# /boot/efi was on /dev/sda1 during installation
UUID=B015-D4E4 /boot/efi vfat umask=0077 0 1
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
├─sda1 vfat B015-D4E4 6514b369-01
├─sda3 vfat 1561-FD44 6514b369-03
Dans l'état actuel, tes deux partitions FAT32 sont nécessaires tant qu'elles seront définies dans les fstab. Vu leurs tailles, ce n'est pas grave.
Dernière modification par geole (Le 24/02/2025, à 20:00)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#23 Le 24/02/2025, à 21:48
- Thierry256
Re : Plantage (résolu)
Merci.
Je ne comprends pas tout, loin de là....
Je te remercie pour le temps passé à décortiquer mon problème.
Réinstaller 24.04 sur le pc au lieu du disque externe me semble une priorité?
Et ensuite nettoyer ce vieil ubuntu qui beugue...?
J'attends tes conseils.
Encore merci
Bonne soirée
Hors ligne
#24 Le 24/02/2025, à 22:29
- geole
Re : Plantage (résolu)
Le ubuntu est bien installé sur le disque interne.
Soit tu dis au bios que le boot sur disque externe est prioritaire et tu branches le disque externe pour booter le ubuntu 24.04
Soit tu bootes comme tu as fais pour produire le boot-info et tu demandes à ubuntu de réinstaller le grub dans SDA
sudo grub-install /dev/sda
sudo update-grub
Dernière modification par geole (Le 24/02/2025, à 22:31)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#25 Le 25/02/2025, à 11:27
- Thierry256
Re : Plantage (résolu)
sudo grub-install /dev/sda
sudo grub-install /dev/sda
Installation pour la plate-forme i386-pc.
Installation terminée, sans erreur.
Hors ligne