Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/02/2024, à 20:46

perera

RESOLU boot cassé ?

Bonjour,

j'ai un ancien portable sur lequel un kubuntu avait été installé sur un ssd externe (avec un dual win/kubuntu sur le dd interne, mais plus utilisés).

J'ai enlevé le ssd externe, bêtement sans vérifier que cet ordi n'était pas éteint, afin de transferer les données sur un nouvel ordi en Kubuntu.

Maintenant, quand je redemarre l'ancien, il n'arrive plus a booter sur le ssd externe, et me donne le message
BusyBox v1.30 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter help for a list if built-in commands.

sans doute une ces commandes me permettrons de restorer ce ssd, mais lesquelles?

Merci d'avance de m'aider

Dernière modification par perera (Le 06/03/2024, à 19:02)

Hors ligne

#2 Le 29/02/2024, à 22:43

geole

Re : RESOLU boot cassé ?

Bonsoir.
Tout simplement, lorsque tu as installé, cela a modifié pour booter sur le disque externe.
Tu supprimes ce disque, c'est logique que cela ne boote plus.

Merci de publier le résultat d'un boot-info afin de voir comment réparer,


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#3 Le 01/03/2024, à 21:22

perera

Re : RESOLU boot cassé ?

Bonsoir geole,

pour être bien sûr qu'on se comprend bien

quand j'allume l'ordi avec le ssd branché, il affiche le menu de boot, mais quand je choisis la premiere option
qui est de booter sur le ssd externe il flanche. Je suppose que le boot sur le ssd est cassé.

Ta remarque me suggère que tu penses que j'essaye de booter sans le ssd externe.. mais je trompe sans
doute...

je vais essayer de faire le boot info que tu demandes demain samedi.

Cependant,
il y a aussi l'option de tenter de booter sur le dd interne, qui lui doit en principe fonctionner comme avant.
Peut-on faire la manip que tu demandes à partir de ce dd .. demander au kubuntu qui est dessus de donner
des infos sur le boot etc ...??

Hors ligne

#4 Le 01/03/2024, à 23:26

geole

Re : RESOLU boot cassé ?

Bonsoir.
Tu as bien compris. Je pensais que tu avais modifié le contenu du disque externe  ou qu'il était absent.
Si ton boot propose de booter sur le disque interne, c'est parfait. tu pourras faire le boot-info. Sinon il sufit d'utiliser un support d'installation.

Nota. Un grub n'a pas à proposer de booter sur un disque externe.
Si on veut booter sur un disque externe, il suffit de dire au bios que le boot sur support externe est prioritaire.

Dernière modification par geole (Le 01/03/2024, à 23:30)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#5 Le 03/03/2024, à 16:29

perera

Re : RESOLU boot cassé ?

re-bonjour geole

j'ai le boot-info, obtenu à partir du DD de l'ordi au boot cassé, mais qui a encore un kubuntu sur le dd fonctionnel.
Le voici

boot-info-4ppa2075                                              [20240303_1510]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

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


================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.2 LTS on sdb3
OS#2:   Ubuntu 22.04.4 LTS on sdc2
OS#3:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GP107M [GeForce GTX 1050 Mobile] HD Graphics 630 from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-78-generic root=UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 ro quiet splash nouveau.modeset=0
df -Th / : /dev/sdb3        ext4   273G    103G  156G  40% /

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

BIOS/UEFI firmware: X580VD.205(5.12) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled.
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0003,0002,0000
Boot0000* Windows Boot Manager	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0002* ubuntu	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0003* ubuntu	HD(1,GPT,29e981fa-cad6-4996-8d57-66f73870c2bd,0xffff,0xefff1)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO

64349b3622c65f495a99dbf6102496e3   sdc1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   sdc1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   sdc1/Boot/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdc1/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

sdb	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: is-GPT,	no-BIOSboot,	has---ESP, 	usb-disk,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb3	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdc2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ng,	update-grub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: is-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

Partitions info (2/3): _________________________________________________________

sdb3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: C7B2E4EE-7BAE-476A-BB7A-D6D4B1BD99B7
         Start       End   Sectors   Size Type
sda1       2048    534527    532480   260M EFI System
sda2     534528    567295     32768    16M Microsoft reserved
sda3     567296 248294816 247727521 118.1G Microsoft basic data
sda4  248295424 250068991   1773568   866M Windows recovery environment
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0B8FD8A2-DF1A-4F22-AB31-673A84E1CF4F
          Start        End    Sectors   Size Type
sdb1        2048 1339123711 1339121664 638.5G Microsoft basic data
sdb2  1339123712 1340174335    1050624   513M EFI System
sdb3  1340174336 1920212991  580038656 276.6G Linux filesystem
sdb4  1920212992 1953523711   33310720  15.9G Linux swap
Disk sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 36235BE5-5ABB-424A-BAAE-08EE591523DB
       Start        End    Sectors  Size Type
sdc1    65535    1048559     983025  480M EFI System
sdc2  1048560 1953467279 1952418720  931G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:4096:gpt:ATA HFS128G39TND-N21:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:127GB:127GB:ntfs:Basic data partition:msftdata;
4:127GB:128GB:908MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:686GB:686GB:ntfs::msftdata;
2:686GB:686GB:538MB:fat32:EFI System Partition:boot, esp;
3:686GB:983GB:297GB:ext4::;
4:983GB:1000GB:17.1GB:linux-swap(v1)::swap;
sdc:1000GB:scsi:512:512:gpt:Samsung PSSD T7:;
1:33.6MB:537MB:503MB:fat32:EFI System Partition:boot, esp;
2:537MB:1000GB:1000GB:ext4::;

Free space >10MiB: ______________________________________________________________

sdc: 0.02MiB:32.0MiB:32.0MiB
sdc: 953841MiB:953870MiB:28.2MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL  PARTLABEL
sda                                                                                              
├─sda1 vfat     2230-9F8B                            667e4db4-1fe8-4e43-82e6-7a1371458636 SYSTEM EFI system partition
├─sda2                                               d39276c6-efbe-499f-b7cd-c328da014a89        Microsoft reserved partition
├─sda3 ntfs     64A0347BA03455B0                     fb7e7646-aa52-41d2-9d33-7afec9d3bce5 OS     Basic data partition
└─sda4 ntfs     D44670AC467090CA                     754eba59-a80f-473d-a872-cb58a69e6b6c        
sdb                                                                                              
├─sdb1 ntfs     2C9C601A9C5FDD40                     76bf42c6-d009-48fe-8435-48ada77aeae2 DATA   Basic data partition
├─sdb2 vfat     0BA1-7D17                            2644bf45-0a54-4716-ae89-e09e543b0113        EFI System Partition
├─sdb3 ext4     0f5bf503-90b5-4f74-be72-628be6c177a0 f00fc046-eb97-4a90-a351-12a8b16ce7e4        
└─sdb4 swap     6dd3e616-3b06-4a46-b97c-3b8cf376e52a f12e9057-1833-40f9-a235-cc6aea29f994        
sdc                                                                                              
├─sdc1 vfat     6D99-8DF9                            29e981fa-cad6-4996-8d57-66f73870c2bd        EFI System Partition
└─sdc2 ext4     5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e c3636bda-6f15-4c18-962f-dd1d9580e268        

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda3                       21.9G  81% /media/auperera/OS1
/dev/sda4                      419.6M  52% /mnt/boot-sav/sda4
/dev/sdb1                      554.4G  13% /media/auperera/DATA1
/dev/sdb2                        512M   0% /mnt/boot-sav/sdb2
/dev/sdb3                      155.6G  38% /
/dev/sdc1                      472.9M   1% /mnt/boot-sav/sdc1
/dev/sdc2                      762.5G  12% /mnt/boot-sav/sdc2

Mount options (filtered): ______________________________________________________

/dev/sda3                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sda4                      fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb2                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb3                      ext4            rw,relatime,errors=remount-ro
/dev/sdc1                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdc2                      ext4            rw,relatime,stripe=8191

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

search.fs_uuid 5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e root hd2,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   0f5bf503-90b5-4f74-be72-628be6c177a0
Windows Boot Manager (on sda1)   osprober-efi-2230-9F8B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb4 during installation
UUID=6dd3e616-3b06-4a46-b97c-3b8cf376e52a none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=100000
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
GRUB_CMDLINE_LINUX=""
GRUB_GFXPAYLOAD_LINUX=None

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

           GiB - GB             File                                 Fragment(s)
 816,013706207 = 876,188045312  boot/grub/grub.cfg                             1
 876,649459839 = 941,295190016  boot/vmlinuz                                   1
 764,571338654 = 820,952223744  boot/vmlinuz-5.15.0-76-generic                 1
 876,649459839 = 941,295190016  boot/vmlinuz-5.15.0-78-generic                 1
 782,893581390 = 840,625582080  boot/vmlinuz-5.4.0-122-generic                 1
 764,571338654 = 820,952223744  boot/vmlinuz.old                               1
 741,630748749 = 796,319952896  boot/initrd.img                                3
 729,466163635 = 783,258329088  boot/initrd.img-5.15.0-76-generic             11
 741,630748749 = 796,319952896  boot/initrd.img-5.15.0-78-generic              3
 652,164875031 = 700,256702464  boot/initrd.img-5.4.0-122-generic              1
 729,466163635 = 783,258329088  boot/initrd.img.old                           11

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

search.fs_uuid 5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e root hd1,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e
Windows Boot Manager (on sda1)   osprober-efi-2230-9F8B
Ubuntu 22.04.2 LTS (22.04) (on sdb3)   0f5bf503-90b5-4f74-be72-628be6c177a0
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb2 during installation
UUID=5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=1000
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
   4,728305817 = 5,076979712    boot/grub/grub.cfg                             1
 281,239803314 = 301,978939392  boot/vmlinuz                                   2
 318,953113556 = 342,473297920  boot/vmlinuz-6.5.0-18-generic                  2
 281,239803314 = 301,978939392  boot/vmlinuz-6.5.0-21-generic                  2
 318,953113556 = 342,473297920  boot/vmlinuz.old                               2
 898,491783142 = 964,748206080  boot/initrd.img                                4
 686,374988556 = 736,989532160  boot/initrd.img-6.5.0-18-generic              12
 898,491783142 = 964,748206080  boot/initrd.img-6.5.0-21-generic               4
 686,374988556 = 736,989532160  boot/initrd.img.old                           12

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

-rwxr-xr-x 1 root root 18683 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec  2  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb3,
using the following options:  sdb2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.2 LTS entry (sdb2/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Hors ligne

#6 Le 03/03/2024, à 16:32

perera

Re : RESOLU boot cassé ?

Juste pour rappel
cet ordi a un DD sur lequel win et kubuntu 11.04 cohabitent, et un ssd externe sur lequel est installé kubuntu 22.04.
Grace à l'aide de geole sur ce forum j'ai pu booter sur ce ssd. Mais récemment je l'ai retiré alors que l'ordi etait encore en marche
et maintenant je ne peux plus booter dessus.

Hors ligne

#7 Le 03/03/2024, à 20:04

geole

Re : RESOLU boot cassé ?

Bonjour
Ton disque SSD externe  a problème est certainement celui-ci

parted -lm (filtered): _________________________________________________________
sdc:1000GB:scsi:512:512:gpt:Samsung PSSD T7:;
1:33.6MB:537MB:503MB:fat32:EFI System Partition:boot, esp;
2:537MB:1000GB:1000GB:ext4::;

64349b3622c65f495a99dbf6102496e3   sdc1/Boot/bootx64.efi
64349b3622c65f495a99dbf6102496e3   sdc1/ubuntu/shimx64.efi

Parfait pour booter EFI
Mais pour la partie Legacy

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e root  hd1,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

Ce n'est pas trop mauvais , il te suffit de supprimer  hd1,gpt2 du fichier  de paramétrage ou de mettre hd0,gpt2

sudo mount /dev/sdc1 /mnt
sudo nano /mnt/efi/ubuntu/grub.cfg

Il y a probablement eu une réinstallation du grub

Dernière modification par geole (Le 03/03/2024, à 20:09)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#8 Le 05/03/2024, à 09:27

perera

Re : RESOLU boot cassé ?

Tu peux expliquer "il te suffit de supprimer  hd1,gpt2 du fichier  de paramétrage ou de mettre hd0,gpt2" s'il te plait?

Sinon, j'aimerai bien comprendre (dans les grandes lignes) ce qui a pu se passer quand j'ai enlevé le ssd alors que l'ordi était
encore booté dessus? ça abime le boot? le MBR ?
Ce que je ne comprend pas, c'est pourquoi quand je rebranche le ssd, l'ordi n'est plus capable de le lire et de booter dessus.

si c'est trop technique, je me contenterai de la réponse à la première ligne et de just récupérer le ssd comme avant.

Hors ligne

#9 Le 05/03/2024, à 11:15

geole

Re : RESOLU boot cassé ?

Bonjour
Depuis le ubuntu interne qui fonctionne, tu branches le disque externe.
Tu regardes quel est le nom de la partition en frappant cette commande

lsblk -fe7

Tu montes la partition  qui sera probablement encore  SDC1 avec cette commande. Si pas SDC1, tu rectifies

sudo mount -v /dev/sdc1 /mnt

Tu accèdes au fichier avec cette commande

sudo nano /mnt/efi/ubuntu/grub.cfg

puis avec  les touches de positionnement tu effaces les caractères  hd1,gpt2
puis tu sauvegardes en frappant les caractères Ctrl o
Tu valides l'écriture en frappant Ctrl x
Tu démontes la partition en frappant

sudo umount -v /mnt

J'ai vu cette erreur. Il y en a peut-être d'autres.   Tu peux donc vérifier que la partition 2 est restée en bon état.    Ce n'est pas souvent le cas lors d'un mauvais démontage.

sudo fsck -f /dev/sdc2

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#10 Le 05/03/2024, à 17:57

perera

Re : RESOLU boot cassé ?

Bonjour geole,

j'ai suivi tes conseils (voir détails ci-dessous). Maintenant au lieu de demarrer sur le ssd en première place, il démarre sur
le dd
Il y a comma avant la possibilité de demarrer sur /dev/sdc2 (donc le dd si j'ai bien compris). Mais là il dit qu'il faut charger
le noyau. Si je fais return, il me remet le menu de boot.

Voici le détail

lsblk -fe7
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                         
├─sda1
│    vfat   FAT32 SYSTEM
│                       2230-9F8B                                           
├─sda2
│                                                                           
├─sda3
│    ntfs         OS    64A0347BA03455B0                       21,9G    81% /media/auperera/OS1
└─sda4
     ntfs               D44670AC467090CA                                    
sdb                                                                         
├─sdb1
│    ntfs         DATA  2C9C601A9C5FDD40                      554,4G    13% /media/auperera/DATA1
├─sdb2
│    vfat   FAT32       0BA1-7D17                                           
├─sdb3
│    ext4   1.0         0f5bf503-90b5-4f74-be72-628be6c177a0  155,6G    38% /var/snap/firefox/common/host-hunspell
│                                                                           /
└─sdb4
     swap   1           6dd3e616-3b06-4a46-b97c-3b8cf376e52a                [SWAP]
sdc                                                                         
├─sdc1
│    vfat   FAT32       6D99-8DF9                                           
└─sdc2
     ext4   1.0         5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e  762,5G    12% /media/auperera/5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e
sudo mount -v /dev/sdc1 /mnt
[sudo] Mot de passe de auperera : 
mount : /dev/sdc1 monté sur /mnt.

là j'ai édité /mnt/efi/ubuntu/grub.cfg et effacé les 2 derniers mots comme tu as dis (et sorti en sauvant)
et j'ai démonté la partition

puis

sudo fsck -f /dev/sdc2
fsck de util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
Attention ! /dev/sdc2 est monté.
/dev/sdc2 : récupération du journal
Passe 1 : vérification des i-noeuds, des blocs et des tailles
des i-noeuds qui faisaient partie d'une liste chaînée d'orphelins corrompue ont été repérés.  Corriger<o>? oui
l'i-noeud 17566164 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
L'arbre d'extent de l'i-noeud 17957026 (au niveau 2) pourrait être plus étroit.  Optimiser<o>? oui
l'i-noeud 18613218 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 18615353 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 18615616 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 18616014 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 21379994 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 57933843 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 57933846 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
l'i-noeud 57933847 fait partie de la liste des i-noeuds orphelins.  CORRIGÉ.
Passe 1E : Optimisation des arbres d'extent
Passe 2 : vérification de la structure des répertoires
Passe 3 : vérification de la connectivité des répertoires
Passe 4 : vérification des compteurs de référence
Passe 5 : vérification de l'information du sommaire de groupe
différences de bitmap de blocs :  -(59392--60687) -(893167--893169) -(1220477--1220492) -(1228742--1228756) -(1236853--1236862) -(1540096--1546239) -(1556480--1562623) -(73339383--73339548) -(73357312--73359359) -(74356548--74356600) -(74358867--74358915) -(88711697--88711698) -(96020353--96020424) -(96022528--96022783) -(96023808--96024575)
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°1 (3937, décompté=5233).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°8 (12752, décompté=14021).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°27 (7661, décompté=7664).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°35 (5509, décompté=5511).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°37 (16091, décompté=16132).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°47 (7962, décompté=20250).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°50 (9101, décompté=9104).
Corriger ('t' active 'oui' pour tout) <o>? oui
Le décompte des blocs libres est erroné pour le groupe n°93 (22168, décompté=22869).
Corriger ('t' active 'oui' pour tout) <o>? oui
Le décompte des blocs libres est erroné pour le groupe n°101 (15302, décompté=17181).
Corriger ('t' active 'oui' pour tout) <o>? oui
Le décompte des blocs libres est erroné pour le groupe n°119 (15411, décompté=19817).
Corriger ('t' active 'oui' pour tout) <o>? oui
Le décompte des blocs libres est erroné pour le groupe n°120 (13929, décompté=14417).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°124 (7508, décompté=23994).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°125 (18737, décompté=20112).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2238 (5191, décompté=7405).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2269 (11323, décompté=11425).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2533 (8542, décompté=9579).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2595 (13174, décompté=14198).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2608 (9834, décompté=9836).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2609 (4672, décompté=4674).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2707 (18270, décompté=18272).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°2930 (4366, décompté=5462).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°6988 (29888, décompté=30784).
Corriger<o>? oui
Le décompte des blocs libres est erroné pour le groupe n°7086 (10931, décompté=12261).
Corriger<o>? oui
Le décompte des blocs libres est erroné (212105850, décompté=212196674).
Corriger<o>? oui
différences de bitmap d'i-noeuds :  -17565748 -17565822 -17565952 -17566164 -17571305 -17571926 -17593651 -18613218 -18613389 -18614762 -18615353 -18615616 -18616014 -18616571 -18616731 -18616733 -18617388 -18617392 -18617455 -18617548 -18617550 -57933843 -(57933846--57933847)
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2144 (1, décompté=6).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2145 (346, décompté=347).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2147 (68, décompté=69).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2272 (296, décompté=310).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2608 (0, décompté=2).
Corriger<o>? oui
Le décompte des répertoires est erroné pour le groupe n°2608 (296, décompté=294).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2609 (0, décompté=1).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°2610 (14, décompté=19).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°5472 (26, décompté=29).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°5489 (218, décompté=219).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné pour le groupe n°7072 (8157, décompté=8160).
Corriger<o>? oui
Le décompte des i-noeuds libres est erroné (60104325, décompté=60104361).
Corriger<o>? oui

/dev/sdc2: ***** LE SYSTÈME DE FICHIERS A ÉTÉ MODIFIÉ *****
/dev/sdc2 : 909655/61014016 fichiers (0.7% non contigus), 31855666/244052340 blocs

là j'ai redémarré, et j'ai la premiere entrée du boot qui est sur le dd, et j'ai l'impression que le ssd n'y figure pas.

Que faire à partir de là ?

Hors ligne

#11 Le 05/03/2024, à 18:59

geole

Re : RESOLU boot cassé ?

Peux-tu refaire un boot-info s'il te plait.
Cependant, je tiens à te redire que le disque dur n'a pas à connaitre le disque externe.
Lorsqu'on veut booter depuis un disque externe, on vérifie que le bios est bien positionné pour booter prioritairement sur un support externe.  Le boot-info ne sait pas le vérifier.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#12 Le 06/03/2024, à 13:00

perera

Re : RESOLU boot cassé ?

Bonjour,

voici le nouveau boot-info

boot-info-4ppa2075                                              [20240306_1157]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdx.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.2 LTS on sdb3
OS#2:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GP107M [GeForce GTX 1050 Mobile] HD Graphics 630 from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-78-generic root=UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 ro quiet splash nouveau.modeset=0
df -Th / : /dev/sdb3        ext4   273G    103G  156G  40% /

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

BIOS/UEFI firmware: X580VD.205(5.12) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled.
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0000,0003,0001,0004,0005
Boot0000* Windows Boot Manager	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002* ubuntu	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0003* ubuntu	HD(1,GPT,29e981fa-cad6-4996-8d57-66f73870c2bd,0xffff,0xefff1)/File(\EFI\Ubuntu\shimx64.efi)..BO
Boot0004* UEFI:Removable Device	BBS(130,,0x0)
Boot0005* UEFI:Network Device	BBS(131,,0x0)


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sdb3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: C7B2E4EE-7BAE-476A-BB7A-D6D4B1BD99B7
         Start       End   Sectors   Size Type
sda1       2048    534527    532480   260M EFI System
sda2     534528    567295     32768    16M Microsoft reserved
sda3     567296 248294816 247727521 118.1G Microsoft basic data
sda4  248295424 250068991   1773568   866M Windows recovery environment
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0B8FD8A2-DF1A-4F22-AB31-673A84E1CF4F
          Start        End    Sectors   Size Type
sdb1        2048 1339123711 1339121664 638.5G Microsoft basic data
sdb2  1339123712 1340174335    1050624   513M EFI System
sdb3  1340174336 1920212991  580038656 276.6G Linux filesystem
sdb4  1920212992 1953523711   33310720  15.9G Linux swap

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:4096:gpt:ATA HFS128G39TND-N21:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:127GB:127GB:ntfs:Basic data partition:msftdata;
4:127GB:128GB:908MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:686GB:686GB:ntfs::msftdata;
2:686GB:686GB:538MB:fat32:EFI System Partition:boot, esp;
3:686GB:983GB:297GB:ext4::;
4:983GB:1000GB:17.1GB:linux-swap(v1)::swap;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL  PARTLABEL
sda                                                                                              
├─sda1 vfat     2230-9F8B                            667e4db4-1fe8-4e43-82e6-7a1371458636 SYSTEM EFI system partition
├─sda2                                               d39276c6-efbe-499f-b7cd-c328da014a89        Microsoft reserved partition
├─sda3 ntfs     64A0347BA03455B0                     fb7e7646-aa52-41d2-9d33-7afec9d3bce5 OS     Basic data partition
└─sda4 ntfs     D44670AC467090CA                     754eba59-a80f-473d-a872-cb58a69e6b6c        
sdb                                                                                              
├─sdb1 ntfs     2C9C601A9C5FDD40                     76bf42c6-d009-48fe-8435-48ada77aeae2 DATA   Basic data partition
├─sdb2 vfat     0BA1-7D17                            2644bf45-0a54-4716-ae89-e09e543b0113        EFI System Partition
├─sdb3 ext4     0f5bf503-90b5-4f74-be72-628be6c177a0 f00fc046-eb97-4a90-a351-12a8b16ce7e4        
└─sdb4 swap     6dd3e616-3b06-4a46-b97c-3b8cf376e52a f12e9057-1833-40f9-a235-cc6aea29f994        

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda3                       21.9G  81% /media/auperera/OS1
/dev/sda4                      419.6M  52% /mnt/boot-sav/sda4
/dev/sdb1                      554.4G  13% /media/auperera/DATA1
/dev/sdb2                        512M   0% /mnt/boot-sav/sdb2
/dev/sdb3                      155.4G  38% /

Mount options (filtered): ______________________________________________________

/dev/sda3                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sda4                      fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb2                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb3                      ext4            rw,relatime,errors=remount-ro

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

search.fs_uuid 0f5bf503-90b5-4f74-be72-628be6c177a0 root hd1,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   0f5bf503-90b5-4f74-be72-628be6c177a0
Windows Boot Manager (on sda1)   osprober-efi-2230-9F8B
Ubuntu 22.04.4 LTS (22.04) (on sdc2)   5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb4 during installation
UUID=6dd3e616-3b06-4a46-b97c-3b8cf376e52a none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=100000
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
GRUB_CMDLINE_LINUX=""
GRUB_GFXPAYLOAD_LINUX=None

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

           GiB - GB             File                                 Fragment(s)
 817,670848846 = 877,967388672  boot/grub/grub.cfg                             1
 876,649459839 = 941,295190016  boot/vmlinuz                                   1
 764,571338654 = 820,952223744  boot/vmlinuz-5.15.0-76-generic                 1
 876,649459839 = 941,295190016  boot/vmlinuz-5.15.0-78-generic                 1
 782,893581390 = 840,625582080  boot/vmlinuz-5.4.0-122-generic                 1
 764,571338654 = 820,952223744  boot/vmlinuz.old                               1
 741,630748749 = 796,319952896  boot/initrd.img                                3
 729,466163635 = 783,258329088  boot/initrd.img-5.15.0-76-generic             11
 741,630748749 = 796,319952896  boot/initrd.img-5.15.0-78-generic              3
 652,164875031 = 700,256702464  boot/initrd.img-5.4.0-122-generic              1
 729,466163635 = 783,258329088  boot/initrd.img.old                           11

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb3,
using the following options:  sdb2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.2 LTS entry (sdb2/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Hors ligne

#13 Le 06/03/2024, à 13:06

perera

Re : RESOLU boot cassé ?

on a l'impression que le système ne voit plus le ssd qui est pourtant branché

d'ailleurs je ne peux pas l'acceder non plus à partir de mon boot actuel

Hors ligne

#14 Le 06/03/2024, à 13:18

geole

Re : RESOLU boot cassé ?

Bonjour
On voit seulement

fdisk -l (filtered): 
sda:128GB:scsi:512:4096:gpt:ATA HFS128G39TND-N21:;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;

SDB semble être un disque dur
Il faudrait regarder si le bios voit le SSD en question.

Dernière modification par geole (Le 06/03/2024, à 13:18)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#15 Le 06/03/2024, à 15:50

perera

Re : RESOLU boot cassé ?

Bonjour,

après avoir débranche et rebranché le ssd, j'ai pu le voir dans Dolphin.
J'ai fait un reboot, choisi l'option 1, qui boote encore sur le dd (et non pas sur le ssd comme avant)

j'ai refait un boot-info, et cette fois-ci on voit le ssd en /dev/sdc2

================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.2 LTS on sdb3
OS#2:   Ubuntu 22.04.4 LTS on sdc2
OS#3:   Windows 10 or 11 on sda3

voici le boot info

boot-info-4ppa2075                                              [20240306_1442]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

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


================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.2 LTS on sdb3
OS#2:   Ubuntu 22.04.4 LTS on sdc2
OS#3:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GP107M [GeForce GTX 1050 Mobile] HD Graphics 630 from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-97-generic root=UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 ro quiet splash nouveau.modeset=0
df -Th / : /dev/sdb3        ext4   273G    102G  157G  40% /

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

BIOS/UEFI firmware: X580VD.205(5.12) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled.
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0000,0003,0001,0004,0005
Boot0000* Windows Boot Manager	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002* ubuntu	HD(1,GPT,667e4db4-1fe8-4e43-82e6-7a1371458636,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0003* ubuntu	HD(1,GPT,29e981fa-cad6-4996-8d57-66f73870c2bd,0xffff,0xefff1)/File(\EFI\Ubuntu\shimx64.efi)..BO
Boot0004* UEFI:Removable Device	BBS(130,,0x0)
Boot0005* UEFI:Network Device	BBS(131,,0x0)

64349b3622c65f495a99dbf6102496e3   sdc1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   sdc1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   sdc1/Boot/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdc1/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

sdb	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: is-GPT,	no-BIOSboot,	has---ESP, 	usb-disk,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb3	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdc2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ng,	update-grub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: is-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

Partitions info (2/3): _________________________________________________________

sdb3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: C7B2E4EE-7BAE-476A-BB7A-D6D4B1BD99B7
         Start       End   Sectors   Size Type
sda1       2048    534527    532480   260M EFI System
sda2     534528    567295     32768    16M Microsoft reserved
sda3     567296 248294816 247727521 118.1G Microsoft basic data
sda4  248295424 250068991   1773568   866M Windows recovery environment
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0B8FD8A2-DF1A-4F22-AB31-673A84E1CF4F
          Start        End    Sectors   Size Type
sdb1        2048 1339123711 1339121664 638.5G Microsoft basic data
sdb2  1339123712 1340174335    1050624   513M EFI System
sdb3  1340174336 1920212991  580038656 276.6G Linux filesystem
sdb4  1920212992 1953523711   33310720  15.9G Linux swap
Disk sdc: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 36235BE5-5ABB-424A-BAAE-08EE591523DB
       Start        End    Sectors  Size Type
sdc1    65535    1048559     983025  480M EFI System
sdc2  1048560 1953467279 1952418720  931G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:4096:gpt:ATA HFS128G39TND-N21:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:127GB:127GB:ntfs:Basic data partition:msftdata;
4:127GB:128GB:908MB:ntfs::hidden, diag;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:686GB:686GB:ntfs::msftdata;
2:686GB:686GB:538MB:fat32:EFI System Partition:boot, esp;
3:686GB:983GB:297GB:ext4::;
4:983GB:1000GB:17.1GB:linux-swap(v1)::swap;
sdc:1000GB:scsi:512:512:gpt:Samsung PSSD T7:;
1:33.6MB:537MB:503MB:fat32:EFI System Partition:boot, esp;
2:537MB:1000GB:1000GB:ext4::;

Free space >10MiB: ______________________________________________________________

sdc: 0.02MiB:32.0MiB:32.0MiB
sdc: 953841MiB:953870MiB:28.2MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL  PARTLABEL
sda                                                                                              
├─sda1 vfat     2230-9F8B                            667e4db4-1fe8-4e43-82e6-7a1371458636 SYSTEM EFI system partition
├─sda2                                               d39276c6-efbe-499f-b7cd-c328da014a89        Microsoft reserved partition
├─sda3 ntfs     64A0347BA03455B0                     fb7e7646-aa52-41d2-9d33-7afec9d3bce5 OS     Basic data partition
└─sda4 ntfs     D44670AC467090CA                     754eba59-a80f-473d-a872-cb58a69e6b6c        
sdb                                                                                              
├─sdb1 ntfs     2C9C601A9C5FDD40                     76bf42c6-d009-48fe-8435-48ada77aeae2 DATA   Basic data partition
├─sdb2 vfat     0BA1-7D17                            2644bf45-0a54-4716-ae89-e09e543b0113        EFI System Partition
├─sdb3 ext4     0f5bf503-90b5-4f74-be72-628be6c177a0 f00fc046-eb97-4a90-a351-12a8b16ce7e4        
└─sdb4 swap     6dd3e616-3b06-4a46-b97c-3b8cf376e52a f12e9057-1833-40f9-a235-cc6aea29f994        
sdc                                                                                              
├─sdc1 vfat     6D99-8DF9                            29e981fa-cad6-4996-8d57-66f73870c2bd        EFI System Partition
└─sdc2 ext4     5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e c3636bda-6f15-4c18-962f-dd1d9580e268        

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda3                       21.9G  81% /media/auperera/OS1
/dev/sda4                      419.6M  52% /mnt/boot-sav/sda4
/dev/sdb1                      554.4G  13% /media/auperera/DATA1
/dev/sdb2                        512M   0% /mnt/boot-sav/sdb2
/dev/sdb3                      156.3G  37% /
/dev/sdc1                      472.9M   1% /mnt/boot-sav/sdc1
/dev/sdc2                      762.9G  12% /media/auperera/5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e

Mount options (filtered): ______________________________________________________

/dev/sda3                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sda4                      fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                      fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb2                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb3                      ext4            rw,relatime,errors=remount-ro
/dev/sdc1                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdc2                      ext4            rw,nosuid,nodev,relatime,errors=remount-ro,stripe=8191

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

search.fs_uuid 0f5bf503-90b5-4f74-be72-628be6c177a0 root hd1,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   0f5bf503-90b5-4f74-be72-628be6c177a0
Windows Boot Manager (on sda1)   osprober-efi-2230-9F8B
Ubuntu 22.04.4 LTS (22.04) (on sdc2)   5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=0f5bf503-90b5-4f74-be72-628be6c177a0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb4 during installation
UUID=6dd3e616-3b06-4a46-b97c-3b8cf376e52a none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=100000
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
GRUB_CMDLINE_LINUX=""
GRUB_GFXPAYLOAD_LINUX=None

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

           GiB - GB             File                                 Fragment(s)
 733,693691254 = 787,797602304  boot/grub/grub.cfg                             1
 742,329181671 = 797,069889536  boot/vmlinuz                                   1
 876,649459839 = 941,295190016  boot/vmlinuz-5.15.0-78-generic                 1
 742,329181671 = 797,069889536  boot/vmlinuz-5.15.0-97-generic                 1
 782,893581390 = 840,625582080  boot/vmlinuz-5.4.0-122-generic                 1
 876,649459839 = 941,295190016  boot/vmlinuz.old                               1
 879,990146637 = 944,882225152  boot/initrd.img                                3
 838,771480560 = 900,624019456  boot/initrd.img-5.15.0-78-generic             16
 879,990146637 = 944,882225152  boot/initrd.img-5.15.0-97-generic              3
 652,164875031 = 700,256702464  boot/initrd.img-5.4.0-122-generic              1
 838,771480560 = 900,624019456  boot/initrd.img.old                           16

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

search.fs_uuid 5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e
Windows Boot Manager (on sda1)   osprober-efi-2230-9F8B
Ubuntu 22.04.2 LTS (22.04) (on sdb3)   0f5bf503-90b5-4f74-be72-628be6c177a0
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb2 during installation
UUID=5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=1000
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
   4,728305817 = 5,076979712    boot/grub/grub.cfg                             1
 281,239803314 = 301,978939392  boot/vmlinuz                                   2
 318,953113556 = 342,473297920  boot/vmlinuz-6.5.0-18-generic                  2
 281,239803314 = 301,978939392  boot/vmlinuz-6.5.0-21-generic                  2
 318,953113556 = 342,473297920  boot/vmlinuz.old                               2
 898,491783142 = 964,748206080  boot/initrd.img                                4
 686,374988556 = 736,989532160  boot/initrd.img-6.5.0-18-generic              12
 898,491783142 = 964,748206080  boot/initrd.img-6.5.0-21-generic               4
 686,374988556 = 736,989532160  boot/initrd.img.old                           12

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

-rwxr-xr-x 1 root root 18683 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec  2  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb3,
using the following options:  sdb2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.2 LTS entry (sdb2/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Hors ligne

#16 Le 06/03/2024, à 15:52

perera

Re : RESOLU boot cassé ?

A partir de là comment je fais pour que ssd redevienne le choix de boot numéro 1 ?

Hors ligne

#17 Le 06/03/2024, à 18:34

geole

Re : RESOLU boot cassé ?

Bonjour

=> No boot loader is installed in the MBR of /dev/sdc.

sdc1: __________________________________________________________________________
    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg 

64349b3622c65f495a99dbf6102496e3   sdc1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   sdc1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   sdc1/Boot/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc   sdc1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdc1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdc1/ubuntu/shimx64.efi

On voit que la structure de boot EFI    est correcte mais que la structure de  boote Legacy est absente.
Je vais être plus précis, As-tu bien vérifié que ton bios est bien positionné pour  booter en premier sur le disque externe en mode EFI et pas legacy. Certains ordinateurs ne savent pas booter EFI externe. Seulement LEGACY

J ai noté que la structure O.S. de ce disque externe est correcte.

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e root 

====================== sdc2/boot/grub/grub.cfg (filtered) ======================
Ubuntu   5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e

========================== sdc2/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
UUID=5d5fa8d2-a7c6-41ce-be90-2181b3c9d69e /               ext4    errors=remount-ro 0       1


Mais  son fichier /etc/fstab  décrit une partition efi inexistante

========================== sdc2/etc/fstab (filtered) ===========================
# /boot/efi was on /dev/sda1 during installation
UUID=2230-9F8B  /boot/efi       vfat    umask=0077      0       1

Donc avec NANO, tu modifieras ce fichier pour remplacer 2230-9F8B par 6D99-8DF9 qui référence la partition EFi de ce disque.

Dernière modification par geole (Le 06/03/2024, à 19:20)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#18 Le 06/03/2024, à 19:01

perera

Re : RESOLU boot cassé ?

Merci geole!!

c'était effectivement l'ordre de boot dans le bios. Tour re-fonctionne de nouveau !

je passe en RESOLU

Hors ligne

#19 Le 06/03/2024, à 19:06

perera

Re : RESOLU boot cassé ?

Une dernière question

si je fais une MAJ vers Ubuntu 24 (dans le futir en Avril ou Mai ....), est ce que le système va bien ugrader le ssd et pas le dd ?

Hors ligne

#20 Le 06/03/2024, à 19:16

xubu1957

Re : RESOLU boot cassé ?

Bonjour,

En principe, la proposition de montée en version de la 24.04, sera proposée vers fin juillet, avec la version 24.04.1 LTS (prenant en compte les corrections apportées sur un trimestre).


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#21 Le 06/03/2024, à 19:18

geole

Re : RESOLU boot cassé ?

L'upgrade est une mise à jour volumineuse. Elle se fait pour l'O.S. qui la demande. A toi de bien vérifier sur lequel tu as booté.
Mais cela sera plutôt fin juillet début aout.

Dernière modification par geole (Le 06/03/2024, à 19:19)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne