Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#26 Le 02/10/2021, à 11:42

geole

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

Bonjour
Avec ton autre ordinateur, tu peux fabriquer une autre clé avec un autre logiciel.

geole a écrit :

"Cependant, si tu as une autre clé USB, tu peux utiliser unetbootin ou linuxliveUSB  pour déposer dans une vraie partition FAT32"

Tu n'as pas non plus dit ce que ton bios voyait dans la partition de boot de ta clé actuelle


NOTA, Il me semble que ton bios dispose encore d'autres choix.
Essaie de regarder si l'un de ces choix invalide le mode de boot en EFI pour en mettre un autre

Dernière modification par geole (Le 02/10/2021, à 12:12)


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

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

gycath

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

Bonsoir,
J'ai créé la clé USB bootable via les commandes suivantes trouvées dans la documentation conseillée. sdb = nom de ma clé vierge branchée sur mon ordinateur, nom vue avec

$ lsblk 

Puis en récupérant ubuntu-20.04.3-desktop-amd64.iso dans Téléchargements

$ cd Téléchargements
~/Téléchargements$ sudo dd bs=4M status=progress if=ubuntu-20.04.3-desktop-amd64.iso of=/dev/sdb
~/Téléchargements$ sync 

J'ai connecté cette clé devenue bootable sur l'ordinateur sans OS qui a démarré dessus sans aucun problème et fais l'installation de ubuntu-20.04.3
Et tout fonctionne bien avec ubuntu-20.04.3 mis à jour
@ malbo: comme tu le présentais
Merci à vous tous

Dernière modification par gycath (Le 11/10/2021, à 22:06)

Hors ligne

#28 Le 12/10/2021, à 05:55

malbo

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

Bonjour,
J'ai l'intention d'ajouter ton modèle LDLC Aurore NL5B-8-S4 dans la Liste des portables Textorm/LDLC
Pour qu'on puisse avoir quelques infos supplémentaires sur ton installation, je te prie de faire un Boot-info depuis une session de ton Ubuntu 20.04.3 fraîchement installé et de donner l'URL de ce Boot-info dans ta réponse.

Hors ligne

#29 Le 12/10/2021, à 16:35

gycath

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

@ malbo
boot_info

Hors ligne

#30 Le 12/10/2021, à 17:05

malbo

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

Je colle ci-dessous le contenu de ton Boot-info :

boot-info-4ppa130                                              [20211012_1732]

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

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

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 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda2

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-37-generic root=UUID=6991e494-b1a8-4fcd-97ff-610e5bef7faf ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0001* ubuntu	HD(1,GPT,3dbe28fe-ba35-44c3-8bfb-fb61a0f2e831,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

85fa9d77b929ec4231aba29476574eb6   sda1/BOOT/fbx64.efi
469e608783843a701d172242f016c79c   sda1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: C1D3CC0A-701B-4400-8FF3-DD5EB42DB7A5
        Start       End   Sectors   Size Type
sda1     2048   1050623   1048576   512M EFI System
sda2  1050624 937701375 936650752 446.6G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA LDLC F6+M.2 480:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:480GB:480GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     4747-F199                            3dbe28fe-ba35-44c3-8bfb-fb61a0f2e831       EFI System Partition
└─sda2 ext4     6991e494-b1a8-4fcd-97ff-610e5bef7faf 42e1ce2f-0186-48e2-984c-81482a0879ba       

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda2              405.8G   2% /

Mount options: __________________________________________________________________

sda2              rw,relatime,errors=remount-ro

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

search.fs_uuid 6991e494-b1a8-4fcd-97ff-610e5bef7faf root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   6991e494-b1a8-4fcd-97ff-610e5bef7faf
Ubuntu, avec Linux 5.11.0-37-generic   6991e494-b1a8-4fcd-97ff-610e5bef7faf
Ubuntu, avec Linux 5.11.0-27-generic   6991e494-b1a8-4fcd-97ff-610e5bef7faf
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### 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=6991e494-b1a8-4fcd-97ff-610e5bef7faf /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=4747-F199  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 200,661861420 = 215,459033088  boot/grub/grub.cfg                             1
 281,861972809 = 302,646988800  boot/vmlinuz                                   1
   5,586910248 = 5,998899200    boot/vmlinuz-5.11.0-27-generic                 2
 281,861972809 = 302,646988800  boot/vmlinuz-5.11.0-37-generic                 1
   5,586910248 = 5,998899200    boot/vmlinuz.old                               2
 284,067378998 = 305,015025664  boot/initrd.img                                2
 284,003490448 = 304,946425856  boot/initrd.img-5.11.0-27-generic              1
 284,067378998 = 305,015025664  boot/initrd.img-5.11.0-37-generic              2
 284,003490448 = 304,946425856  boot/initrd.img.old                            1

===================== sda2: 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


Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !

C'est parfaitement installé en mode EFI. Je pense que tu as sélectionné "Effacer le disque et installer Ubuntu" à l'étape "type d'installation".

EDIT : je viens d'ajouter une ligne pour ton modèle LDLC Aurore NL5B-8-S4 dans la Liste des portables Textorm/LDLC
Pour mémoire, ce modèle - visible sur cette page du site LDLC - est équipé d'un processeur Intel Pentium Silver N5030. La partie graphique "UHD Graphics 605" est intégrée dans le processeur (il n'y a pas de carte graphique dédiée)

Dernière modification par malbo (Le 12/10/2021, à 17:19)

Hors ligne

#31 Le 12/10/2021, à 21:19

gycath

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

oui j'ai "Effacé le disque et installé Ubuntu" à l'étape "type d'installation".
Était ce nécessaire,problématique et à éviter?

Dernière modification par gycath (Le 12/10/2021, à 21:21)

Hors ligne

#32 Le 13/10/2021, à 06:28

malbo

Re : création clé bootable depuis ubuntu 18 04 LTS RESOLU

Bonjour,
Je pense que tu as fait le bon choix ("Effacer le disque et installer Ubuntu"). Je l'ai noté dans le post #30 parce que je sais identifier une installation automatique. Mais c'était un commentaire, pas une critique.

Hors ligne