#1 Le 23/03/2025, à 22:01
- leschapis
[résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour a tous.
rencontrant differents pbs avec ma version 18 notamment avec musescorem snap,
j ai decide de migrer de 18.04 vers 20.04 en suivant la procedure
https://forum.ubuntu-fr.org/viewtopic.php?id=2045683
Je suis tombe sur une erreur Grub
Voici mon lien
boot info https://paste.ubuntu.com/p/25MhfSjBdz/
boot repair https://paste.ubuntu.com/p/sN8FcCnyBj/
mes donnees sont sauvegardees, mais eviter une restauration ne me deplairait pas
merci pour votre aide
PC DELL Latitude E7250 achete d occasion avec Linux 18.04 dessus
1 compte utilisateur
1 compte system pour faire les config avec sudo
utiliateur de Linux depuis 2008
Dernière modification par leschapis (Le 24/03/2025, à 23:46)
Hors ligne
#2 Le 23/03/2025, à 22:05
- xubu1957
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa2081 [20250323_1845]
============================== 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 (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
and looks at sector 38146568 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 20.04.6 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 1 OS detected =================================
OS#1 (linux): Ubuntu 20.04.6 LTS on sda1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: A20(65.20) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0001,0004,0002,0005,0006,0007
Boot0001 Diskette Drive BBS(Floppy,Diskette Drive,0x0)..BO
Boot0002* Internal HDD BBS(HD,P1: SK hynix SC210 mSATA 256GB,0x0)..BO
Boot0004 CD/DVD/CD-RW Drive BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0005 Onboard NIC BBS(Network,IBA CL Slot 00C8 v0110,0x0)..BO
Boot0006* USB Storage Device BBS(USB,SMI USB DISK 1100,0x0)..BO
Boot0007* UEFI: SMI USB DISK 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x14eb2669,0x23c,0x2130)..BO
Boot0010* UEFI: JetFlashTranscend 8GB 1100 PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xa8543c61,0x800,0x7ff800)..BO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
Partitions info (3/3): _________________________________________________________
sda1 : 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: 0xde93c5a2
Boot Start End Sectors Size Id Type
sda1 * 2048 500103652 500101605 238.5G 83 Linux
Disk sdb: 3.75 GiB, 4027580416 bytes, 7866368 sectors
Disk identifier: 0x14eb2669
Boot Start End Sectors Size Id Type
sdb1 * 0 5138431 5138432 2.5G 0 Empty
sdb2 572 9067 8496 4.1M ef EFI (FAT-12/16/32)
sdb3 5140480 7866367 2725888 1.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:msdos:ATA SK hynix SC210 m:;
1:1049kB:256GB:256GB:ext4::boot;
sdb:4028MB:scsi:512:512:msdos:SMI USB DISK:;
2:293kB:4643kB:4350kB:::esp;
3:2632MB:4028MB:1396MB:::;
Free space >10MiB: ______________________________________________________________
sdb: 4.43MiB:2510MiB:2506MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7 de93c5a2-01
sdb iso9660 2023-12-23-05-05-55-00 Boot-Repair-Disk 64bit
├─sdb1 iso9660 2023-12-23-05-05-55-00 14eb2669-01 Boot-Repair-Disk 64bit
├─sdb2 vfat 8D6C-A9F8 14eb2669-02 ESP
└─sdb3 14eb2669-03
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 82.3G 60% /mnt/boot-sav/sda1
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda1 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
leschapis:odilon28@172.16.0.10:/home/leschapis/ /media/LesChapis2/ fuse.sshfs allow_other,uid=1002,gid=1002,umask=0022,noauto,noatime 0 0
======================= sda1/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
28.346935272 = 30.437289984 boot/grub/grub.cfg 2
18.189723969 = 19.531067392 boot/grub/i386-pc/core.img 1
135.576244354 = 145.573883904 boot/vmlinuz 1
135.959033966 = 145.984901120 boot/vmlinuz-5.4.0-150-generic 1
135.576244354 = 145.573883904 boot/vmlinuz-5.4.0-208-generic 1
135.959033966 = 145.984901120 boot/vmlinuz.old 1
135.959033966 = 145.984901120 vmlinuz 1
21.911804199 = 23.527620608 boot/initrd.img 4
11.843456268 = 12.716814336 boot/initrd.img-5.4.0-150-generic 6
21.911804199 = 23.527620608 boot/initrd.img-5.4.0-208-generic 4
11.843456268 = 12.716814336 boot/initrd.img.old 6
11.843456268 = 12.716814336 initrd.img 6
===================== sda1: 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 Dec 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Feb 7 2019 30_os-prober
-rwxr-xr-x 1 root root 1424 Dec 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 11 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Feb 7 2019 40_custom
-rwxr-xr-x 1 root root 216 Feb 7 2019 41_custom
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda1 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Confirmation request before suggested repair: __________________________________
The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
The boot files of [sda1 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
sprunge.us ko ()
Collage du Boot-info :
boot-info-4ppa2081 [20250323_1720]
============================== 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 (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Windows is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
and looks at sector 38146568 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 20.04.6 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1 (linux): Ubuntu 20.04.6 LTS on sda1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.2 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: A20(65.20) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0001,0006,0004,0002,0005,0007
Boot0001 Diskette Drive BBS(Floppy,Diskette Drive,0x0)0000424f
Boot0002* Internal HDD BBS(HD,P1: SK hynix SC210 mSATA 256GB,0x0)0000424f
Boot0004 CD/DVD/CD-RW Drive BBS(CDROM,CD/DVD/CD-RW Drive,0x0)0000424f
Boot0005 Onboard NIC BBS(Network,IBA CL Slot 00C8 v0110,0x0)0000424f
Boot0006* USB Storage Device BBS(USB,General UDisk 5.00,0x0)0000424f
Boot0007* UEFI: General UDisk 5.00 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(2,GPT,b0ef6ca3-60d1-4a21-98db-17c385a8b6f8,0xbce0b4,0x27a0)0000424f
Boot0010* UEFI: JetFlashTranscend 8GB 1100 PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xa8543c61,0x800,0x7ff800)0000424f
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
Partitions info (3/3): _________________________________________________________
sda1 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xde93c5a2
Boot Start End Sectors Size Id Type
sda1 * 2048 500103652 500101605 238.5G 83 Linux
Disk sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Disk identifier: B0EF6CA3-60D1-4A21-98D9-17C385A8B6F8
Start End Sectors Size Type
sdb1 64 12378291 12378228 5.9G Microsoft basic data
sdb2 12378292 12388435 10144 5M EFI System
sdb3 12388436 12389035 600 300K Microsoft basic data
sdb4 12390400 15726591 3336192 1.6G Linux filesystem
Disk sdc: 931.51 GiB, 1000204883968 bytes, 1953525164 sectors
Disk identifier: 0x77a7feb2
Boot Start End Sectors Size Id Type
sdc1 2048 1953521663 1953519616 931.5G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:msdos:ATA SK hynix SC210 m:;
1:1049kB:256GB:256GB:ext4::boot;
sdb:8053MB:scsi:512:512:gpt:General UDisk:;
1:32.8kB:6338MB:6338MB::ISO9660:hidden, msftdata;
2:6338MB:6343MB:5194kB::Appended2:boot, esp;
3:6343MB:6343MB:307kB::Gap1:hidden, msftdata;
4:6344MB:8052MB:1708MB:ext4::;
sdc:1000GB:scsi:512:512:msdos:TOSHIBA External USB 3.0:;
1:1049kB:1000GB:1000GB:ntfs::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7 de93c5a2-01
sdb iso9660 2025-02-15-09-15-26-00 Ubuntu 24.04.2 LTS amd64
├─sdb1 iso9660 2025-02-15-09-15-26-00 b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8 Ubuntu 24.04.2 LTS amd64 ISO9660
├─sdb2 vfat B5A5-8010 b0ef6ca3-60d1-4a21-98db-17c385a8b6f8 ESP Appended2
├─sdb3 b0ef6ca3-60d1-4a21-98da-17c385a8b6f8 Gap1
└─sdb4 ext4 f63a2f1a-d57d-42a7-9746-47eca2276a3d ca46f947-8043-4169-bc38-866a3549a968 writable
sdc
└─sdc1 ntfs BC2CF6852CF639CA 77a7feb2-01 TOSHIBA EXT
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 82.3G 60% /media/ubuntu/f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7
/dev/sdb1 0 100% /cdrom
/dev/sdc1 8.9G 99% /media/ubuntu/TOSHIBA EXT
efivarfs 65.4K 45% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda1 ext4 rw,nosuid,nodev,relatime,errors=remount-ro
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
/dev/sdc1 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
leschapis:odilon28@172.16.0.10:/home/leschapis/ /media/LesChapis2/ fuse.sshfs allow_other,uid=1002,gid=1002,umask=0022,noauto,noatime 0 0
======================= sda1/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
28.346935272 = 30.437289984 boot/grub/grub.cfg 2
18.189723969 = 19.531067392 boot/grub/i386-pc/core.img 1
135.576244354 = 145.573883904 boot/vmlinuz 1
135.959033966 = 145.984901120 boot/vmlinuz-5.4.0-150-generic 1
135.576244354 = 145.573883904 boot/vmlinuz-5.4.0-208-generic 1
135.959033966 = 145.984901120 boot/vmlinuz.old 1
135.959033966 = 145.984901120 vmlinuz 1
21.911804199 = 23.527620608 boot/initrd.img 4
11.843456268 = 12.716814336 boot/initrd.img-5.4.0-150-generic 6
21.911804199 = 23.527620608 boot/initrd.img-5.4.0-208-generic 4
11.843456268 = 12.716814336 boot/initrd.img.old 6
11.843456268 = 12.716814336 initrd.img 6
===================== sda1: 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 Dec 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Feb 7 2019 30_os-prober
-rwxr-xr-x 1 root root 1424 Dec 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 11 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Feb 7 2019 40_custom
-rwxr-xr-x 1 root root 216 Feb 7 2019 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda1 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Confirmation request before suggested repair: __________________________________
The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA SK hynix SC210 m) disk!
The boot files of [sda1 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Fournis les retours de :
sudo apt update
d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
et :
ls -l /var/crash
en te servant du Retour utilisable de commande.
Dernière modification par xubu1957 (Le 23/03/2025, à 22:06)
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
En ligne
#3 Le 23/03/2025, à 23:17
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonsoir
pour effectuer ces commande, je suis obligé de démarrer avec une clé USB qui est en version 24
Je ne suis pas certain que ce soit pertienent
Voici tout de même les retours
ubuntu@ubuntu:~$ sudo apt update
Ign:1 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble Release
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [671 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [247 kB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [130 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [8996 B]
Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [6936 B]
Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [820 kB]
Get:14 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [509 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [922 kB]
Get:16 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [177 kB]
Get:17 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51.9 kB]
Get:18 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [17.0 kB]
Get:19 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [14.3 kB]
Get:20 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [726 kB]
Get:21 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [146 kB]
Get:22 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:23 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [432 B]
Get:24 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [4240 B]
Get:25 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [26.2 kB]
Get:26 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [4892 B]
Get:27 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]
Get:28 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [448 B]
Get:29 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [438 kB]
Get:30 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [209 kB]
Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Get:32 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [13.5 kB]
Get:33 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [631 kB]
Get:34 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1041 kB]
Get:35 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [262 kB]
Get:36 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [364 kB]
Get:37 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (48x48) [214 kB]
Get:38 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64) [334 kB]
Get:39 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [25.9 kB]
Get:40 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [759 kB]
Get:41 http://archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [14.5 kB]
Get:42 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [153 kB]
Get:43 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:44 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [464 B]
Get:45 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [30.1 kB]
Get:46 http://archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [4996 B]
Get:47 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [5884 B]
Get:48 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:49 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [656 B]
Get:50 http://archive.ubuntu.com/ubuntu noble-backports/main i386 Packages [31.8 kB]
Get:51 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [39.1 kB]
Get:52 http://archive.ubuntu.com/ubuntu noble-backports/main Translation-en [8676 B]
Get:53 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7076 B]
Get:54 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (48x48) [9518 B]
Get:55 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64) [11.2 kB]
Get:56 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [272 B]
Get:57 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [26.4 kB]
Get:58 http://archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [13.8 kB]
Get:59 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [16.3 kB]
Get:60 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [21.3 kB]
Get:61 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (48x48) [18.5 kB]
Get:62 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64) [25.4 kB]
Get:63 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1304 B]
Get:64 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:65 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Fetched 9746 kB in 2s (4352 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
171 packages can be upgraded. Run 'apt list --upgradable' to see them.
buntu@ubuntu:~$ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================================-========================================-============-================================================================================
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ ls -l /var/crash
total 0
ubuntu@ubuntu:~$
Merci de regarder, mais je reprendrai demain soir
A bientôt
Hors ligne
#4 Le 24/03/2025, à 00:35
- iznobe
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour , et sinon quelle est l' erreur précisément ???
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#5 Le 24/03/2025, à 07:01
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Sans clé USB, quand je boot en legacy :
No bootable device found
Press F1 key to retry boot
Press F2 key to set-up utility
Press F3 key to run onboard diagniostics
Je passe donc en UEFI sans clé USB
error : symbol "grub_file_filters" not found
entering rescue mode
grub rescue >
Avec ce prompt je n'ai trouvé que la commande ls qui me liste les disques
je redémarre donc en mode UEFI avec la clé et j'ai le menu grub permettant de choisir sur la clé usb
Je pense que ce soir, je vais refaire l'installation en partitionant comme mon précédent PC, le système séparé des données et passer directement en 24.04
Merci pour les idées, si je peux éviter
Hors ligne
#6 Le 24/03/2025, à 10:52
- iznobe
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour , je ne suis pas du tout expert pour les boot-info , il vaut mieux attendre l' avis d ' un intervenant plus calé que moi ,
mais , d' apres ce que je vois là :
blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda └─sda1 ext4 f0d0fe5f-2bb0-4915-b2cd-1b183da5d0a7 de93c5a2-01 sdb iso9660 2025-02-15-09-15-26-00 Ubuntu 24.04.2 LTS amd64 ├─sdb1 iso9660 2025-02-15-09-15-26-00 b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8 Ubuntu 24.04.2 LTS amd64 ISO9660 ├─sdb2 vfat B5A5-8010 b0ef6ca3-60d1-4a21-98db-17c385a8b6f8 ESP Appended2 ├─sdb3 b0ef6ca3-60d1-4a21-98da-17c385a8b6f8 Gap1 └─sdb4 ext4 f63a2f1a-d57d-42a7-9746-47eca2276a3d ca46f947-8043-4169-bc38-866a3549a968 writable sdc └─sdc1 ntfs BC2CF6852CF639CA 77a7feb2-01 TOSHIBA EXT
tu as un disque externe sdC, je ne sais pas pourquoi il est connecté , mais du coup on n' en tient pas compte.
le sdB , c' est la clé qui sert a demarrer , avec ubuntu 24.04 dessus .
il ne reste donc qu ' un seul disque dur qui accueille ton ubuntu 20.04 en interne sur ta machine et c' est le disque sdA
C' est donc lui qui nous interresse .
Sur celui-ci , on ne voit qu ' une seule et unique partition : sda1 , qui contient donc ubuntu .
A ce niveau là , 2 possibilités :
soit tu etais de base en demarrage LEGACY , soit tu etais en EFI , mais alors tu aurais supprimer une partition VFAT en debut de disque .
D ' apres cette autre partie du boot info :
fdisk -l (filtered): ___________________________________________________________ Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors Disk identifier: 0xde93c5a2 Boot Start End Sectors Size Id Type sda1 * 2048 500103652 500101605 238.5G 83 Linux
Si on fait le calcul : 500103652-500101605 = 2047 . comme les secteurs commencent a 0 , cela fait bien 2048 .
Donc aucune esapce libre avant la partition sda1 .
Du coup , j ' en déduis que tu démarrais en LEGACY .
Tout ca c ' est à faire confirmer .
En attendant que quelqu ' un confirme , est ce que tu peux :
regler le BIOS en legacy , redemarrer sur la clé , redonner un boot-info pour voir la reparation qu ' il propose stp . ( tu etais en EFI ) lors du 1er boot info .
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#7 Le 24/03/2025, à 11:43
- geole
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour.
Complément d'information.
Tu as dit que tu as fait une mise à niveau de la version 18.04 en 20.04.
Comme a dit Iznobe, tout prouve que l'installation est en legacy.
Lorsque je regarde le contenu du MBR, il me semble correct.
> 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 (,msdos1)/boot/grub.
sda1: __________________________________________________________________________
Operating System: Ubuntu 20.04.6 LTS
Boot files: /boot/grub/i386-pc/core.img
Je ne vois pas pourquoi le bios legacy râle.
En premier, vérifie bien que le bios est resté positionné pour booter en priorité sur SDA.
Si tel est le cas, reboote avec le support d'installation, installe boot-repair, fais la réparation recommandée
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
, poste son exécution et tente de rebooter.
Dernière modification par geole (Le 24/03/2025, à 14:51)
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
Hors ligne
#8 Le 24/03/2025, à 14:34
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour à tous deux,
Effectivement, c'est un PC que j'ai acheté configuré avec une seule partition.
comme vous le dite j'étais bien en legacy avec tout le kit de démararge y compris le CDROM qui n'existe pas.
Merci pour votre avis, je vais exécuter ce que propose REAPIR ce soir.
Au pire, je passerai direct en, en faisant une partition cette fois.
Bonne journée.
Hors ligne
#9 Le 24/03/2025, à 22:05
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonjour,
Merci pour vos conseils
Boot-repair plus config en legacy m'a permis de redémarrer mon PC. Maintenant souci de connexion
Mon PC a 3 comptes :
system qui a tous les droits
richard qui est le compte que j'utilise au quotidien
invite qui n'a aucun droit.
Je peux me connecter sur system, mais pas sur richard. Une fois le mdp saisi, une modif d'écran de moins d'une seconde et je retrouve la page de connexion
avec system et users j'ai vérifié le mot de passe, regardé les droits, les dossier sous /home/ semblent corrects et je peux y accéder à partir de system
Dans un terminal, avec un switchUser je peux me connecter et en mode commande voir tous mes fichiers.
Sur les forum, j'ai noté que ce peut être mon fichier .ICEauthority mais j'hésite à l'effacer.
Si vous avez qqs pistes pour diagnostiquer
A bientôt
Config UBUNTU 20.04.LTS
PC DELL LATITUDE E7250
Hors ligne
#10 Le 24/03/2025, à 22:26
- iznobe
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
montre :
sudo find ~ -ipath "*.*" ! -user $USER -exec chown -v $USER: {} \;
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#11 Le 24/03/2025, à 23:21
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Bonsoir iznobe
Voici le retour de commande duquel j'ai retiré plus de 3000 lignes de python
system@leschapis3:~$ sudo find ~ -ipath "*.*" ! -user $USER -exec chown -v $USER: {} \;
[sudo] Mot de passe de system :
appartenance de '/home/system/.conda' modifiée de root:root en system:system
appartenance de '/home/system/.conda/environments.txt' modifiée de root:root en system:system
appartenance de '/home/system/Arduino_Download/arduino-ide_2.2.1_Linux_64bit.zip' modifiée de richard:richard en system:system
appartenance de '/home/system/certificate.key' modifiée de root:root en system:system
appartenance de '/home/system/.gvfs' modifiée de root:root en system:system
appartenance de '/home/system/.cache/doc' modifiée de root:root en system:system
appartenance de '/home/system/.cache/dconf' modifiée de root:root en system:system
appartenance de '/home/system/.local/share/kwalletd' modifiée de root:root en system:system
appartenance de '/home/system/.local/share/Trash/files/arduino-create-agent.desktop' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/pip' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/virtualenv' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/pip2' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/virtualenv-clone' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/pip2.7' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/pipenv' modifiée de root:root en system:system
appartenance de '/home/system/.local/bin/pipenv-resolver' modifiée de root:root en system:system
appartenance de '/home/system/.local/lib' modifiée de root:root en system:system
appartenance de '/home/system/.local/lib/python2.7' modifiée de root:root en system:system
.....
.... 3000 lignes de /home/system/.local/lib/python2.7/ etc...
....
appartenance de '/home/system/.local/lib/python2.7/site-packages/pathlib2-2.3.7.post1.dist-info/WHEEL' modifiée de root:root en system:system
appartenance de '/home/system/.local/lib/python2.7/site-packages/contextlib2.pyc' modifiée de root:root en system:system
appartenance de '/home/system/.config/Trolltech.conf' modifiée de root:root en system:system
appartenance de '/home/system/.config/pavucontrol.ini' modifiée de root:root en system:system
appartenance de '/home/system/.config/enchant' modifiée de root:root en system:system
appartenance de '/home/system/.config/enchant/fr_FR.dic' modifiée de root:root en system:system
appartenance de '/home/system/.config/enchant/fr_FR.exc' modifiée de root:root en system:system
appartenance de '/home/system/.config/gedit' modifiée de root:root en system:system
appartenance de '/home/system/.config/gedit/accels' modifiée de root:root en system:system
appartenance de '/home/system/.config/Code Industry' modifiée de root:root en system:system
appartenance de '/home/system/.config/Code Industry/Master PDF Editor.conf' modifiée de root:root en system:system
appartenance de '/home/system/.dbus' modifiée de root:root en system:system
appartenance de '/home/system/.dbus/session-bus' modifiée de root:root en system:system
appartenance de '/home/system/.dbus/session-bus/fea0dc1258614df2a344e4e2a29a5f42-1' modifiée de root:root en system:system
appartenance de '/home/system/.dbus/session-bus/fea0dc1258614df2a344e4e2a29a5f42-0' modifiée de root:root en system:system
system@leschapis3:~$
A+
Hors ligne
#12 Le 24/03/2025, à 23:45
- leschapis
Re : [résolu] Probleme de migration 18.04 vers 20.04 erreur grub
Merci iznobe pour la piste.
Je me suis rendu compte qe invite était le propriétaire de tous les fichiers de richard
un chown -R a remis tout en ordre.
Tout est résolu pour ce sujet
Bonne fin de soirée.
Hors ligne