Outils pour utilisateurs

Outils du site


blog

Notes bios uefi efi - Virtualisation KVM

http://www.tianocore.org/ovmf/

OVMF is an EDK II based project to enable UEFI support for Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.

/usr/share/edk2.git/ovmf-x64/

mkdir /var/lib/libvirt/qemu/nvram/

/etc/libvirt/qemu.conf

nvram = [ "/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd" ]
virsh -c qemu:///system edit VM-UEFI
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  </os>

Debian / Ubuntu

RedHat

sudo dnf install dnf-plugins-core
sudo dnf config-manager --add-repo http://www.kraxel.org/repos/firmware.repo
sudo dnf install edk2.git-ovmf-x64

Notes

Certaine VM créés avec une ROM nécessite une reconfig pour booter avec une autre ROM en fonction de comment son nommé les périphériques par la rom je suppose (par exemple : vda au lieu de sda si virtio driver utilisé)

Avec le shell efi (un truc du genre) :

bcfg boot -opt 3 "initrd=\initramfs-linux.img root=/dev/sda2"
2025/03/24 15:06

Notes bios uefi efi - réussir à booter sur autre chose que Windows

Voir : Install GNU/Linux sur Acer Aspire ES1-531-P1UK

Démarrer sur autre chose que windows 10 Source https://forum.ubuntu-fr.org/viewtopic.php?pid=20542461#p20542461

Procédure pour démarrer un OS à partir de windows 10    la premiere année de windows 10
A noter qu'il peut y avoir plus simple

1) Faire un clic  sur l'icône windows tout en bas à gauche de l'écran ou sur la touche windows du clavier poour ceux qui la possèdent
2) Sélectionner  Paramètres (C'est trois lignes au dessus).
3) Sélectionner Mise à jour et sécurité
4) Sélectionner Récupération  puis Redémarrer maintenant voir ici
5) Sélectionner utiliser un périphérique

## Faire le choix qui convient: Dans ce contexte, c'est UBUNTU     dans d'autres contextes    cela peut être USB DEVICE

Procédure pour démarrer un OS à partir de windows 10    à partir du 29 juillet 2016 La seconde  année de windows 10
A noter qu'il peut y avoir plus simple

1) Faire un clic  sur l'icône windows tout en bas à gauche de l'écran ou sur la touche windows du clavier poour ceux qui la possèdent
2) Rechercher l'application Paramètres qui est classée sous la lettre P des applications disponibles..
3) Sélectionner Mise à jour et sécurité
4) Sélectionner Récupération  puis Redémarrer maintenant voir ici
5) Sélectionner utiliser un périphérique

## Faire le choix qui convient: Dans ce contexte, c'est UBUNTU     dans d'autres contextes    cela peut être USB DEVICE

Désactiver le "fast startup"

Source : https://www.msi.com/files/pdf/win8_UEFI_BIOS_Update_auto_en.pdf

1. Please go to 
[Control Panel > Hardware and Sound > Power Options], and select [Choose what the power button does]

2. Select [Change settings that are currently unavailable] first, and uncheck [Turn on fast startup (recommended)].
Select [Save changes] to continue
2025/03/24 15:06

Audio - générer un son - générer une tonalité

Voir aussi :

  • Bruit blanc / Bruit rose
  • Audacity

Exemple : 100 Hz - 5 secondes - sinusoïdes

ffmpeg -f lavfi -i "sine=frequency=100:duration=5" out.wav

Bruit rose

Generate 60 seconds of pink noise, with a 44.1 kHz sampling rate and an amplitude of 0.5

ffmpeg -f lavfi -i "anoisesrc=d=60:c=pink:r=44100:a=0.5"

Audio - filtre temps réél

Equaliser graphique temps réel

apt-get install pulseeffects lsp-plugins
# apt-get install easyeffects
apt install pulseeffects pulseaudio --install-recommends

Voir aussi : pulseaudio-equalizer (qpaeq) https://doc.ubuntu-fr.org/pulseaudio-equalizer

Autres

2025/03/24 15:06

Notes bios UEFI EFI - micrologiciel - UEFI Shell

Install

cd /boot/efi/EFI/tools
wget https://github.com/tianocore/edk2/raw/master/ShellBinPkg/UefiShell/X64/Shell.efi

Exemple utilisation

Aide

help -b

Lancer shim.efi

fs0:
cd EFI
cd redhat
ls
shim.efi

Show your UEFI boot list

bcfg boot dump -v 

Autre menu intéressant (Sur Virtual Box)

exit

Afficher tous les lecteurs

map

Autres

Shell> bcfg boot rm 3

To move the boot option #3 to #0 (i.e. 1st or the default entry in the UEFI Boot menu):

Shell> bcfg boot mv 3 0

For bcfg help text:

Shell> help bcfg -v -b
Shell> bcfg -? -v -b

Shell> bcfg boot add N FS0:\vmlinuz-linux "Arch Linux"

Pb

Pb VirtualBox ne boot que sur UEFI Shell
Solution 1

Source : VirtualBox boots only in UEFI Interactive shell

fs0:
edit startup.nsh

Le fichier sera crée à : /boot/efi/startup.nsh and on the opened window add these 2 lines:

FS0:
cd \EFI\ubuntu\
grubx64.efi
Solution 2

Autres

reset
2025/03/24 15:06

Notes BIOS UEFI EFI - micrologiciel - boot manager firmwares - fichiers EFI - extention efi - EFI application

BIOS

Firmware

Voir : UEFI Shell

rEFInd

Voir http://www.rodsbooks.com/refind

Install

wget https://downloads.sourceforge.net/project/refind/0.10.5/refind-0.10.5-1.x86_64.rpm
rpm -Uvh refind-0.10.5-1.x86_64.rpm

Conf depuis efishell

Shell> edit FS0:\EFI\refind\refind.conf
2025/03/24 15:06
blog.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki