MonWiki
PagePrincipale .
memos .
BootableEfiUSB
Créer une clé USB bootable EFI, à partir d'une image ISO
disk=/dev/sdc
target_mnt=/mnt
iso_file=ubuntu-18.04-desktop-amd64.iso
sudo gdisk ${disk}
- GPT fdisk (gdisk) version 1.0.3
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
o create a new empty GUID partition table (GPT)
- This option deletes all partitions and creates a new protective MBR.
- Proceed? (Y/N): Y
n add a new partition
- Partition number (1-128, default 1):
- First sector (34-7823326, default = 2048) or {+-}size{KMGTP}:
- Last sector (2048-7823326, default = 7823326) or {+-}size{KMGTP}:
- Current type is 'Linux filesystem'
- Hex code or GUID (L to show codes, Enter = 8300): ef00
- Changed type of partition to 'EFI System'
w write table to disk and exit
- Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
- PARTITIONS!!
- Do you want to proceed? (Y/N): Y
- OK; writing new GUID partition table (GPT) to /dev/sdc.
- The operation has completed successfully.
sudo mkfs.vfat ${disk}1 -n BootableUSB
sudo mount ${disk}1 ${target_mnt}
sudo 7z x ${iso_file} -o${target_mnt}/
sudo umount ${disk}1
Pages utiles:
RechercheTexte,
TableauDeBordDeCeWiki
Flux RSS:
Wiki,
Commentaires