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 09/11/2021, à 02:04

ashm

message d'érreur : " no such device " lors de l'installation d'ubuntu

bonjour,
je suis un débutant et j'ai essayé d’installer Ubuntu ce matin sur mon disque dur externe. avant d'installer je l'ai d'abord formaté et mis en GPT, ensuite je l'ai divisé en 3 partition sous Windows avant d'installer Ubuntu sur une partition non alloué de 30gb. j"ai terminé l'installation mais il y a le message d’erreur qui apparaît et je ne peux ni démarrer Linux ni démarrer Windows qui est installé sur mon disque externe.

Hors ligne

#2 Le 09/11/2021, à 02:06

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Hors ligne

#3 Le 09/11/2021, à 02:15

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

boot-repair-4ppa130                                              [20211109_0010]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 107244a1-4748-48d2-8a6d-eb1f16f7dcd5 root hd2,gpt4 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 16408 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

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

sdc4: __________________________________________________________________________

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

sdc5: __________________________________________________________________________

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

sdc6: __________________________________________________________________________

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


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 20.04.3 LTS on sdc4
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc4	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdc6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc4	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdc2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc4	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc
sdc6	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xb317d061
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 482088413 481983966 229.8G  7 HPFS/NTFS/exFAT
sda3       484186112 975706111 491520000 234.4G  f W95 Ext'd (LBA)
sda4       975706112 976769023   1062912   519M 27 Hidden NTFS WinRE
sda5       484188160 975704063 491515904 234.4G  7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk sdb: 3.63 GiB, 3878043648 bytes, 7574304 sectors
Disk identifier: 0x02872530
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 7574303 7572256  3.6G  c W95 FAT32 (LBA)
Disk sdc: 465.78 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 71932217-1234-4F13-857D-C63FB1D4D54E
          Start       End   Sectors  Size Type
sdc1         34     32767     32734   16M Microsoft reserved
sdc2      32768 423657471 423624704  202G Microsoft basic data
sdc3  423657472 912293887 488636416  233G Microsoft basic data
sdc4  912293888 953309183  41015296 19.6G Linux filesystem
sdc5  953309184 961308671   7999488  3.8G Linux swap
sdc6  961308672 976771071  15462400  7.4G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABF0:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:247GB:247GB:ntfs::;
3:248GB:500GB:252GB:::lba;
5:248GB:500GB:252GB:ntfs::;
4:500GB:500GB:544MB:ntfs::msftres;
sdb:3878MB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:3878MB:3877MB:fat32::boot, lba;
sdc:500GB:scsi:512:512:gpt:Seagate Portable 3.0:;
1:17.4kB:16.8MB:16.8MB::Microsoft reserved partition:msftres;
2:16.8MB:217GB:217GB:ntfs:Basic data partition:msftdata;
3:217GB:467GB:250GB:ntfs:Basic data partition:msftdata;
4:467GB:488GB:21.0GB:ext4::;
5:488GB:492GB:4096MB:linux-swap(v1)::swap;
6:492GB:500GB:7917MB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     D8D814E0D814BEA6                     b317d061-01                          Réservé au système 
├─sda2 ntfs     5C5017765017565C                     b317d061-02                                             
├─sda3                                               b317d061-03                                             
├─sda4 ntfs     D64C73474C732203                     b317d061-04                                             
└─sda5 ntfs     C8749CC5749CB820                     b317d061-05                          ♠_HM_♠♥            
sdb                                                                                                          
└─sdb1 vfat     AA38-C1C1                            02872530-01                          UBUNTU 20_0        
sdc                                                                                                          
├─sdc1                                               e1674e36-7863-485f-8828-51cdf19e802d                    Microsoft reserved partition
├─sdc2 ntfs     CA58589158587DDF                     e7c7e6b0-0286-4328-8628-14e2f2876d4f Disque externe 1   Basic data partition
├─sdc3 ntfs     B2D287C8D2878F73                     9cdafafc-db3a-461b-97e1-1af799b4e784 Disque externe 2   Basic data partition
├─sdc4 ext4     107244a1-4748-48d2-8a6d-eb1f16f7dcd5 fb9bc0ab-0e68-4ce1-87b8-9ab88a17d753                    
├─sdc5 swap     9d0c3e74-2e74-48a3-9d4c-73420d1357f5 2550da19-096d-4ee9-b552-aa1670f0f7af                    
└─sdc6 ext4     bbc28e5b-966b-48b4-8807-e4b0003e50c6 58f3831a-4ad3-42e0-99de-05d7b3930ec3                    

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               23.7M  53% /mnt/boot-sav/sda1
sda2               54.8G  76% /mnt/boot-sav/sda2
sda4               86.4M  83% /mnt/boot-sav/sda4
sda5               74.1G  68% /mnt/boot-sav/sda5
sdb1              760.7M  79% /cdrom
sdc2              200.8G   1% /mnt/boot-sav/sdc2
sdc3              131.9G  43% /mnt/boot-sav/sdc3
sdc4               12.9G  28% /media/ubuntu/107244a1-4748-48d2-8a6d-eb1f16f7dcd5
sdc6                6.8G   0% /media/ubuntu/bbc28e5b-966b-48b4-8807-e4b0003e50c6

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdc2              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc3              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc4              rw,nosuid,nodev,relatime
sdc6              rw,nosuid,nodev,relatime

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

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

Ubuntu   107244a1-4748-48d2-8a6d-eb1f16f7dcd5
Ubuntu, avec Linux 5.11.0-27-generic   107244a1-4748-48d2-8a6d-eb1f16f7dcd5
Windows 10 (sur sda1)   D8D814E0D814BEA6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc4/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc4 during installation
UUID=107244a1-4748-48d2-8a6d-eb1f16f7dcd5 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdc6 during installation
UUID=bbc28e5b-966b-48b4-8807-e4b0003e50c6 /home           ext4    defaults        0       2
# swap was on /dev/sdc5 during installation
UUID=9d0c3e74-2e74-48a3-9d4c-73420d1357f5 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 437,983097076 = 470,280769536  boot/grub/grub.cfg                             3
 437,983081818 = 470,280753152  boot/grub/i386-pc/core.img                     1
 438,070308685 = 470,374412288  boot/vmlinuz                                   2
 438,070308685 = 470,374412288  boot/vmlinuz-5.11.0-27-generic                 2
 438,585933685 = 470,928060416  boot/initrd.img                                3
 438,585933685 = 470,928060416  boot/initrd.img-5.11.0-27-generic              3
 438,585933685 = 470,928060416  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18151 août  12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 09:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 09:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 09:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 09:18 41_custom


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[216424]) leaked on lvs invocation. Parent PID 80661: /bin/bash

================================= User choice ==================================

Is sdc (Seagate Portable 3.0) a removable disk? yes

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdc4 into the MBR of sdc.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Blockers in case of suggested repair: __________________________________________

 GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on the removable disk!

Hors ligne

#4 Le 09/11/2021, à 09:47

malbo

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonjour,
Tu n'as pas respecté les indications du paragraphe 2.2.1 Installation du chargeur de démarrage sur le disque USB de la doc "Installation d'Ubuntu sur un support connecté en USB". Tu as laissé le chargeur d'amorçage s'installer dans le MBR de sda alors qu'il fallait l'installer dans le MBR de sdc (le disque dur externe). Je pense qu'il faut que tu répares le démarrage de ton Windows en priorité. Plus précisément, c'est le MBR de Windows qu'il faut reconstruire.
Pour cela, je te suggère d'utiliser ce tuto : https://answers.microsoft.com/fr-fr/win … 3059031555
Dans ce tuto, c'est la "Deuxième méthode : Démarrer avec un support d'installation ou clé de récupération de Windows 10..." qui convient. Puis il faut suivre "II- REPARER LE BOOT LEGACY (BIOS/MBR)". A mon avis, tu peux t'arrêter après la commande "bootrec /fixmbr" et quitter (même brutalement avec un appui long sur le bouton marche arrêt de l'ordi si tu n'as pas la possibilité de sortir de façon plus normale). La suite de la procédure, c'est pour une réparation approfondie du démarrage (reconstruction de la BCD) mais je ne pense pas que ce soit nécessaire dans ton cas.

EDIT : après passage de la commande "bootrec /fixmbr", tu devrais voir "L'opération a réussi" comme sur cette vue : https://zupimages.net/viewer.php?id=21/45/1535.png
Cela signifiera que le chargeur d'amorçage de Windows aura été écrit dans le MBR de sda (à la place du chargeur de Grub)

Dernière modification par malbo (Le 09/11/2021, à 11:06)

Hors ligne

#5 Le 09/11/2021, à 14:21

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Merci.
Mais j'ai utilisé boot repair pour réparer le démarrage de mon Windows. Mais avant de le faire j'ai d'abord débranché mon disque USB.
Mon Windows démarre normalement.
Je vais suivre le tutos pour mieux installer Ubuntu sur mon disque USB. Je reviendrai en cas de problème.

Hors ligne

#6 Le 09/11/2021, à 16:26

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

malheureusement j'ai essayer de mettre le chargeur de d'amorçage  sur le disque USB et le message d'erreur est: error " unknow filesystem" -- grub rescue.
j'ai aussi essayer de réinstaller et mettre le chargeur de d'amorçage sur la partition d'installation du logiciel qui est au format ext4, mais c'est la même erreur.
le disque dur est noté sdc et la partition où est le chargeur d'amorçage sdc2.
voici le boot-info:

boot-repair-4ppa130                                              [20211109_1421]

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

 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 16408 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sdc2 
                       and looks at sector 934865976 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       for (,msdos2)/boot/grub. It also embeds following 
                       components:
                       
                       modules
                       -------------------------------------------------------
                       fshelp ext2 part_msdos biosdisk
                       -------------------------------------------------------
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 20.04.3 LTS on sdc2
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdc1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xb317d061
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 482088413 481983966 229.8G  7 HPFS/NTFS/exFAT
sda3       484186112 975706111 491520000 234.4G  f W95 Ext'd (LBA)
sda4       975706112 976769023   1062912   519M 27 Hidden NTFS WinRE
sda5       484188160 975704063 491515904 234.4G  7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk sdb: 3.63 GiB, 3878043648 bytes, 7574304 sectors
Disk identifier: 0x02872530
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 7574303 7572256  3.6G  c W95 FAT32 (LBA)
Disk sdc: 465.78 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0x14be95aa
      Boot     Start       End   Sectors  Size Id Type
sdc1            2048 903874559 903872512  431G  7 HPFS/NTFS/exFAT
sdc2  *    903874560 976771071  72896512 34.8G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABF0:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:247GB:247GB:ntfs::;
3:248GB:500GB:252GB:::lba;
5:248GB:500GB:252GB:ntfs::;
4:500GB:500GB:544MB:ntfs::msftres;
sdb:3878MB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:3878MB:3877MB:fat32::boot, lba;
sdc:500GB:scsi:512:512:msdos:Seagate Portable 3.0:;
1:1049kB:463GB:463GB:ntfs::;
2:463GB:500GB:37.3GB:ext4::boot;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     D8D814E0D814BEA6                     b317d061-01                          Réservé au système 
├─sda2 ntfs     5C5017765017565C                     b317d061-02                                             
├─sda3                                               b317d061-03                                             
├─sda4 ntfs     D64C73474C732203                     b317d061-04                                             
└─sda5 ntfs     C8749CC5749CB820                     b317d061-05                          ♠_HM_♠♥            
sdb                                                                                                          
└─sdb1 vfat     AA38-C1C1                            02872530-01                          UBUNTU 20_0        
sdc                                                                                                          
├─sdc1 ntfs     A8D645A3D645731C                     14be95aa-01                          Dissque externe 1  
└─sdc2 ext4     602118d5-69f2-498b-bf01-1f3d10f34bc4 14be95aa-02                                             

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               23.7M  53% /mnt/boot-sav/sda1
sda2               23.6G  90% /mnt/boot-sav/sda2
sda4               86.4M  83% /mnt/boot-sav/sda4
sda5                2.8G  99% /mnt/boot-sav/sda5
sdb1              760.7M  79% /cdrom
sdc1              430.9G   0% /mnt/boot-sav/sdc1
sdc2               25.3G  20% /media/ubuntu/602118d5-69f2-498b-bf01-1f3d10f34bc4

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdc1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc2              rw,nosuid,nodev,relatime

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

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

Ubuntu   602118d5-69f2-498b-bf01-1f3d10f34bc4
Ubuntu, with Linux 5.11.0-27-generic   602118d5-69f2-498b-bf01-1f3d10f34bc4
Windows 10 (on sda1)   D8D814E0D814BEA6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=602118d5-69f2-498b-bf01-1f3d10f34bc4 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 459,136070251 = 492,993601536  boot/grub/grub.cfg                             1
 459,366668701 = 493,241204736  boot/grub/i386-pc/core.img                     1
 435,579097748 = 467,699494912  boot/vmlinuz                                   2
 435,579097748 = 467,699494912  boot/vmlinuz-5.11.0-27-generic                 2
 443,821285248 = 476,549476352  boot/initrd.img                                3
 443,821285248 = 476,549476352  boot/initrd.img-5.11.0-27-generic              3
 443,821285248 = 476,549476352  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18151 août  12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 09:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 09:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 09:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 09:18 41_custom


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[132647]) leaked on lvs invocation. Parent PID 61325: /bin/bash

================================= User choice ==================================

Is sdc (Seagate Portable 3.0) a removable disk? yes

Unmount sdc1 from /media/ubuntu/Dissque externe 1/ to avoid special characters (& or \ or space) incompatibilities

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdc2 into the MBR of sdc.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on the removable disk!

Hors ligne

#7 Le 09/11/2021, à 16:38

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

j'ai encore fait un boot-info et voici le résultat:

boot-repair-4ppa130                                              [20211109_1432]

============================= Boot Repair Summary ==============================

User choice:

Is sdc (Seagate Portable 3.0) a removable disk? yes


The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sdc2 into the MBR of sdc.
It will also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix


Quantity of real Windows: 1
WinSE in sda2
mkdir: impossible de créer le répertoire «/mnt/boot-sav/sda2/Boot»: Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/BCD': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/BCD.LOG': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/BCD.LOG1': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/BCD.LOG2': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/bg-BG': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/BOOTSTAT.DAT': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/bootuwf.dll': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/bootvhd.dll': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/cs-CZ': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/da-DK': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/de-DE': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/el-GR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/en-GB': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/en-US': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/es-ES': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/es-MX': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/et-EE': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/fi-FI': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/Fonts': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/fr-CA': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/fr-FR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/hr-HR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/hu-HU': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/it-IT': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/ja-JP': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/ko-KR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/lt-LT': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/lv-LV': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/memtest.exe': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/nb-NO': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/nl-NL': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/pl-PL': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/pt-BR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/pt-PT': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/qps-ploc': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/qps-plocm': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/Resources': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/ro-RO': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/ru-RU': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/sk-SK': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/sl-SI': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/sr-Latn-RS': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/sv-SE': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/tr-TR': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/uk-UA': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/zh-CN': Système de fichiers accessible en lecture seulement
cp: impossible de créer le répertoire '/mnt/boot-sav/sda2/zh-TW': Système de fichiers accessible en lecture seulement
cp: impossible de créer le fichier standard '/mnt/boot-sav/sda2/bootmgr': Système de fichiers accessible en lecture seulement
Copied Win boot files from sda1 to sda2
/mnt/boot-sav/sda2/ may need repair.
/mnt/boot-sav/sda2/bootmgr may need repair.

============================== Restore MBR of sda ==============================

dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda

========================= Reinstall the grub2 of sdc2 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.13

==> Reinstall the GRUB of sdc2 into the MBR of sdc

grub-install /dev/sdc
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /media/ubuntu/602118d5-69f2-498b-bf01-1f3d10f34bc4 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.0-27-generic
Found initrd image: /boot/initrd.img-5.11.0-27-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

Unhide GRUB boot menu in sdc2/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque amovible !

============================ Boot Info After Repair ============================

 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 16408 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sdc2 
                       and looks at sector 934865976 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       for (,msdos2)/boot/grub. It also embeds following 
                       components:
                       
                       modules
                       -------------------------------------------------------
                       fshelp ext2 part_msdos biosdisk
                       -------------------------------------------------------
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 20.04.3 LTS on sdc2
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdc1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xb317d061
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 482088413 481983966 229.8G  7 HPFS/NTFS/exFAT
sda3       484186112 975706111 491520000 234.4G  f W95 Ext'd (LBA)
sda4       975706112 976769023   1062912   519M 27 Hidden NTFS WinRE
sda5       484188160 975704063 491515904 234.4G  7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk sdb: 3.63 GiB, 3878043648 bytes, 7574304 sectors
Disk identifier: 0x02872530
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 7574303 7572256  3.6G  c W95 FAT32 (LBA)
Disk sdc: 465.78 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0x14be95aa
      Boot     Start       End   Sectors  Size Id Type
sdc1            2048 903874559 903872512  431G  7 HPFS/NTFS/exFAT
sdc2  *    903874560 976771071  72896512 34.8G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABF0:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:247GB:247GB:ntfs::;
3:248GB:500GB:252GB:::lba;
5:248GB:500GB:252GB:ntfs::;
4:500GB:500GB:544MB:ntfs::msftres;
sdb:3878MB:scsi:512:512:msdos:TOSHIBA TransMemory:;
1:1049kB:3878MB:3877MB:fat32::boot, lba;
sdc:500GB:scsi:512:512:msdos:Seagate Portable 3.0:;
1:1049kB:463GB:463GB:ntfs::;
2:463GB:500GB:37.3GB:ext4::boot;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     D8D814E0D814BEA6                     b317d061-01                          Réservé au système 
├─sda2 ntfs     5C5017765017565C                     b317d061-02                                             
├─sda3                                               b317d061-03                                             
├─sda4 ntfs     D64C73474C732203                     b317d061-04                                             
└─sda5 ntfs     C8749CC5749CB820                     b317d061-05                          ♠_HM_♠♥            
sdb                                                                                                          
└─sdb1 vfat     AA38-C1C1                            02872530-01                          UBUNTU 20_0        
sdc                                                                                                          
├─sdc1 ntfs     A8D645A3D645731C                     14be95aa-01                          Dissque externe 1  
└─sdc2 ext4     602118d5-69f2-498b-bf01-1f3d10f34bc4 14be95aa-02                                             

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               23.7M  53% /mnt/boot-sav/sda1
sda2               23.6G  90% /mnt/boot-sav/sda2
sda4               86.4M  83% /mnt/boot-sav/sda4
sda5                2.8G  99% /mnt/boot-sav/sda5
sdb1              760.7M  79% /cdrom
sdc1              430.9G   0% /mnt/boot-sav/sdc1
sdc2               25.3G  20% /media/ubuntu/602118d5-69f2-498b-bf01-1f3d10f34bc4

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdc1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc2              rw,nosuid,nodev,relatime

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

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

Ubuntu   602118d5-69f2-498b-bf01-1f3d10f34bc4
Ubuntu, with Linux 5.11.0-27-generic   602118d5-69f2-498b-bf01-1f3d10f34bc4
Windows 10 (on sda1)   D8D814E0D814BEA6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=602118d5-69f2-498b-bf01-1f3d10f34bc4 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 459,136070251 = 492,993601536  boot/grub/grub.cfg                             1
 459,503166199 = 493,387767808  boot/grub/i386-pc/core.img                     1
 435,579097748 = 467,699494912  boot/vmlinuz                                   2
 435,579097748 = 467,699494912  boot/vmlinuz-5.11.0-27-generic                 2
 443,821285248 = 476,549476352  boot/initrd.img                                3
 443,821285248 = 476,549476352  boot/initrd.img-5.11.0-27-generic              3
 443,821285248 = 476,549476352  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18151 août  12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 09:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 09:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 09:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 09:18 41_custom


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[147214]) leaked on lvs invocation. Parent PID 79334: /bin/bash

Hors ligne

#8 Le 09/11/2021, à 17:46

geole

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonjour

==> Reinstall the GRUB of sdc2 into the MBR of sdc
grub-install /dev/sdc
Installing for i386-pc platform.
Installation finished. No error reported.

Cela devrait booter automatiquement car tu as déjà certainement mis prioritaire les boot sur support USB

Dernière modification par geole (Le 09/11/2021, à 17:48)


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

Hors ligne

#9 Le 09/11/2021, à 18:09

malbo

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

C'est quoi le nom complet du modèle de ton ordi et son fabricant ?

ashm a écrit :

mettre le chargeur de d'amorçage sur la partition d'installation du logiciel qui est au format ext4

Oui, on voit que tu as fait ça dans le Boot-info mais ça ne pouvait pas résoudre le problème.

Dernière modification par malbo (Le 09/11/2021, à 18:13)

Hors ligne

#10 Le 09/11/2021, à 21:27

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Finalement j'ai résolu le problème.
Dab j'ai installé Ubuntu sans coché la case pour installer des pilotes propriétaireset sans coché la case de mis à jour. Ensuite j'ai créé une nouvelle table de partition à partir du disque dur externe sdc, sans oublier d'ajouter aussi le chargeur d'amorçage sur lui.
J'ai partitionné le disque en une partie Root une partie swap et une partie Home.
J'ai laissé le reste du disque en espace libre. À la fin J'ai redémarré l'ordi et j'ai retiré tout les supports branché en USB.
L'ordinateur à d'abord démarré sur le disque interne avec windows. J'ai éteint l'ordinateur et branché mon disque dur externe, l'ordinateur à directement démarré dessus et afficher le grub 2.02. avec toutes les options.
?

Hors ligne

#11 Le 10/11/2021, à 01:39

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

bonsoir encore moi.
excusez moi mais j'aimerai savoir si il y un moyen de ne pas perdre ma section Ubuntu si mon DD externe sur lequel est installé Ubuntu est débranché par mégarde, vu que

Hors ligne

#12 Le 10/11/2021, à 09:32

malbo

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonjour,
Pour qu'on puisse voir ta réussite, je te prie de démarrer une session de ton Ubuntu qui est sur le disque dur externe et de faire un Boot-info depuis cette session. Tu donneras l'URL de ce Boot-info dans ta réponse. 
De plus, ce serait bien que tu répondes à ma question du post #9 (nom complet du modèle de ton ordi et son fabricant)

Hors ligne

#13 Le 11/11/2021, à 03:02

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonsoir et encore excuse moi de n'avoir pas répondu à ta question. voici  les infos de mon PC.
Fabriquant: Hewlett-Packard, Model: HP ProBook 450 G2, Référence du système: J3V21AV.
voici mon Boot-info: https://paste.ubuntu.com/p/BD6GFQBT3s/

Hors ligne

#14 Le 11/11/2021, à 09:58

malbo

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonjour,
A partir de "J3V21AV" (la référence du système que tu as noté dans ton post #13), j'ai pu trouver cette page qui montre les caractéristiques de ton modèle : http://www.pricetree.com/laptops/hp-pro … ice-268052
On y voit qu'il est équipé d'un processeur Intel Core i3-4005U, de 8 Go de RAM EDIT : en fait, c'est 4 Go de RAM (voir post #16) et d'un disque dur de 500 Go (on le savait déjà grâce au Boot-info : c'est un Toshiba MQ01ABF050 de 500 Go )

Je colle ci-dessous le Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/BD6GFQBT3s/ ) :

boot-info-4ppa130                                              [20211111_0159]

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

 => Syslinux MBR (5.00 and higher) 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:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sdb5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sdb6 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sdb1
OS#2:   Windows 10 (boot) on sda1
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-40-generic root=UUID=cebce19c-c560-4335-b46f-f3e5e5c1d4a0 ro quiet splash vt.handoff=7


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

This installed-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: 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,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb3	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb6	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xb317d061
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 482088413 481983966 229.8G  7 HPFS/NTFS/exFAT
sda3       484186112 975706111 491520000 234.4G  f W95 Ext'd (LBA)
sda4       975706112 976769023   1062912   519M 27 Hidden NTFS WinRE
sda5       484188160 975704063 491515904 234.4G  7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk sdb: 465.78 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0xd45e09e2
      Boot     Start       End   Sectors   Size Id Type
sdb1  *         2048  41015295  41013248  19.6G 83 Linux
sdb2        41015296  48996351   7981056   3.8G 82 Linux swap / Solaris
sdb3        48996352  68997119  20000768   9.6G 83 Linux
sdb4        68997120 976771071 907773952 432.9G  f W95 Ext'd (LBA)
sdb5        68999168 489013247 420014080 200.3G  7 HPFS/NTFS/exFAT
sdb6       489017344 976771071 487753728 232.6G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABF0:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:247GB:247GB:ntfs::;
3:248GB:500GB:252GB:::lba;
5:248GB:500GB:252GB:ntfs::;
4:500GB:500GB:544MB:ntfs::msftres;
sdb:500GB:scsi:512:512:msdos:Seagate Portable 3.0:;
1:1049kB:21.0GB:21.0GB:ext4::boot;
2:21.0GB:25.1GB:4086MB:linux-swap(v1)::;
3:25.1GB:35.3GB:10.2GB:ext4::;
4:35.3GB:500GB:465GB:::lba;
5:35.3GB:250GB:215GB:ntfs::;
6:250GB:500GB:250GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     D8D814E0D814BEA6                     b317d061-01                          Réservé au système 
├─sda2 ntfs     5C5017765017565C                     b317d061-02                                             
├─sda3                                               b317d061-03                                             
├─sda4 ntfs     D64C73474C732203                     b317d061-04                                             
└─sda5 ntfs     C8749CC5749CB820                     b317d061-05                          ♠_HM_♠♥            
sdb                                                                                                          
├─sdb1 ext4     cebce19c-c560-4335-b46f-f3e5e5c1d4a0 d45e09e2-01                                             
├─sdb2 swap     1a8453f7-35a0-4cc8-81ce-fd493ba82f83 d45e09e2-02                                             
├─sdb3 ext4     2710e766-c458-403b-bff7-650bb49a5c46 d45e09e2-03                                             
├─sdb4                                               d45e09e2-04                                             
├─sdb5 ntfs     9C848FA7848F830E                     d45e09e2-05                          disque externe 1   
└─sdb6 ntfs     BA42FA2E42F9EECF                     d45e09e2-06                          disque externe 2   

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               23.7M  53% /mnt/boot-sav/sda1
sda2               54.5G  76% /mnt/boot-sav/sda2
sda4               86.4M  83% /mnt/boot-sav/sda4
sda5               71.3G  70% /mnt/boot-sav/sda5
sdb1               10.7G  39% /
sdb3                6.7G  23% /home
sdb5              200.2G   0% /mnt/boot-sav/sdb5
sdb6              140.7G  40% /mnt/boot-sav/sdb6

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              rw,relatime,errors=remount-ro
sdb3              rw,relatime
sdb5              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb6              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Ubuntu, avec Linux 5.11.0-40-generic   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Ubuntu, avec Linux 5.11.0-27-generic   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Windows 10 (sur sda1)   D8D814E0D814BEA6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc1 during installation
UUID=cebce19c-c560-4335-b46f-f3e5e5c1d4a0 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdc3 during installation
UUID=2710e766-c458-403b-bff7-650bb49a5c46 /home           ext4    defaults        0       2
# swap was on /dev/sdc2 during installation
UUID=1a8453f7-35a0-4cc8-81ce-fd493ba82f83 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  14,404449463 = 15,466659840   boot/grub/grub.cfg                             1
  14,390640259 = 15,451832320   boot/grub/i386-pc/core.img                     1
   5,660346985 = 6,077751296    boot/vmlinuz                                   1
   3,024410248 = 3,247435776    boot/vmlinuz-5.11.0-27-generic                 2
   5,660346985 = 6,077751296    boot/vmlinuz-5.11.0-40-generic                 1
   3,024410248 = 3,247435776    boot/vmlinuz.old                               2
   6,906669617 = 7,415980032    boot/initrd.img                                2
   6,848628998 = 7,353659392    boot/initrd.img-5.11.0-27-generic              2
   6,906669617 = 7,415980032    boot/initrd.img-5.11.0-40-generic              2
   6,848628998 = 7,353659392    boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 11:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 11:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 11:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 11:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 11:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 11:18 41_custom


================================= User choice ==================================

Is sdb (Seagate Portable 3.0) a removable disk? yes

Unmount sdb5 from /media/henri-michel/disque externe 1/ to avoid special characters (& or \ or space) incompatibilities

Unmount sdb6 from /media/henri-michel/disque externe 2/ to avoid special characters (& or \ or space) incompatibilities

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb1 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on the removable disk!

Il s'agit bien d'une installation en mode non-EFI de Ubuntu 20.04.3. Le partitionnement du disque dur externe (Seagate Portable 3.0) est conforme à tes explications du post #10. C'est fonctionnel mais à mon avis, tu aurais dû te contenter de créer une seule partition de 35 Go - la partition racine de Ubuntu - au lieu de créer ces 3 partitions :
- une partition swap n'est pas utile pour Ubuntu 20.04 parce que l'installateur crée un fichier swap (on peut voir ce fichier swapfile dans ta précédente install du post #7)
- une partition /home de 10 Go, c'est trop petit pour que ça serve à quelque chose.

J'ai mentionné ton éclatante réussite dans la ligne ProBook 450 G2 de la Liste des portables HP

Dernière modification par malbo (Le 15/11/2021, à 07:30)

Hors ligne

#15 Le 11/11/2021, à 10:51

geole

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

ashm a écrit :

bonsoir encore moi.
excusez moi mais j'aimerai savoir si il y un moyen de ne pas perdre ma section Ubuntu si mon DD externe sur lequel est installé Ubuntu est débranché par mégarde, vu que

Bonjour.
Je ne sais pas trop ce que tu appelles "section ubuntu"
Si tu débranches le disque par mégarde lorsque ubuntu fonctionne , il est probable que ubuntu se plante ou qu'il indique un message d'erreur. Dans ce dernier cas, il devrait suffire de rebrancher le disque et de répondre au message d'erreur. Dans le premier cas, au redémarrage, ubuntu se plantera en te disant de faire une commande fsck de la partition "racine" .
Tu feras en plus un fsck de la partition  "home". Note qu'il est possible que la partition  "racine" soit en bon état et que seule la partition "home" soit en mauvais état. Dans ce contexte, le démarrage se plantera  sans savoir indiquer qu'il faut faire un fsck de la partition "home". A toi de penser à faire ce fsck avant  de retenter le redémarrage.

Dernière modification par geole (Le 11/11/2021, à 10:53)


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

Hors ligne

#16 Le 15/11/2021, à 02:21

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

malbo a écrit :

Bonjour,
A partir de "J3V21AV" (la référence du système que tu as noté dans ton post #13), j'ai pu trouver cette page qui montre les caractéristiques de ton modèle : http://www.pricetree.com/laptops/hp-pro … ice-268052
On y voit qu'il est équipé d'un processeur Intel Core i3-4005U, de 8 Go de RAM (si ce n'est pas vrai pour ton cas, dis-le) et d'un disque dur de 500 Go (on le savait déjà grâce au Boot-info : c'est un Toshiba MQ01ABF050 de 500 Go )

Je colle ci-dessous le Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/BD6GFQBT3s/ ) :

boot-info-4ppa130                                              [20211111_0159]

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

 => Syslinux MBR (5.00 and higher) 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:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sdb5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sdb6 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sdb1
OS#2:   Windows 10 (boot) on sda1
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-40-generic root=UUID=cebce19c-c560-4335-b46f-f3e5e5c1d4a0 ro quiet splash vt.handoff=7


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

This installed-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: 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,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb3	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb6	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xb317d061
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 482088413 481983966 229.8G  7 HPFS/NTFS/exFAT
sda3       484186112 975706111 491520000 234.4G  f W95 Ext'd (LBA)
sda4       975706112 976769023   1062912   519M 27 Hidden NTFS WinRE
sda5       484188160 975704063 491515904 234.4G  7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk sdb: 465.78 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0xd45e09e2
      Boot     Start       End   Sectors   Size Id Type
sdb1  *         2048  41015295  41013248  19.6G 83 Linux
sdb2        41015296  48996351   7981056   3.8G 82 Linux swap / Solaris
sdb3        48996352  68997119  20000768   9.6G 83 Linux
sdb4        68997120 976771071 907773952 432.9G  f W95 Ext'd (LBA)
sdb5        68999168 489013247 420014080 200.3G  7 HPFS/NTFS/exFAT
sdb6       489017344 976771071 487753728 232.6G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABF0:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:247GB:247GB:ntfs::;
3:248GB:500GB:252GB:::lba;
5:248GB:500GB:252GB:ntfs::;
4:500GB:500GB:544MB:ntfs::msftres;
sdb:500GB:scsi:512:512:msdos:Seagate Portable 3.0:;
1:1049kB:21.0GB:21.0GB:ext4::boot;
2:21.0GB:25.1GB:4086MB:linux-swap(v1)::;
3:25.1GB:35.3GB:10.2GB:ext4::;
4:35.3GB:500GB:465GB:::lba;
5:35.3GB:250GB:215GB:ntfs::;
6:250GB:500GB:250GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     D8D814E0D814BEA6                     b317d061-01                          Réservé au système 
├─sda2 ntfs     5C5017765017565C                     b317d061-02                                             
├─sda3                                               b317d061-03                                             
├─sda4 ntfs     D64C73474C732203                     b317d061-04                                             
└─sda5 ntfs     C8749CC5749CB820                     b317d061-05                          ♠_HM_♠♥            
sdb                                                                                                          
├─sdb1 ext4     cebce19c-c560-4335-b46f-f3e5e5c1d4a0 d45e09e2-01                                             
├─sdb2 swap     1a8453f7-35a0-4cc8-81ce-fd493ba82f83 d45e09e2-02                                             
├─sdb3 ext4     2710e766-c458-403b-bff7-650bb49a5c46 d45e09e2-03                                             
├─sdb4                                               d45e09e2-04                                             
├─sdb5 ntfs     9C848FA7848F830E                     d45e09e2-05                          disque externe 1   
└─sdb6 ntfs     BA42FA2E42F9EECF                     d45e09e2-06                          disque externe 2   

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               23.7M  53% /mnt/boot-sav/sda1
sda2               54.5G  76% /mnt/boot-sav/sda2
sda4               86.4M  83% /mnt/boot-sav/sda4
sda5               71.3G  70% /mnt/boot-sav/sda5
sdb1               10.7G  39% /
sdb3                6.7G  23% /home
sdb5              200.2G   0% /mnt/boot-sav/sdb5
sdb6              140.7G  40% /mnt/boot-sav/sdb6

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              rw,relatime,errors=remount-ro
sdb3              rw,relatime
sdb5              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb6              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Ubuntu, avec Linux 5.11.0-40-generic   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Ubuntu, avec Linux 5.11.0-27-generic   cebce19c-c560-4335-b46f-f3e5e5c1d4a0
Windows 10 (sur sda1)   D8D814E0D814BEA6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc1 during installation
UUID=cebce19c-c560-4335-b46f-f3e5e5c1d4a0 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdc3 during installation
UUID=2710e766-c458-403b-bff7-650bb49a5c46 /home           ext4    defaults        0       2
# swap was on /dev/sdc2 during installation
UUID=1a8453f7-35a0-4cc8-81ce-fd493ba82f83 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  14,404449463 = 15,466659840   boot/grub/grub.cfg                             1
  14,390640259 = 15,451832320   boot/grub/i386-pc/core.img                     1
   5,660346985 = 6,077751296    boot/vmlinuz                                   1
   3,024410248 = 3,247435776    boot/vmlinuz-5.11.0-27-generic                 2
   5,660346985 = 6,077751296    boot/vmlinuz-5.11.0-40-generic                 1
   3,024410248 = 3,247435776    boot/vmlinuz.old                               2
   6,906669617 = 7,415980032    boot/initrd.img                                2
   6,848628998 = 7,353659392    boot/initrd.img-5.11.0-27-generic              2
   6,906669617 = 7,415980032    boot/initrd.img-5.11.0-40-generic              2
   6,848628998 = 7,353659392    boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 11:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 11:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 11:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 11:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 11:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 11:18 41_custom


================================= User choice ==================================

Is sdb (Seagate Portable 3.0) a removable disk? yes

Unmount sdb5 from /media/henri-michel/disque externe 1/ to avoid special characters (& or \ or space) incompatibilities

Unmount sdb6 from /media/henri-michel/disque externe 2/ to avoid special characters (& or \ or space) incompatibilities

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb1 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on the removable disk!

Il s'agit bien d'une installation en mode non-EFI de Ubuntu 20.04.3. Le partitionnement du disque dur externe (Seagate Portable 3.0) est conforme à tes explications du post #10. C'est fonctionnel mais à mon avis, tu aurais dû te contenter de créer une seule partition de 35 Go - la partition racine de Ubuntu - au lieu de créer ces 3 partitions :
- une partition swap n'est pas utile pour Ubuntu 20.04 parce que l'installateur crée un fichier swap (on peut voir ce fichier swapfile dans ta précédente install du post #7)
- une partition /home de 10 Go, c'est trop petit pour que ça serve à quelque chose.

J'ai mentionné ton éclatante réussite dans la ligne ProBook 450 G2 de la Liste des portables HP

Bonsoir excuse moi pour le retard,  d'abord les infos sur mon ordi sont correctes sauf qu niveau de la RAM au lieu d'une de 8Go j'en es une de 4Go. À propos de l'installation j'avais pas trop lu la doc donc je ne savais pas que c'était pas vraiment nécessaire. J'ai plutôt suivi le conseil d'un tuto sur youtube ce qui m'a aidé à comprendre 2 et 3 trucs sur l'installation en plus je ne savais pas vraiment comment m'y prendre pour créer une seule partition ( partition racine ). Je compte bien le réinstaller plus tard mais cette fois ci en dual boot sur mon disque interne. Celà me facilitera la tâche car je ne sais pas comment faire si mon disque externe de débranche en pleine utilisation d'Ubuntu.
Et enfin je suis ravi que tu ai mentionné ma réussite, mes efforts ont servi à quelque chose.

Hors ligne

#17 Le 15/11/2021, à 02:27

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

geole a écrit :
ashm a écrit :

bonsoir encore moi.
excusez moi mais j'aimerai savoir si il y un moyen de ne pas perdre ma section Ubuntu si mon DD externe sur lequel est installé Ubuntu est débranché par mégarde, vu que

Bonjour.
Je ne sais pas trop ce que tu appelles "section ubuntu"
Si tu débranches le disque par mégarde lorsque ubuntu fonctionne , il est probable que ubuntu se plante ou qu'il indique un message d'erreur. Dans ce dernier cas, il devrait suffire de rebrancher le disque et de répondre au message d'erreur. Dans le premier cas, au redémarrage, ubuntu se plantera en te disant de faire une commande fsck de la partition "racine" .
Tu feras en plus un fsck de la partition  "home". Note qu'il est possible que la partition  "racine" soit en bon état et que seule la partition "home" soit en mauvais état. Dans ce contexte, le démarrage se plantera  sans savoir indiquer qu'il faut faire un fsck de la partition "home". A toi de penser à faire ce fsck avant  de retenter le redémarrage.

Bonsoir encore désolé pour le retard.
Oui tu as raison je parlais effectivement de ça. Qu'est ce qui faut faire lorsque le disque externe de débranche en pleine utilisation d'Ubuntu ?
Mais je ne sais pas ce qu'un fsck, et lorsque j'ai rebrancher mon disque lors de l'erreur rien ne sais passé.
Si tu peux mieux m'éclairer sur le fsck celà me ferai vraiment plaisir.

Hors ligne

#18 Le 15/11/2021, à 11:44

geole

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Bonjour.
La documentation fsck


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

Hors ligne

#19 Le 16/11/2021, à 13:49

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

Merci bcp

Hors ligne

#20 Le 16/11/2021, à 15:24

ashm

Re : message d'érreur : " no such device " lors de l'installation d'ubuntu

T'as eu un problème de check à quel niveau Exactement ?

Hors ligne