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.

#1 Le 19/05/2020, à 17:58

malbo

[Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Dans ce post, je compare l'installation automatique de Lubuntu 20.04 avec l'installation automatique de Lubuntu 18.04.4. Dans les deux cas, je choisis "Effacer le disque" afin que l'installateur prenne tout en charge. J'ai fait ces manips suite à cette discussion créée par Satellune dans laquelle j'ai constaté avec stupeur qu'il n'y avait pas de swap dans son Lubuntu 20.04 : https://forum.ubuntu-fr.org/viewtopic.php?id=2052851
Je mentionne "Résolu" dans le titre de la discussion pour éviter qu'un couillon veuille me venir en aide.

1) Installation de Lubuntu 20.04 avec le choix "Effacer le disque" :
1589911215.png1589911259.png1589911300.png
Boot-info depuis une session du Lubuntu installé :

boot-info-4ppa122                                              [20200519_1528]

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

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

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

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


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

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

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-26-generic root=UUID=b659c363-2519-47a2-8177-571111918fa8 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu	HD(1,GPT,adeade29-77db-324c-aa6e-8537bc2572f5,0x1000,0x96000)/File(\EFI\ubuntu\shimx64.efi)

bed45d1c9554cea09924d3814cb7c446   sda1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/BOOT/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
98bea152fadd26c4e9136916f6cc32a8   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
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-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,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: 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
sdb1	: isnotESP,	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
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 32 GiB, 34359738368 bytes, 67108864 sectors
Disk identifier: A3ED8EA9-278A-AE46-9417-3303DFA3523A
       Start      End  Sectors  Size Type
sda1    4096   618495   614400  300M EFI System
sda2  618496 67103504 66485009 31.7G Linux filesystem
Disk sdb: 20.13 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0x972b5d6e
      Boot Start      End  Sectors  Size Id Type
sdb1        2048 42213375 42211328 20.1G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:34.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:2097kB:317MB:315MB:fat32::boot, esp;
2:317MB:34.4GB:34.0GB:ext4::;
sdb:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:21.6GB:21.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                      
├─sda1 vfat   D169-3420                            adeade29-77db-324c-aa6e-8537bc2572f5                  
└─sda2 ext4   b659c363-2519-47a2-8177-571111918fa8 4405ffd0-a847-5441-9f2a-e982e5fdbf79                  
sdb                                                                                                      
└─sdb1 ext4   b5202220-c509-4fb1-8791-95b709bf3f9e 972b5d6e-01                          clonezilla_image 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda2    24.6G  16% /
sdb1      12G  34% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda2   rw,relatime
sdb1   rw,relatime

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

search.fs_uuid b659c363-2519-47a2-8177-571111918fa8 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   b659c363-2519-47a2-8177-571111918fa8
Ubuntu, with Linux 5.4.0-26-generic   b659c363-2519-47a2-8177-571111918fa8
### 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>
UUID=D169-3420                            /boot/efi      vfat    umask=0077 0 2
UUID=b659c363-2519-47a2-8177-571111918fa8 /              ext4    defaults   0 1

======================= 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)
  28,678291321 = 30,793080832   boot/grub/grub.cfg                             2
   1,560543060 = 1,675620352    boot/vmlinuz                                   2
   1,560543060 = 1,675620352    boot/vmlinuz-5.4.0-26-generic                  2
   1,560543060 = 1,675620352    boot/vmlinuz.old                               2
   1,639350891 = 1,760239616    boot/initrd.img                                2
   1,639350891 = 1,760239616    boot/initrd.img-5.4.0-26-generic               2
   1,639350891 = 1,760239616    boot/initrd.img.old                            2

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 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 sda1/efi/****/shim****.efi (**** will be updated in the final message) file!

L'extrait suivant montre qu'il n'y a pas de fichier swap (pas de ligne de montage dans le fichier fstab) :

========================== sda2/etc/fstab (filtered) ===========================

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=D169-3420                            /boot/efi      vfat    umask=0077 0 2
UUID=b659c363-2519-47a2-8177-571111918fa8 /              ext4    defaults   0 1


2) Installation de Lubuntu 18.04.4 avec le choix "Effacer le disque et installer Lubuntu" :

1589911380.png1589911453.png

Boot-info depuis une session du Lubuntu 18.04.4 installé :

boot-info-4ppa122                                              [20200519_1833]

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

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

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

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


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

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

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.3.0-51-generic root=UUID=394773a0-b405-44ef-8ce5-646c69ff1487 ro quiet splash vt.handoff=1


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

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

efibootmgr -v
BootCurrent: 0001
BootOrder: 0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu	HD(1,GPT,c5e45bef-9b69-4ce2-96b4-87ff079e6b05,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)

bed45d1c9554cea09924d3814cb7c446   sda1/BOOT/fbx64.efi
256fe27540b54b71cf38110338247688   sda1/ubuntu/fwupx64.efi
64a633007e3d5a9a5943e417442548d6   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   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
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-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,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: 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
sdb1	: isnotESP,	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
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 32 GiB, 34359738368 bytes, 67108864 sectors
Disk identifier: BF317A4A-6062-4925-BD62-B2FE3D24E15C
        Start      End  Sectors  Size Type
sda1     2048  1050623  1048576  512M EFI System
sda2  1050624 67106815 66056192 31.5G Linux filesystem
Disk sdb: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0x972b5d6e
      Boot Start      End  Sectors  Size Id Type
sdb1        2048 42213375 42211328 20.1G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:34.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:34.4GB:33.8GB:ext4::;
sdb:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:21.6GB:21.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                      
├─sda1 vfat   440D-29DD                            c5e45bef-9b69-4ce2-96b4-87ff079e6b05                  EFI System Partition
└─sda2 ext4   394773a0-b405-44ef-8ce5-646c69ff1487 d2d20409-b053-4155-a7d3-a33d3f17b245                  
sdb                                                                                                      
└─sdb1 ext4   b5202220-c509-4fb1-8791-95b709bf3f9e 972b5d6e-01                          clonezilla_image 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda2    23.7G  18% /
sdb1      12G  34% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda2   rw,relatime,errors=remount-ro
sdb1   rw,relatime

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

search.fs_uuid 394773a0-b405-44ef-8ce5-646c69ff1487 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   394773a0-b405-44ef-8ce5-646c69ff1487
Ubuntu, avec Linux 5.3.0-51-generic   394773a0-b405-44ef-8ce5-646c69ff1487
Ubuntu, avec Linux 5.3.0-28-generic   394773a0-b405-44ef-8ce5-646c69ff1487
### END /etc/grub.d/30_os-prober ###
System setup   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=394773a0-b405-44ef-8ce5-646c69ff1487 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=440D-29DD  /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)
   8.754131317 = 9.399676928    boot/grub/grub.cfg                             3
   3.594722748 = 3.859804160    boot/vmlinuz-5.3.0-28-generic                  2
  21.079811096 = 22.634274816   boot/vmlinuz-5.3.0-51-generic                  1
   3.594722748 = 3.859804160    vmlinuz                                        2
  21.461910248 = 23.044550656   boot/initrd.img-5.3.0-28-generic               2
  21.641540527 = 23.237427200   boot/initrd.img-5.3.0-51-generic               4
  21.461910248 = 23.044550656   initrd.img                                     2
  21.461910248 = 23.044550656   initrd.img.old                                 2

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 12693 nov.  11  2019 10_linux
-rwxr-xr-x 1 root root 11298 nov.  11  2019 20_linux_xen
-rwxr-xr-x 1 root root 12059 nov.  11  2019 30_os-prober
-rwxr-xr-x 1 root root  1418 nov.  11  2019 30_uefi-firmware
-rwxr-xr-x 1 root root   214 nov.  11  2019 40_custom
-rwxr-xr-x 1 root root   216 nov.  11  2019 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 sda1/efi/****/shim****.efi (**** will be updated in the final message) file!

L'extrait suivant montre qu'il y a un fichier swap :

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=394773a0-b405-44ef-8ce5-646c69ff1487 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=440D-29DD  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

Conclusion :
Je pense qu'il s'agit d'une régression de l'installateur de Lubuntu. Pour moi, ce n'est pas normal qu'il n'y ait pas de création de fichier swap par l’installateur de Lubuntu 20.04
Les vues que j'ai collées révèlent bien que l'installateur de la version 20.04 est construit différemment de l’installeur de la version 18.04.4.

Dernière modification par malbo (Le 19/05/2020, à 18:25)

Hors ligne

#2 Le 19/05/2020, à 19:55

inbox

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Salut,

Que répond cette commande sur la 20.04 ?

sudo swapon

A+


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#3 Le 20/05/2020, à 09:18

malbo

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Bonjour,
J'ai dû réinstaller Lubuntu 20.04 pour répondre à ta question. Du coup, j'ai rajouté d'autres commandes pour compléter l'information.

malbo@malbo--pc:~$ sudo swapon
[sudo] Mot de passe de malbo : 
malbo@malbo--pc:~$ sudo swapon
malbo@malbo--pc:~$ free
              total       utilisé      libre     partagé tamp/cache   disponible
Mem:        2034216      632760      658348       36076      743108     1209396
Partition d'échange:           0           0           0
malbo@malbo--pc:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=A2BD-F59B                            /boot/efi      vfat    umask=0077 0 2
UUID=1709a200-1ea8-4362-b1e1-d43ef1146c60 /              ext4    defaults   0 1
malbo@malbo--pc:~$ 

EDIT : dans la foulée, j'ai refait un Boot-info depuis la session Lubuntu et je le colle ci-dessous :

boot-info-4ppa122                                              [20200520_1024]

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

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

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

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


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

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

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-26-generic root=UUID=1709a200-1ea8-4362-b1e1-d43ef1146c60 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu	HD(1,GPT,6368f676-8598-1243-a25a-726f7b410a54,0x1000,0x96000)/File(\EFI\ubuntu\shimx64.efi)

bed45d1c9554cea09924d3814cb7c446   sda1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/BOOT/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
98bea152fadd26c4e9136916f6cc32a8   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
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-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,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: 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
sdb1	: isnotESP,	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
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 32 GiB, 34359738368 bytes, 67108864 sectors
Disk identifier: 7DFE8F93-C2BA-5042-B659-130A0AABEE93
       Start      End  Sectors  Size Type
sda1    4096   618495   614400  300M EFI System
sda2  618496 67103504 66485009 31.7G Linux filesystem
Disk sdb: 20.13 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0x972b5d6e
      Boot Start      End  Sectors  Size Id Type
sdb1        2048 42213375 42211328 20.1G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:34.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:2097kB:317MB:315MB:fat32::boot, esp;
2:317MB:34.4GB:34.0GB:ext4::;
sdb:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:21.6GB:21.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                      
├─sda1 vfat   A2BD-F59B                            6368f676-8598-1243-a25a-726f7b410a54                  
└─sda2 ext4   1709a200-1ea8-4362-b1e1-d43ef1146c60 5c9d3191-c249-bc49-8e14-caca5260bfea                  
sdb                                                                                                      
└─sdb1 ext4   b5202220-c509-4fb1-8791-95b709bf3f9e 972b5d6e-01                          clonezilla_image 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda2    24.6G  16% /
sdb1      12G  34% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda2   rw,relatime
sdb1   rw,relatime

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

search.fs_uuid 1709a200-1ea8-4362-b1e1-d43ef1146c60 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   1709a200-1ea8-4362-b1e1-d43ef1146c60
Ubuntu, with Linux 5.4.0-26-generic   1709a200-1ea8-4362-b1e1-d43ef1146c60
### 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>
UUID=A2BD-F59B                            /boot/efi      vfat    umask=0077 0 2
UUID=1709a200-1ea8-4362-b1e1-d43ef1146c60 /              ext4    defaults   0 1

======================= 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)
   2,580825806 = 2,771140608    boot/grub/grub.cfg                             1
  20,615230560 = 22,135435264   boot/vmlinuz                                   2
  20,615230560 = 22,135435264   boot/vmlinuz-5.4.0-26-generic                  2
  20,615230560 = 22,135435264   boot/vmlinuz.old                               2
  20,703804016 = 22,230540288   boot/initrd.img                                3
  20,703804016 = 22,230540288   boot/initrd.img-5.4.0-26-generic               3
  20,703804016 = 22,230540288   boot/initrd.img.old                            3

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 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 sda1/efi/****/shim****.efi (**** will be updated in the final message) file!

J'espère que ce sera suffisant pour te convaincre que l'installateur de Lubuntu 20.04 ne crée pas de fichier swap.

Dernière modification par malbo (Le 20/05/2020, à 09:39)

Hors ligne

#4 Le 20/05/2020, à 10:55

inbox

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Oui, effectivement, il n'y en a pas. J'aurai espéré qu'un fichier soit créé.


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#5 Le 20/05/2020, à 11:10

geole

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Bonjour Malbo
Que donne la commande

ls  -ls /swa*

C'est peut-être une nouvelle façon de gérer le swap avec un service    qui se met en place en absence de passé (Partition ou fichier)

Dernière modification par geole (Le 20/05/2020, à 11:11)


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

En ligne

#6 Le 20/05/2020, à 13:23

malbo

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

@geole : voici le résultat :

malbo@malbo--pc:~$ ls  -ls /swa*
ls: impossible d'accéder à '/swa*': Aucun fichier ou dossier de ce type
malbo@malbo--pc:~$ 

J'avoue que je ne comprends pas ce que tu t'attendais à trouver. J'ai tenté de comprendre si ça avait un rapport avec ce que tu as mentionné plus bas : "C'est peut-être une nouvelle façon de gérer le swap avec un service qui se met en place en absence de passé (Partition ou fichier)" mais je ne trouve pas.

Hors ligne

#7 Le 20/05/2020, à 13:36

geole

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Il était possible que le fichier swapfile existe et qu'un bug ait oublié de mettre à jour le fichier /etc/fstab
Par exemple, si on fabrique  manuellement un tel fichier après avoir supprimé la partition swap, il ne faut pas oublier de le définir dans /etc/fstab

Il me semble que Lubuntu n'a pas nécessairement la même logique que ubuntu, d'ou cette idée de changement de fonctionnement. Il faudrait que tu regardes si le service en question existe  et est actif


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

En ligne

#8 Le 20/05/2020, à 17:27

malbo

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

geole a écrit :

Il était possible que le fichier swapfile existe et qu'un bug ait oublié de mettre à jour le fichier /etc/fstab

OK
Je ne vais pas faire ce que tu me suggères - voir si un service existe pour gérer la swap dans Lubuntu - je n'ai ni l'envie ni la compétence pour me lancer là-dedans.
Une manip que j'ai faite en parallèle, c'est de vérifier que Xubuntu n'a pas ce défaut : l'installateur de Xubuntu - comme l'installateur de Ubuntu - crée bien un fichier swap quand on choisit "Effacer le disque et installer..." J'en retire que je vais conseiller Xubuntu 20.04 plutôt que Lubuntu 20.04 quand j'en aurai l'occasion.

Hors ligne

#9 Le 21/05/2020, à 08:42

geole

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Bonjour Malbo
En cherchant dans les discussions anglaises, j'ai vu un utilisateur se plaindre que Lubuntu passait son temps à se figer alors qu'il fonctionnait très bien en version 19.10.  Mais personne ne semble l'avoir traduit en bug .
Sachant que Lubuntu est principalement destiné aux ordinateurs ayant peu de mémoire et que les versions 32 bits  n'existent plus, c'est condamner cette version à disparaître. Peut-être envisager antix lorsqu'il sera mature en trouvant autre chose que firefox qui consomme quasiment tout l'espace en RAM lorsqu'on ne dispose que de 512 Mo.

AJOUT: Je viens de voir qu'en installant par la méthode "autre chose" on peut allouer une partition de swap.

Dernière modification par geole (Le 21/05/2020, à 13:15)


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

En ligne

#10 Le 22/05/2020, à 05:47

malbo

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Oui, je viens de vérifier qu'on peut ajouter une partition swap en refaisant quasiment l'installation. Je suis parti de l'installation qu'on peut voir dans le Boot-info du post #3. Je vais décrire comment j'ai procédé 
1) lancement de l'installation de Lubuntu 20.04 avec le choix "Partitionnement manuel" :
C'est fait depuis une session live de Lubuntu 20.04
1590126370.png
Dans la partie "Actuel", on voit l'installation qui correspond au Boot-info du post #3

2) partition EFI (/dev/sda1) :
Il est nécessaire de s'en occuper parce que l'installateur ne la reconnaît pas comme partition EFI mais seulement comme partition FAT32. Je choisis de conserver son contenu (je ne suis pas sûr d'avoir bien fait) et je sélectionne son point de montage /boot/efi dans le menu déroulant
1590126425.png1590126468.png

3) réduction de la taille de la partition racine (/dev/sda2) :
Le but c'est de dégager de la place pour la partition swap qui doit être créée. Je réduis la taille de la partition racine de 2 Go afin de laisser une zone de 2 Go non allouée.
1590126656.png1590126716.png1590126796.png

4) création de la partition swap dans l'espace libéré :
1590127013.png1590127370.png1590127427.png

5) suite de l'installation :
On voit le récapitulatif de ce qui va être fait. Désolé pour la partie coupée...
1590127513.png

6) État des lieux depuis Lubuntu installé :

Boot-info :

boot-info-4ppa122                                              [20200521_1949]

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

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

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

sda3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


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

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

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-26-generic root=UUID=eb1298a2-e8a0-40ae-865a-272766027913 ro quiet splash resume=UUID=d0ed5491-d0a4-4820-ad1a-09cb8f32f981 vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu	HD(1,GPT,6368f676-8598-1243-a25a-726f7b410a54,0x1000,0x96000)/File(\EFI\ubuntu\shimx64.efi)

bed45d1c9554cea09924d3814cb7c446   sda1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/BOOT/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
98bea152fadd26c4e9136916f6cc32a8   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
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-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,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: 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
sdb1	: isnotESP,	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
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 32 GiB, 34359738368 bytes, 67108864 sectors
Disk identifier: 7DFE8F93-C2BA-5042-B659-130A0AABEE93
         Start      End  Sectors  Size Type
sda1      4096   618495   614400  300M EFI System
sda2    618496 63006719 62388224 29.8G Linux filesystem
sda3  63006720 67108830  4102111    2G Linux swap
Disk sdb: 20.13 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0x972b5d6e
      Boot Start      End  Sectors  Size Id Type
sdb1        2048 42213375 42211328 20.1G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:34.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:2097kB:317MB:315MB:fat32::boot, esp;
2:317MB:32.3GB:31.9GB:ext4::;
3:32.3GB:34.4GB:2100MB:linux-swap(v1)::swap;
sdb:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:21.6GB:21.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                      
├─sda1 vfat   A2BD-F59B                            6368f676-8598-1243-a25a-726f7b410a54                  
├─sda2 ext4   eb1298a2-e8a0-40ae-865a-272766027913 134f9582-74b1-b540-99ac-f2ad45567fc2                  
└─sda3 swap   d0ed5491-d0a4-4820-ad1a-09cb8f32f981 b631420c-6eda-ec49-adf0-fceace9805a6                  
sdb                                                                                                      
└─sdb1 ext4   b5202220-c509-4fb1-8791-95b709bf3f9e 972b5d6e-01                          clonezilla_image 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda2    22.7G  17% /
sdb1      12G  34% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda2   rw,relatime
sdb1   rw,relatime

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

search.fs_uuid eb1298a2-e8a0-40ae-865a-272766027913 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   eb1298a2-e8a0-40ae-865a-272766027913
Ubuntu, with Linux 5.4.0-26-generic   eb1298a2-e8a0-40ae-865a-272766027913
### 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>
UUID=A2BD-F59B                            /boot/efi      vfat    umask=0077 0 2
UUID=eb1298a2-e8a0-40ae-865a-272766027913 /              ext4    defaults   0 1
UUID=d0ed5491-d0a4-4820-ad1a-09cb8f32f981 swap           swap    defaults   0 2

======================= 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 resume=UUID=d0ed5491-d0a4-4820-ad1a-09cb8f32f981"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  16,500335693 = 17,717100544   boot/grub/grub.cfg                             2
   1,550445557 = 1,664778240    boot/vmlinuz                                   2
   1,550445557 = 1,664778240    boot/vmlinuz-5.4.0-26-generic                  2
   1,550445557 = 1,664778240    boot/vmlinuz.old                               2
   1,628417969 = 1,748500480    boot/initrd.img                                2
   1,628417969 = 1,748500480    boot/initrd.img-5.4.0-26-generic               2
   1,628417969 = 1,748500480    boot/initrd.img.old                            2

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 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 sda1/efi/****/shim****.efi (**** will be updated in the final message) file!

On y voit bien que le fichier fstab contient la ligne de montage de la partition swap :

========================== sda2/etc/fstab (filtered) ===========================

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=A2BD-F59B                            /boot/efi      vfat    umask=0077 0 2
UUID=eb1298a2-e8a0-40ae-865a-272766027913 /              ext4    defaults   0 1
UUID=d0ed5491-d0a4-4820-ad1a-09cb8f32f981 swap           swap    defaults   0 2

J'ai fait aussi cette capture pour montrer que la swap existe pour de vrai :
1590128016.png

Commentaire : c'est un peu compliqué pour parvenir à une installation de Lubuntu 20.04 qui soit équipée d'une partition swap.

Dernière modification par malbo (Le 22/05/2020, à 06:23)

Hors ligne

#11 Le 22/05/2020, à 08:24

moko138

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Merci de l'info, malbo !  smile


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#12 Le 22/05/2020, à 08:44

Nasman

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Et qu'est ce que cela donne en installation mode bios (et non pas uefi) ?


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#13 Le 22/05/2020, à 09:02

malbo

Re : [Résolu] L'installateur de Lubuntu 20.04 ne crée pas de fichier swap

Nasman a écrit :

Et qu'est ce que cela donne en installation mode bios (et non pas uefi) ?

Bonjour,
C'est la même chose. C'est à dire que l'installateur de Lubuntu 20.04 ne crée pas de swap. Même si une partition swap existe avant l'installation, elle n'est pas prise en compte pendant l'installation comme on peut voir dans ce post d'une autre discussion : https://forum.ubuntu-fr.org/viewtopic.p … #p22284857 (on se retrouve avec aucune swap : ni fichier swap, ni partition swap).
En fait, pour parvenir à avoir une swap, il faut créer la partition swap pendant l'installation - avec le choix "Partitionnement manuel" - et c'est ce que j'ai vérifié dans ce post : https://forum.ubuntu-fr.org/viewtopic.p … #p22288726
Moi, ça ne m'étonne pas que la "politique" de gestion de la swap soit la même - en l'occurrence, qu'elle soit aussi mauvaise - que ce soit pour une installation en mode EFI ou pour une installation en mode Bios.

Hors ligne