Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| linux:fedora [24-03-2025 10:17] – créée edmc73 | linux:fedora [03-12-2025 19:58] (Version actuelle) – [divers custom] edmc73 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Fedora ====== | ====== Fedora ====== | ||
| + | ===== Installation ===== | ||
| + | |||
| + | Config du partitionnement : personnalisé | ||
| + | |||
| + | Attention à la partition EFI System Partition | ||
| + | * Cliquez sur EFI Sytem Partition | ||
| + | * Indiquer en point de montage : /boot/efi | ||
| + | * Cliquer sur Mise à jour des paramètres | ||
| + | * Ne pas cliquer sur " | ||
| + | * Ajouter une partition | ||
| + | * Point de montage / | ||
| + | * Type de périphérique : LVM | ||
| + | * Changer Groupe de Volume : fedora | ||
| + | * Ajouter une partiton swap | ||
| + | * Ajouter une partion | ||
| + | * Point de montage : /boot | ||
| + | * Taille : 1G | ||
| + | * Ajouter une partition /home si besoin | ||
| + | * Cliquer sur " | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Fail... ===== | ||
| + | |||
| + | Si comme moi vous avez fait une boulette et que vous ne retrouvez plus Windows... | ||
| + | |||
| + | Vu comme la partie partitionnement est mal foutu, j'ai supprimé la partition efi ou il y avait windows... | ||
| + | |||
| + | Du coup, pas de windows dans le grub. | ||
| + | |||
| + | Pour restaurer windows, une ligne de commande avec un liveUSB windowsPE ou un truc du genre | ||
| + | |||
| + | https:// | ||
| + | bcdboot c:\windows | ||
| + | |||
| + | |||
| + | remettre le grub à partir du liveUSB fedora | ||
| + | |||
| + | < | ||
| + | |||
| + | $ sudo fdisk -l | ||
| + | Disk / | ||
| + | Disk model: WDC PC SN530 SDBPNPZ-256G-1006 | ||
| + | Units: sectors of 1 * 512 = 512 bytes | ||
| + | Sector size (logical/ | ||
| + | I/O size (minimum/ | ||
| + | Disklabel type: gpt | ||
| + | Disk identifier: EB9CF8F5-A7CF-4C53-AFCA-50B325C96F76 | ||
| + | |||
| + | Device | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | |||
| + | |||
| + | $ sudo su - | ||
| + | |||
| + | # mount / | ||
| + | |||
| + | # mount -o bind /dev /mnt/dev | ||
| + | # mount -o bind /proc /mnt/proc/ | ||
| + | # mount -o bind /sys /mnt/sys | ||
| + | # mount -o bind /run /mnt/run | ||
| + | # mount -o bind / | ||
| + | # mount / | ||
| + | |||
| + | # chroot /mnt | ||
| + | # dnf reinstall shim-* grub2-* | ||
| + | # grub2-mkconfig -o / | ||
| + | |||
| + | # sync && exit | ||
| + | |||
| + | # reboot | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== grub customize ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== selinux ===== | ||
| + | |||
| + | Checking if SELinux is enabled: | ||
| + | |||
| + | sestatus | ||
| + | |||
| + | SELinux configuration file is usually located at / | ||
| + | |||
| + | codeSELINUX=enforcing | ||
| + | |||
| + | If it's set to enforcing, SELinux is enabled. If set to disabled, it's disabled. | ||
| + | |||
| + | To temporarily disable SELinux until the next system reboot, run: | ||
| + | sudo setenforce 0 | ||
| + | |||
| + | Permanently Disable: | ||
| + | |||
| + | Open the SELinux configuration file / | ||
| + | |||
| + | SELINUX=disabled | ||
| + | |||
| + | Reboot the system for the changes to take effect. | ||
| + | |||
| + | ===== wifi ===== | ||
| + | Pour plus de paramètrage, | ||
| + | |||
| + | sudo nm-connection-editor | ||
| + | |||
| + | Toutes les configs se trouvent dans | ||
| + | / | ||
| + | |||
| + | ===== secure boot dbx ===== | ||
| + | |||
| + | Si une mise à s' | ||
| + | fwupdmgr update | ||
| + | |||
| + | --- https:// | ||
| + | |||
| + | ===== divers custom ===== | ||
| + | |||
| + | Pour avoir un theme homogène un peu partout, il semble falloir installer ça | ||
| sudo dnf install adw-gtk3-theme | sudo dnf install adw-gtk3-theme | ||
| + | Puis l' | ||
| + | |||
| + | Installer et aller sur Gnome Tweaks (Ajustements) et sélectionner le bon thème dans la partie " | ||
| + | |||
| + | ===== rpm fusion free et non free ===== | ||
| + | |||
| + | https:// | ||
| + | |||