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.

#26 Le 08/04/2025, à 18:42

geole

Re : Mise a niveau Vers 24.04 impossible par manque de place

. Fais un boot-info et poste l'URL qui sera générée. https://doc.ubuntu-fr.org/tutoriel/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

#27 Le 09/04/2025, à 11:04

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

Et bonjour,
J'ai fait le boot info ;
Il est la :
Https://paste.ubuntu.com/p/ccKZWYnkhh/

J'ai voulu le consulter pour vérifier mais il m'est demandé d'avoir un compte ubuntu one, ce que je n'ai pas.
Merci encore une fois pour l'aide

Hors ligne

#28 Le 09/04/2025, à 11:15

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

J'ai finalement réussi a le consulter.

Apparement j'ai des restes d'un vieux Windows, je n'en ai pas l'usage, ça peut dégager si c'est ça qui pose problème.

Hors ligne

#29 Le 09/04/2025, à 12:57

xubu1957

Re : Mise a niveau Vers 24.04 impossible par manque de place

Bonjour,

Collage du Boot-info :

boot-info-4ppa2081                                              [20250409_0843]

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

 => Windows is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb 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:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sdb1 
                       and looks at sector 68877424 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 24.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdc: ___________________________________________________________________________

    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 
                       sdc 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/sdc: /dev/sdc already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


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

OS#1 (linux):   Ubuntu 24.04.2 LTS on sdb1
OS#2 (linux):   Ubuntu 18.04 LTS on sdb2

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

CPU architecture: 64-bit
Video: Haswell-ULT Integrated Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.2 LTS, noble, x86_64)

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

BIOS/UEFI firmware: GJET71WW (2.21 )(2.21) from LENOVO
The firmware seems EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sdb2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdb1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdb2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sda1	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb3	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 935FC52A-79E8-11E4-8261-E8B1FCC4DF0A
     Start        End    Sectors   Size Type
sda1   2048 1953523532 1953521485 931.5G Microsoft basic data
Disk sdb: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0x492b4ce4
     Boot     Start       End   Sectors  Size Id Type
sdb1  *         2048 151234559 151232512 72.1G 83 Linux
sdb2       151234560 304879615 153645056 73.3G 83 Linux
sdb3       304879616 407887871 103008256 49.1G 83 Linux
sdb4       407887872 500117503  92229632   44G 83 Linux
Disk sdc: 28.64 GiB, 30752000000 bytes, 60062500 sectors
Disk identifier: B0EF6CA3-60D1-4A21-98D9-17C385A8B6F8
        Start      End  Sectors  Size Type
sdc1        64 12378291 12378228  5.9G Microsoft basic data
sdc2  12378292 12388435    10144    5M EFI System
sdc3  12388436 12389035      600  300K Microsoft basic data
sdc4  12390400 60061695 47671296 22.7G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9:;
1:1049kB:1000GB:1000GB:ext4::msftdata;
sdb:256GB:scsi:512:512:msdos:ATA TS256GMTS430S:;
1:1049kB:77.4GB:77.4GB:ext4::boot;
2:77.4GB:156GB:78.7GB:ext4::;
3:156GB:209GB:52.7GB:ext4::;
4:209GB:256GB:47.2GB:ext4::;
sdc:30.8GB:scsi:512:512:gpt:SanDisk Ultra Fit:;
1:32.8kB:6338MB:6338MB::ISO9660:hidden, msftdata;
2:6338MB:6343MB:5194kB::Appended2:boot, esp;
3:6343MB:6343MB:307kB::Gap1:hidden, msftdata;
4:6344MB:30.8GB:24.4GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
└─sda1 ext4     183b73af-63da-498c-a3e7-0fef556ba34f 87d7fb54-b3ee-435a-8e3f-d5007b13b91a                          
sdb                                                                                                                
├─sdb1 ext4     529c6589-6d05-43f3-a17a-53635cf53c89 492b4ce4-01                                                   
├─sdb2 ext4     29b99dcd-4d97-4b25-bb42-489e3c1a40a7 492b4ce4-02                                                   
├─sdb3 ext4     aaa47356-8d63-41e2-a811-d4e47d9460e5 492b4ce4-03                                                   
└─sdb4 ext4     4fb4ceac-33bb-4867-82c8-d81036b202dc 492b4ce4-04                                                   
sdc    iso9660  2025-02-15-09-15-26-00                                                    Ubuntu 24.04.2 LTS amd64 
├─sdc1 iso9660  2025-02-15-09-15-26-00               b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8 Ubuntu 24.04.2 LTS amd64 ISO9660
├─sdc2 vfat     B5A5-8010                            b0ef6ca3-60d1-4a21-98db-17c385a8b6f8 ESP                      Appended2
├─sdc3                                               b0ef6ca3-60d1-4a21-98da-17c385a8b6f8                          Gap1
└─sdc4 ext4     119c0bd8-25d2-47e3-a441-c0d046e1b7ae 08fae211-636b-4d05-8356-1eb3f17bfa37 writable                 

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda1                                                       225G  70% /mnt/boot-sav/sda1
/dev/sdb1                                                      45.6G  30% /mnt/boot-sav/sdb1
/dev/sdb2                                                      58.3G  14% /mnt/boot-sav/sdb2
/dev/sdb3                                                      14.5G  64% /mnt/boot-sav/sdb3
/dev/sdb4                                                      40.5G   0% /mnt/boot-sav/sdb4
/dev/sdc1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda1                                                     ext4            rw,relatime
/dev/sdb1                                                     ext4            rw,relatime
/dev/sdb2                                                     ext4            rw,relatime
/dev/sdb3                                                     ext4            rw,relatime
/dev/sdb4                                                     ext4            rw,relatime
/dev/sdc1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Ubuntu   529c6589-6d05-43f3-a17a-53635cf53c89
Ubuntu 18.04 LTS (18.04) (on sdb2)   29b99dcd-4d97-4b25-bb42-489e3c1a40a7
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=529c6589-6d05-43f3-a17a-53635cf53c89 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb3 during installation
UUID=aaa47356-8d63-41e2-a811-d4e47d9460e5 /home           ext4    defaults        0       2
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
   2.526638031 = 2.712956928    boot/grub/grub.cfg                             1
  32.843338013 = 35.265265664   boot/grub/i386-pc/core.img                     1
  42.632122040 = 45.775892480   boot/vmlinuz                                   2
  30.594722748 = 32.850833408   boot/vmlinuz-6.8.0-52-generic                  2
  42.632122040 = 45.775892480   boot/vmlinuz-6.8.0-57-generic                  2
  30.594722748 = 32.850833408   boot/vmlinuz.old                               2
  34.343746185 = 36.876316672   boot/initrd.img                               214
  30.965328217 = 33.248768000   boot/initrd.img-5.15.0-136-generic            95
  27.500316620 = 29.528240128   boot/initrd.img-6.8.0-52-generic              130
  34.343746185 = 36.876316672   boot/initrd.img-6.8.0-57-generic              214
  27.500316620 = 29.528240128   boot/initrd.img.old                           130

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

-rwxr-xr-x 1 root root 18133 Sep 11  2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11  2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11  2024 20_linux_xen
-rwxr-xr-x 1 root root   786 Sep 11  2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11  2024 30_os-prober
-rwxr-xr-x 1 root root  1174 Sep 11  2024 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Nov 11  2019 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

Ubuntu (lowlatency)   29b99dcd-4d97-4b25-bb42-489e3c1a40a7
Ubuntu 18.04.3 LTS (18.04) (sur sda1)   325c5ead-d64b-4e4a-b8c7-2ff8c6357ce9
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=29b99dcd-4d97-4b25-bb42-489e3c1a40a7 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda4 during installation
UUID=4fb4ceac-33bb-4867-82c8-d81036b202dc /home           ext4    defaults        0       2
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  74.536174774 = 80.032608256   boot/grub/grub.cfg                             1
  79.108798981 = 84.942426112   boot/grub/i386-pc/core.img                     1
  74.676670074 = 80.183463936   boot/vmlinuz-4.15.0-20-lowlatency              1
  74.676670074 = 80.183463936   vmlinuz                                        1
  79.368167877 = 85.220921344   boot/initrd.img-4.15.0-20-lowlatency           1
  79.368167877 = 85.220921344   initrd.img                                     1
  79.368167877 = 85.220921344   initrd.img.old                                 1

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

-rwxr-xr-x 1 root root  9921 Sep  2  2016 09_lowlatency
-rwxr-xr-x 1 root root 12693 Mar  4  2018 10_linux
-rwxr-xr-x 1 root root 11298 Mar  4  2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 Mar  4  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 Mar  4  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Mar  4  2018 40_custom
-rwxr-xr-x 1 root root   216 Mar  4  2018 41_custom

=================== sdb2/etc/grub.d/09_lowlatency (filtered) ===================

#! /bin/sh
set -e
# grub-mkconfig helper script.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="${prefix}/share"
. "${datarootdir}/grub/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  OS=GNU/Linux
else
  if [ "${GRUB_DISTRIBUTOR}" = "Ubuntu" ] ; then
    OS="${GRUB_DISTRIBUTOR}"
  else
    OS="${GRUB_DISTRIBUTOR} GNU/Linux"
  fi
  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
  /dev/loop/*|/dev/loop[0-9])
    GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
    # We can't cope with devices loop-mounted from files here.
    case ${GRUB_DEVICE} in
      /dev/*) ;;
      *) exit 0 ;;
    esac
  ;;
esac
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
    || uses_abstraction "${GRUB_DEVICE}" lvm; then
  LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
  LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`"
if [ x"$GRUBFS" = x ]; then
    GRUBFS="$(stat -f --printf=%T / || true)"
fi
case x"$GRUBFS" in
    xbtrfs)
	rootsubvol="`make_system_path_relative_to_its_root /`"
	rootsubvol="${rootsubvol#/}"
	if [ "x${rootsubvol}" != x ]; then
	    GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
	fi;;
    xzfs)
	rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
	bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
	LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
	;;
esac
title_correction_code=
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
  if [ "$word" = splash ]; then
    GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
  fi
# add crashkernel option if we have the required tools
if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
    GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
fi
linux_entry ()
{
  os="$1"
  version="$2"
  type="$3"
  args="$4"
  if [ -z "$boot_device_id" ]; then
      boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
  fi
  if [ x$type != xsimple ] ; then
      case $type in
	  recovery)
	      title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
	  *)
	      title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
      esac
      if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
	  replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
	  quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
	  title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
	  grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
      fi
      echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  else
      echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  fi      
  echo "recordfail" | sed "s/^/$submenu_indentation/"
  if [ x$type != xrecovery ] ; then
      save_default_entry | sed -e "s/^/\t/"
  fi
  # Use ELILO's generic "efifb" when it's known to be available.
  # FIXME: We need an interface to select vesafb in case efifb can't be used.
  if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
      echo "	load_video" | sed "s/^/$submenu_indentation/"
  else
      if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
	  echo "	load_video" | sed "s/^/$submenu_indentation/"
      fi
  fi
  if [ x$type != xrecovery ] ; then
      echo "	gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
  fi
  echo "	insmod gzio" | sed "s/^/$submenu_indentation/"
  if [ x$dirname = x/ ]; then
    if [ -z "${prepare_root_cache}" ]; then
      prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")"
    fi
    printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
  else
    if [ -z "${prepare_boot_cache}" ]; then
      prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"
    fi
    printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
  fi
  if [ x$type != xsimple ]; then
    message="$(gettext_printf "Loading Linux %s ..." ${version})"
    sed "s/^/$submenu_indentation/" << EOF
	echo	'$(echo "$message" | grub_quote)'
EOF
  fi
  if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
    sed "s/^/$submenu_indentation/" << EOF
	linux	${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
  else
    sed "s/^/$submenu_indentation/" << EOF
	linux	${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
  fi
  if test -n "${initrd}" ; then
    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
    if [ x$type != xsimple ]; then
      message="$(gettext_printf "Loading initial ramdisk ...")"
      sed "s/^/$submenu_indentation/" << EOF
	echo	'$(echo "$message" | grub_quote)'
EOF
    fi
    sed "s/^/$submenu_indentation/" << EOF
	initrd	${rel_dirname}/${initrd}
EOF
  fi
  sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
    xi?86 | xx86_64)
	list=`for i in /boot/vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
              done` ;;
    *) 
	list=`for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /boot/kernel-*lowlatency ; do
                  if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
	     done` ;;
esac
case "$machine" in
    i?86) GENKERNEL_ARCH="x86" ;;
    mips|mips64) GENKERNEL_ARCH="mips" ;;
    mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
    arm*) GENKERNEL_ARCH="arm" ;;
    *) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
  echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
  cat << EOF
if [ "\${recordfail}" != 1 ]; then
  if [ -e \${prefix}/gfxblacklist.txt ]; then
    if hwmatch \${prefix}/gfxblacklist.txt 3; then
      if [ \${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_first_entry=true
if [ "x$list" != "x" ]; then
  linux=`version_find_latest $list`
  case $linux in
    *.efi.signed)
      # We handle these in linux_entry.
      list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
      continue
      ;;
  esac
  gettext_printf "Found linux image: %s\n" "$linux" >&2
  basename=`basename $linux`
  dirname=`dirname $linux`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
  alt_version=`echo $version | sed -e "s,\.old$,,g"`
  linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
  initrd=
  for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
	   "initrd-${version}" "initramfs-${version}.img" \
	   "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
	   "initrd-${alt_version}" "initramfs-${alt_version}.img" \
	   "initramfs-genkernel-${version}" \
	   "initramfs-genkernel-${alt_version}" \
	   "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
	   "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
    if test -e "${dirname}/${i}" ; then
      initrd="$i"
      break
    fi
  done
  config=
  for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
    if test -e "${i}" ; then
      config="${i}"
      break
    fi
  done
  initramfs=
  if test -n "${config}" ; then
      initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
  fi
  if test -n "${initrd}" ; then
    gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
  elif test -z "${initramfs}" ; then
    # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs.  Since there's
    # no initrd or builtin initramfs, it can't work here.
    linux_root_device_thisversion=${GRUB_DEVICE}
  fi
  if [ "x$is_first_entry" = xtrue ]; then
    linux_entry "${OS} (lowlatency)" "${version}" simple \
    "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
  fi
fi
echo "$title_correction_code"



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb1 into the MBR of sdb.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA TS256GMTS430S) disk!

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

#30 Le 09/04/2025, à 13:51

geole

Re : Mise a niveau Vers 24.04 impossible par manque de place

Bonjour.
Je ne vois pas ce qui foire.
Ayant lu cette discussion.
Je te propose d'installer boot-repair et de faire la réparation recommandée.
"The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb1 into the MBR of sdb."

Si elle se passe mal, tu posteras son exécution.

Dernière modification par geole (Le 09/04/2025, à 13:55)


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

#31 Le 09/04/2025, à 14:35

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

J'ai installé boit repair et lance la réparation recommandée.
J'ai eu un menu d'amorçage.
J'ai sélectionné "ubuntu"
J'ai obtenu ça :
20250409-142635.jpg

Il ne veut pas booster sur la clé, et affiche juste GRUB.

Hors ligne

#32 Le 09/04/2025, à 14:38

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

En revanche, je viens de réussir à booster sur le ubuntu studio qui est sur sdb2...
Dire que je suis perdu est bien loin en dessous de la vérité....

Hors ligne

#33 Le 09/04/2025, à 19:59

geole

Re : Mise a niveau Vers 24.04 impossible par manque de place

Je ne comprends par pourquoi, il indique que la partition  n'existe pas.
Peux- tu essayer de booter par le mode recovery sur  l'ancien noyau (6.8.0-52) ?


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

#34 Le 09/04/2025, à 23:48

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

J'ai essayé de booster sur le noyau précédent en recovery, ça donne ça :
20250409-233641.jpg

Hors ligne

#35 Le 11/04/2025, à 09:05

stefan531

Re : Mise a niveau Vers 24.04 impossible par manque de place

Je suis en train de me dire que je m'oriente doucement vers une clean install...
.
Est ce que ce serait intéressant d'ouvrir un nouveau sujet dans la catégorie installation d'ubuntu pour essayer de trouver une solution? ( ou de déplacer celui la?)
Est ce qu'il y a des pièges dans le fait de faire une clean install?

Est ce que quelqu'un aurait une idée de résolution de mon problème avant la clean install?

Merci encore à tout ceux qui m'ont aidé

Hors ligne