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.

#51 Le 03/11/2022, à 20:01

julien.favre

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

julien.favre a écrit :
iznobe a écrit :

Bonjour , en fait c' est encore plus simple que ca .
il te suffit juste de regler le BIOS en EFI , de formater toutes les partitions sauf " data " et swap si tu en utilises une , puis de reinstaller ubuntu , en version 22.04 au passage comme ca tu gagneras alors sur tous les tableaux .

Pour retrouver acces a ta partition data , tu ajoutes simplement la ligne que tu viens d' ajouter au fstab et voilà .
la manip reste la meme , seul le systeme EFI change .
Lors de l' installation tu dis d ' installer la racine du systeme ( / ) sur tout l ' espace disponible dont tu disposeras alors , et il s ' occupe de creer la partition EFI pour toi normalement .

Ok, j'essaierai ça, dans plusieurs mois peut-être.
Si j'ai des problèmes je reviendrai sur ce fil de discussion pour demander de l'aide.

Encore merci pour tout et bon week-end ! cool

Bonjour, comme prévu j'ai fait une installation d'Ubuntu par dessus Windows, ça ne s'est pas très bien passé mais j'ai ensuite pu corriger le problème.
J'ai installé Ubuntu 22.10 car ça me semble être une très bonne mis à jour du système même s'il y a peu de temps de support.

- D'abord j'ai configuré le Bios en mode EFI
- J'ai lancé Ubuntu Live (à partie d'une clé en multiboot Ventoy) et j'ai vérifié que j'avais bien "session EFI"
- J'ai supprimé toutes les partitions à part /data, ensuite je l'ai agrandi et déplacé pour ne laisser que 50 Go au début du disque que j'ai formaté en ext4
- J'ai essayé d'installer Ubuntu sur cette partition de 50 Go mais il m'a donné un message comme quoi il ne trouvait pas de partition EFI
- Je reviens en arrière et je crée une partition FAT32 de 36Mo au début du disque
- J'installe de nouveau Ubuntu en lui indiquant la partition /boot/efi. Il me donne toujours le message qu'il ne trouve pas la partition EFI mais je continue quand même...
- Il installe Ubuntu et vers la fin me donne le message d'erreur:

Impossible d'installer GRUB dans dev/sda
L'exécution de "grub-install /dev/sda" a échoué.
Cette erreur est fatale

- J'essaie de réinstaller Ubuntu en indiquant /sda1 (partition de boot EFI) pour installer le programme de démarrage au lieu de /sda
- Il me donne de nouveau la même erreur
- Je redémarre et tombe sur un prompt de Grub, je ne peux rien faire de plus...
- J'essaie de lancé de nouveau ma clé multiboot mais c'est impossible bien qu'elle est la priorité de boot. Il a fallu que je repasse en mode boot legacy pour pouvoir la lancer... Je ne sais pas pourquoi mais j'ai toujours ce problème depuis cette réinstallation, impossible de lancer une clé en mode EFI...
- Ensuite j'ai lancé  boot-repair-disk et j'ai démarré la réparation. Il a produit le boot-repair suivant: https://paste.ubuntu.com/p/JSfccZVjPt/
- J'ai redémarré en mode boot EFI et Ubuntu fonctionne sans problème. Il est bien en "session EFI". Si je démarre en mode boot legacy ça marche également.

En relisant le boot-repair je me rends compte qu'au lieu de régler le drapeau en ESP, j'ai en fait mis ESP dans l'étiquette de la partition car je ne trouvais pas de champ "drapeau" !!! D'ailleurs le nom de cette partition est "ESP" !

Est-ce que c'est ça qui m'a causé tous ces bugs ?
Est-ce normal de pouvoir booter en mode EFI ou en mode legacy également ?
Est-ce que j'ai créé cette partition EFI pour rien ?

Pouvez-vous m'éclairer car j'ai du mal à comprendre ce qui s'est passé. Je ne voudrais pas faire la même erreur dans le futur hmm
Merci

Hors ligne

#52 Le 03/11/2022, à 21:47

geole

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

Bonsoir.
Les nouvelles installations LEGACY, forcent aussi l'installation EFI.
Dans ton contexte, cela a mal fonctionné. Tu bootes toujours en legacy et la partition en FAT32 ( SDA1 ) est inutilisée. Tu peux donc la supprimer.

========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=7ec800c7-f97f-4a0c-978f-c3e9107fdaf5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
# /data was on /dev/sda5 during installation
UUID=ebd99463-3018-4752-8b1b-7c5f5e146610 /data           ext4    defaults        0       2
======

Mais que feras-tu de ce minuscule espace ( 36 Mo) récupéré?
Il te sera utile si tu décides de booter en Mode Secure de l'EFI.

Dernière modification par geole (Le 03/11/2022, à 21:50)


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

#53 Le 04/11/2022, à 10:52

malbo

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

Bonjour,
Je colle ci-dessous le contenu du rapport Boot-repair dont tu as donné le lien dans le post #51 :

boot-repair-4ppa200                                              [20221101_1146]

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






Recommended repair: ____________________________________________________________

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


/boot/efi removed in sda2/fstab

Unhide GRUB boot menu in sda2/etc/default/grub

========================= Reinstall the grub2 of sda2 ==========================

chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu12

==> Reinstall the GRUB of sda2 into the MBR of sda

chroot /mnt/boot-sav/sda2 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda2 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.19.0-21-generic
Found initrd image: /boot/initrd.img-5.19.0-21-generic
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
Some pools couldn't be imported and will be ignored:
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb2.  Check your device.map.

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

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

Vous pouvez maintenant redémarrer votre ordinateur.


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

 => 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 (,msdos2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => 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 (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist regexp archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660 
    gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read 
    halt video_fb vbe linux linux16 test true sleep reboot echo bitmap 
    bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo 
    functional_test videotest_checksum video_cirrus video_bochs vga minicmd 
    help configfile tr biosdisk disk ls tar squash4 pbkdf2 gcry_sha512 
    password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   fuse: mount failed: Device or resource busy

sdb2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.10 on sda2

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

CPU architecture: 64-bit
Video: GT218M [GeForce 310M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 04KQ.M007.20100621.KSJ from Phoenix Technologies Ltd.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


c152ec201c37b6e97bbc2207e49d1271   sda1/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/BOOT/mmx64.efi
553e913655a8cc0640c35c100e83fa9d   sda1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda5	: 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,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	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

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x5c718880
      Boot     Start       End   Sectors  Size Id Type
sda1            2048     75775     73728   36M  b W95 FAT32
sda2           75776 102399994 102324219 48.8G 83 Linux
sda4       102402046 976771071 874369026  417G  f W95 Ext'd (LBA)
sda5       102402048 976771071 874369024  417G 83 Linux
Disk sdb: 14.5 GiB, 15518924800 bytes, 30310400 sectors
Disk identifier: 0x1f93f6a3
      Boot    Start      End  Sectors  Size Id Type
sdb1  *        2048 30244863 30242816 14.4G  7 HPFS/NTFS/exFAT
sdb2       30244864 30310399    65536   32M ef EFI (FAT-12/16/32)
Disk dm-0: 880 MiB, 922746880 bytes, 1802240 sectors
Disk identifier: 0x2c534026
       Boot Start     End Sectors  Size Id Type
dm-0p1 *        0 1802239 1802240  880M  0 Empty
dm-0p2        964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 948.9 MiB, 995012608 bytes, 242923 sectors
Disk zram1: 948.9 MiB, 995012608 bytes, 242923 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:msdos:ATA Hitachi HTS54505:;
1:1049kB:38.8MB:37.7MB:fat32::;
2:38.8MB:52.4GB:52.4GB:ext4::;
4:52.4GB:500GB:448GB:::lba;
5:52.4GB:500GB:448GB:ext4::;
sdb:15.5GB:scsi:512:512:msdos:TOSHIBA USB FLASH DRIVE:;
1:1049kB:15.5GB:15.5GB:::boot;
2:15.5GB:15.5GB:33.6MB:fat16::esp;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 vfat     0A16-020E                            5c718880-01                          ESP                    
├─sda2 ext4     7ec800c7-f97f-4a0c-978f-c3e9107fdaf5 5c718880-02                                                 
├─sda4                                               5c718880-04                                                 
└─sda5 ext4     ebd99463-3018-4752-8b1b-7c5f5e146610 5c718880-05                          data                   
sdb                                                                                                              
├─sdb1 exfat    1375-1D52                            1f93f6a3-01                          Ventoy                 
└─sdb2 iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

                    Avail Use% Mounted on
/dev/mapper/ventoy      0 100% /cdrom
/dev/sda1           30.2M  15% /mnt/boot-sav/sda1
/dev/sda2           37.5G  16% /mnt/boot-sav/sda2
/dev/sda5          347.4G  10% /mnt/boot-sav/sda5
/dev/sdb2               0 100% /media/lubuntu/Boot-Repair-Disk 64bit

Mount options (filtered): ______________________________________________________

/dev/mapper/ventoy iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda1          vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda2          ext4            rw,relatime
/dev/sda5          ext4            rw,relatime
/dev/sdb2          iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048

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

search.fs_uuid 7ec800c7-f97f-4a0c-978f-c3e9107fdaf5 root hd0,msdos2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   7ec800c7-f97f-4a0c-978f-c3e9107fdaf5
Ubuntu, with Linux 5.19.0-21-generic   7ec800c7-f97f-4a0c-978f-c3e9107fdaf5
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=7ec800c7-f97f-4a0c-978f-c3e9107fdaf5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
# /data was on /dev/sda5 during installation
UUID=ebd99463-3018-4752-8b1b-7c5f5e146610 /data           ext4    defaults        0       2

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

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

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

           GiB - GB             File                                 Fragment(s)
   0.036136627 = 0.038801408    boot/grub/grub.cfg                             1
  40.359519958 = 43.335704576   boot/grub/i386-pc/core.img                     1
   3.914611816 = 4.203282432    boot/vmlinuz                                   2
   3.914611816 = 4.203282432    boot/vmlinuz-5.19.0-21-generic                 2
  21.271305084 = 22.839889920   boot/initrd.img                                1
  21.271305084 = 22.839889920   boot/initrd.img-5.19.0-21-generic              1
  21.271305084 = 22.839889920   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Sep 19 14:00 10_linux
-rwxr-xr-x 1 root root 43263 Sep 19 14:00 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Sep 19 14:00 20_linux_xen
-rwxr-xr-x 1 root root 13369 Sep 19 14:00 30_os-prober
-rwxr-xr-x 1 root root  1372 Sep 19 14:00 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Aug 30 18:33 35_fwupd
-rwxr-xr-x 1 root root   214 Sep 19 14:00 40_custom
-rwxr-xr-x 1 root root   215 Sep 19 14:00 41_custom

=========================== sda2/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

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


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

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

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda4

00000000  ba e5 a0 f7 72 81 79 a4  a6 eb 6c d6 fe 6a 41 6c  |....r.y...l..jAl|
00000010  61 8c ae 87 01 52 d5 78  54 64 86 9c 5d cc 95 3a  |a....R.xTd..]..:|
00000020  9c 96 f3 bd 4d 0d 90 d0  a0 ff fb a2 60 9c 00 04  |....M.......`...|
00000030  85 56 d1 93 0f 4b 70 63  25 09 60 6b 49 4a 11 c5  |.V...Kpc%.`kIJ..|
00000040  69 46 2c 3c cd c9 4c 91  25 c1 ac a5 28 d7 7b e2  |iF,<..L.%...(.{.|
00000050  ec 13 7d 4d a1 26 7b af  74 5d 47 56 de 78 f2 e7  |..}M.&{.t]GV.x..|
00000060  b9 59 91 b2 ef ae 65 10  09 77 3d 73 8f 4e 5f 98  |.Y....e..w=s.N_.|
00000070  32 a6 20 79 9b 24 cf 98  a2 08 fa b2 ce 26 b0 83  |2. y.$.......&..|
00000080  56 4c 3a 37 97 9b f3 35  45 9a d5 56 ad 33 e3 17  |VL:7...5E..V.3..|
00000090  a6 3a 77 fe 61 f9 ca cc  4d 80 03 5f f0 c5 0c 1e  |.:w.a...M.._....|
000000a0  26 6b c3 99 71 86 70 30  97 b0 55 03 53 b0 60 2e  |&k..q.p0..U.S.`.|
000000b0  d2 02 84 69 14 c6 34 d5  8b 72 c7 41 b9 bb b2 58  |...i..4..r.A...X|
000000c0  6a 62 87 74 58 ca 48 3d  a2 47 10 f6 5b de c3 49  |jb.tX.H=.G..[..I|
000000d0  55 49 b6 ce ae 61 54 f2  37 72 49 65 a1 b3 b7 19  |UI...aT.7rIe....|
000000e0  a5 2b 28 e4 ef fa d1 ff  ff 92 00 00 3c 58 0c 44  |.+(.........<X.D|
000000f0  a5 42 08 bc 21 d1 24 82  9d 61 78 aa 10 46 7c f9  |.B..!.$..ax..F|.|
00000100  fd 35 39 e4 c7 6a 65 ed  f9 59 db e5 f3 d8 82 b9  |.59..je..Y......|
00000110  fc 9d cb 56 7b 5f 58 72  59 7f a0 ab eb d1 e7 47  |...V{_XrY......G|
00000120  60 b3 6a ea ec 44 87 a2  a2 b7 e5 e5 e5 e8 e7 34  |`.j..D.........4|
00000130  dc df 2f 41 8e d5 23 a6  90 cd f6 2a c2 cd 51 d4  |../A..#....*..Q.|
00000140  8e 9d 1f 41 22 ac 20 63  28 a1 64 c1 03 04 52 cc  |...A". c(.d...R.|
00000150  e7 03 a0 41 38 90 67 37  08 cf e5 d8 45 9c 63 a5  |...A8.g7....E.c.|
00000160  91 48 61 9f 43 d2 2a 04  61 e9 e6 73 be 61 04 64  |.Ha.C.*.a..s.a.d|
00000170  4a c6 76 74 61 95 62 00  c0 74 b8 3a 0c d3 50 88  |J.vta.b..t.:..P.|
00000180  43 f5 53 b6 50 12 27 d8  82 6f 17 c5 62 28 f2 e4  |C.S.P.'..o..b(..|
00000190  2f 53 eb 0b 80 20 78 ec  fc 4b 9c 29 66 83 0e 32  |/S... x..K.)f..2|
000001a0  b1 6f b0 61 8e 48 7b 5a  44 22 96 53 0a 3a 45 27  |.o.a.H{ZD".S.:E'|
000001b0  90 5d bc 49 47 cb d5 dd  ee e7 db ea d9 7f 00 fe  |.].IG...........|
000001c0  c2 ff 83 fe c2 ff 02 00  00 00 00 d0 1d 34 00 00  |.............4..|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdb2

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Hors ligne

#54 Le 04/11/2022, à 11:39

julien.favre

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

geole a écrit :

Bonsoir.
Les nouvelles installations LEGACY, forcent aussi l'installation EFI.
Dans ton contexte, cela a mal fonctionné. Tu bootes toujours en legacy et la partition en FAT32 ( SDA1 ) est inutilisée. Tu peux donc la supprimer.

========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=7ec800c7-f97f-4a0c-978f-c3e9107fdaf5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
# /data was on /dev/sda5 during installation
UUID=ebd99463-3018-4752-8b1b-7c5f5e146610 /data           ext4    defaults        0       2
======

Mais que feras-tu de ce minuscule espace ( 36 Mo) récupéré?
Il te sera utile si tu décides de booter en Mode Secure de l'EFI.

Merci geole !

En fait je démarre bien en EFI:

julien@favre-laptop:~$ [ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"
Session EFI
julien@favre-laptop:~$ 

Voici le contenu de la partition EFI:

julien@favre-laptop:/media/julien/ESP$ ls -LR
.:
EFI

./EFI:
BOOT  ubuntu

./EFI/BOOT:
BOOTX64.EFI  fbx64.efi  mmx64.efi

./EFI/ubuntu:
BOOTX64.CSV  grub.cfg  grubx64.efi  mmx64.efi  shimx64.efi
julien@favre-laptop:/media/julien/ESP$ 

ça marche également en mode legacy.

Donc ça utilise la partition EFI quand je boote en EFI et ça utilise le MBR quand je boote en legacy ?

Hors ligne

#55 Le 04/11/2022, à 18:24

geole

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

C'est cela mais la mise à jour  du logiciel de boot EFI ne fonctionnera pas même si tu bootes en EFI car la partition de boot ESP n'est pas décrite dans le fichier /etc/fstab

Dernière modification par geole (Le 04/11/2022, à 18:24)


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

#56 Le 05/11/2022, à 19:23

julien.favre

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

geole a écrit :

C'est cela mais la mise à jour  du logiciel de boot EFI ne fonctionnera pas même si tu bootes en EFI car la partition de boot ESP n'est pas décrite dans le fichier /etc/fstab

Ça sert à mettre à jour grub sur cette partition ?
En fait je pensais qu'en passant en mode EFi j'aurais un BIOS moderne en mode graphique mais j'ai toujours la même interface BIOS en mode texte. Est-ce que ça a à voir avec ça ?

Je vois le fichier fstab dans ton message précédent, dans le boot-repair je vois également que le UUID pour la partition ESP est 0A16-020E

Donc il faudrait que je rajoute quelque chose comme ça ? :

# /boot/efi was on /dev/sda1 during installation
UUID=0A16-020E    /boot/efi               vfat    defaults 0     2

Hors ligne

#57 Le 09/11/2022, à 11:14

julien.favre

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

julien.favre a écrit :
geole a écrit :

C'est cela mais la mise à jour  du logiciel de boot EFI ne fonctionnera pas même si tu bootes en EFI car la partition de boot ESP n'est pas décrite dans le fichier /etc/fstab

Ça sert à mettre à jour grub sur cette partition ?
En fait je pensais qu'en passant en mode EFi j'aurais un BIOS moderne en mode graphique mais j'ai toujours la même interface BIOS en mode texte. Est-ce que ça a à voir avec ça ?

Je vois le fichier fstab dans ton message précédent, dans le boot-repair je vois également que le UUID pour la partition ESP est 0A16-020E

Donc il faudrait que je rajoute quelque chose comme ça ? :

# /boot/efi was on /dev/sda1 during installation
UUID=0A16-020E    /boot/efi               vfat    defaults 0     2

Est-ce que quelqu'un pourrait m'aider concernant le fichier fstab ?
Je voudrais juste que tout soit parfaitement configuré. Je suis un peu perfectionniste !
Merci.

Hors ligne

#58 Le 09/11/2022, à 14:26

geole

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

Bonjour
Si ton bios ne supporte pas EFI,   le logiciel EFI ne pourra pas être utilisé.

Si l'installation avait été parfaite, la ligne générée aurait été

UUID=0A16-020E  /boot/efi       vfat    umask=0077      0       1

Mais ta ligne est bonne. Il y a juste moins de protection.


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

#59 Le 14/11/2022, à 11:45

julien.favre

Re : [Résolu] Installation de Ubuntu 22.04 sur un Samsung R730

geole a écrit :

Bonjour
Si ton bios ne supporte pas EFI,   le logiciel EFI ne pourra pas être utilisé.

Si l'installation avait été parfaite, la ligne générée aurait été

UUID=0A16-020E  /boot/efi       vfat    umask=0077      0       1

Mais ta ligne est bonne. Il y a juste moins de protection.

En fait j'aurais dû regarder le fichier fstab directement sur l'ordinateur, il y avait déjà la ligne en commentaire. J'ai enlevé le # et ça donne ça:

# /boot/efi was on /dev/sda1 during installation
UUID=0A16-020E  /boot/efi       vfat    utf8,umask=007,gid=46 0       1

J'ai redémarré et tout est ok.

Hors ligne