Dernier message de la page précédente :
Cyrille,À savoir : l'occupation de /boot serait confondu avec celui du vg...
Donc dédier un vg à boot ?
Dernier message de la page précédente :
Cyrille,Code : Tout sélectionner
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ sudo fdisk -l
[sudo] Mot de passe de linuxing :
Disque /dev/sda : 931,53 GiB, 1000204886016 octets, 1953525168 secteurs
Disk model: Samsung SSD 860
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : gpt
Identifiant de disque : 063384F9-8845-4DAD-9AD6-793E6D48485F
Périphérique Début Fin Secteurs Taille Type
/dev/sda1 2048 1050623 1048576 512M Système EFI
/dev/sda2 1050624 2549759 1499136 732M Système de fichiers Linux
/dev/sda3 2549760 1953523711 1950973952 930,3G Système de fichiers Linux
Disque /dev/mapper/sda3_crypt : 930,29 GiB, 998881886208 octets, 1950941184 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Disque /dev/mapper/vgmint-root : 929,33 GiB, 997854281728 octets, 1948934144 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Disque /dev/mapper/vgmint-swap_1 : 976 MiB, 1023410176 octets, 1998848 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ lvdisplay
WARNING: Running as a non-root user. Functionality may be unavailable.
/run/lock/lvm/P_global:aux: open failed: Permission non accordée
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/vgmint/root
LV Name root
VG Name vgmint
LV UUID NSlVLc-tvwa-nTRi-Xiwb-SnKX-GFnt-dXuEKK
LV Write Access read/write
LV Creation host, time mint, 2021-07-16 21:20:56 +0200
LV Status available
# open 1
LV Size 929,32 GiB
Current LE 237907
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Path /dev/vgmint/swap_1
LV Name swap_1
VG Name vgmint
LV UUID DWohL1-18pJ-hONi-jYzk-oJZ4-4nwr-1GGrGY
LV Write Access read/write
LV Creation host, time mint, 2021-07-16 21:20:57 +0200
LV Status available
# open 2
LV Size 976,00 MiB
Current LE 244
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$
Code : Tout sélectionner
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ df -h
df: /run/user/1000/doc: Opération non permise
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 7,7G 0 7,7G 0% /dev
tmpfs 1,6G 1,8M 1,6G 1% /run
/dev/mapper/vgmint-root 914G 118G 750G 14% /
tmpfs 7,8G 4,0K 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/sda2 705M 519M 136M 80% /boot
/dev/sda1 511M 5,3M 506M 2% /boot/efi
tmpfs 1,6G 16K 1,6G 1% /run/user/1000
/home/linuxing/.Private 914G 118G 750G 14% /home/linuxing
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$
Code : Tout sélectionner
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ sudo apt-get clean
[sudo] Mot de passe de linuxing :
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ sudo apt autoremove
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
linux-headers-5.4.0-92 linux-headers-5.4.0-92-generic
linux-image-5.4.0-92-generic linux-modules-5.4.0-92-generic
linux-modules-extra-5.4.0-92-generic
0 mis à jour, 0 nouvellement installés, 5 à enlever et 0 non mis à jour.
Après cette opération, 380 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n]
(Lecture de la base de données... 526394 fichiers et répertoires déjà installés.)
Suppression de linux-headers-5.4.0-92-generic (5.4.0-92.103) ...
Suppression de linux-headers-5.4.0-92 (5.4.0-92.103) ...
Suppression de linux-modules-extra-5.4.0-92-generic (5.4.0-92.103) ...
Suppression de linux-image-5.4.0-92-generic (5.4.0-92.103) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: nvidia 470.86 (5.4.0-92-generic) (x86_64)
-------- Uninstall Beginning --------
Module: nvidia
Version: 470.86
Kernel: 5.4.0-92-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/drivers/char/drm/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-modeset.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/drivers/char/drm/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-drm.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/drivers/char/drm/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-uvm.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/drivers/char/drm/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-peermem.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/drivers/char/drm/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
dkms: removing: tuxedo-keyboard-ite 0.2.3 (5.4.0-92-generic) (x86_64)
-------- Uninstall Beginning --------
Module: tuxedo-keyboard-ite
Version: 0.2.3
Kernel: 5.4.0-92-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
tuxedo_keyboard_ite.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/lib//
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
ite_8297.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/lib//
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
ite_8291.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-92-generic/kernel/lib//
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-92-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-96-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-96-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-94-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-94-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-80-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-80-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-26-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de linux-modules-5.4.0-92-generic (5.4.0-92.103) ...
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ df -h
df: /run/user/1000/doc: Opération non permise
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 7,7G 0 7,7G 0% /dev
tmpfs 1,6G 1,9M 1,6G 1% /run
/dev/mapper/vgmint-root 914G 117G 751G 14% /
tmpfs 7,8G 4,0K 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/sda2 705M 417M 237M 64% /boot
/dev/sda1 511M 5,3M 506M 2% /boot/efi
tmpfs 1,6G 32K 1,6G 1% /run/user/1000
/home/linuxing/.Private 914G 117G 751G 14% /home/linuxing
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$
Code : Tout sélectionner
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$ df -h
df: /run/user/1000/doc: Opération non permise
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 7,7G 0 7,7G 0% /dev
tmpfs 1,6G 1,9M 1,6G 1% /run
/dev/mapper/vgmint-root 914G 117G 751G 14% /
tmpfs 7,8G 4,0K 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/sda2 705M 116M 538M 18% /boot
/dev/sda1 511M 5,3M 506M 2% /boot/efi
tmpfs 1,6G 20K 1,6G 1% /run/user/1000
/home/linuxing/.Private 914G 117G 751G 14% /home/linuxing
linuxing@linuxing-TUXEDO-Polaris-17-Intel-Gen1:~$