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 13/10/2020, à 22:21

Moumoub

Mise à niveau 20.04

Bonsoir à tous,
J'ai enfin décidé de faire une mise a niveau 18.04 vers 20.04.
Je passe par l'interface graphique et au redémarrage : écran blanc après l'écran d'accueil avec "Oh mince! Quelque chose s'est mal passé. Un problème est survenu et le système ne peut pas se rétablir. Deconnectez vous et essayez à nouveau.". OK mais... Rien ne change.
J'ai lu que la carte NVIDIA pouvait être l'origine... En tous les cas, j'ai mis un LiveCD et ça tourne!
Est-il possible de corriger sans tout écraser ?

Merci de votre aide!

Hors ligne

#2 Le 13/10/2020, à 22:52

geole

Re : Mise à niveau 20.04

Bonsoir.
Il faudrait tenter de booter en mode recovery https://doc.ubuntu-fr.org/recovery_mode et finir l'installation en activant le reseau et devenir root et faire la commande

apt install -f

ou booter sur le noyau précédant.

Dernière modification par geole (Le 13/10/2020, à 22:53)


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

#3 Le 14/10/2020, à 12:44

Moumoub

Re : Mise à niveau 20.04

Merci de la réponse.
Tentative : "dpkg a été interrompu. Il est nécessaire...". J'ai donc saisi la commade dpkg --configure -a et... rien n'a changé! Ni après la saisi de la commande apt (même message), ni au redémarrage! :-(

Hors ligne

#4 Le 14/10/2020, à 12:59

malbo

Re : Mise à niveau 20.04

Bonjour,
C'est quoi le liveCD que tu mentionnes dans le post #1 ? Si c'est un LiveCD Ubuntu, je te prie de préciser de quelle version de Ubuntu il s'agit.

Hors ligne

#5 Le 14/10/2020, à 13:30

geole

Re : Mise à niveau 20.04

Bonjour
C'était le début

dpkg --configure -a
apt install -f
apt update
apt upgrade
apt full-upgrade

Dernière modification par geole (Le 14/10/2020, à 13:31)


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 14/10/2020, à 16:42

Moumoub

Re : Mise à niveau 20.04

malbo a écrit :

Bonjour,
C'est quoi le liveCD que tu mentionnes dans le post #1 ? Si c'est un LiveCD Ubuntu, je te prie de préciser de quelle version de Ubuntu il s'agit.

Ubuntu 20.04

Hors ligne

#7 Le 14/10/2020, à 16:43

Moumoub

Re : Mise à niveau 20.04

geole a écrit :

Bonjour
C'était le début

dpkg --configure -a
apt install -f
apt update
apt upgrade
apt full-upgrade

Eh bien après la première commande, je reviens sur l'écran d'accueil du mode recovery. Et si j'enchaîne sur install -f, ça me remet le même message :-(

Hors ligne

#8 Le 14/10/2020, à 17:02

geole

Re : Mise à niveau 20.04

As-tu essayé  de booter avec l'ancien noyau?

En recherchant dans internet, Il semble que cela soit un problème lié à l'écran, Ils proposent

egrep "\(EE|WW|NI|\?\?\)" /var/log/Xorg.0.log

afin de voir les erreurs. Je vais voir s'il existe d'autres pistes


Je ne sais pas si cela est bonne idée, Réinstaller tout l'environnement de bureau. Cela devrait être cette commande

apt   install --reinstall  ubuntu-desktop 

Dernière modification par geole (Le 14/10/2020, à 17:54)


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

#9 Le 15/10/2020, à 06:30

malbo

Re : Mise à niveau 20.04

Bonjour,
Si tu parviens à démarrer en session live sur ton LiveDVD Ubuntu 20.04, je te prie de faire un Boot-info depuis cette session live et de donner l'URL de ce Boot-info dans ta réponse. Je ne suis pas sûr qu'on y verra quelque chose mais ça vaut le coup de le faire à mon avis.

Hors ligne

#10 Le 16/10/2020, à 17:42

Moumoub

Re : Mise à niveau 20.04

malbo a écrit :

Bonjour,
Si tu parviens à démarrer en session live sur ton LiveDVD Ubuntu 20.04, je te prie de faire un Boot-info depuis cette session live et de donner l'URL de ce Boot-info dans ta réponse. Je ne suis pas sûr qu'on y verra quelque chose mais ça vaut le coup de le faire à mon avis.

Bonjour Malbo et merci/
Voici https://paste.ubuntu.com/p/yWhJCnq3Qs/

Hors ligne

#11 Le 16/10/2020, à 18:22

malbo

Re : Mise à niveau 20.04

Ton Boot-info est là :

boot-info-4ppa125                                              [20201016_1539]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos7)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid a6e9e19f-da24-423f-817d-e1222d9a8ae7 root hd0,msdos7 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 29720 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the /multiboot 
                       directory. The integrity check of the ADV area failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   Microsoft Windows XP Professionnel on sda1
OS#2:   Ubuntu 20.04.1 LTS on sda7

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

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda7	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ng,	update-grub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	fstab-without-efi,	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): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda7	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 37.28 GiB, 40020664320 bytes, 78165360 sectors
Disk identifier: 0x6021251b
      Boot    Start      End  Sectors  Size Id Type
sda1  *          63 40309951 40309889 19.2G  7 HPFS/NTFS/exFAT
sda2       40310782 78163967 37853186 18.1G  5 Extended
sda5       76494848 78163967  1669120  815M 82 Linux swap / Solaris
sda6       72826880 76484607  3657728  1.8G 82 Linux swap / Solaris
sda7       40310784 72824831 32514048 15.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x1a3aeb3a
      Boot Start       End   Sectors   Size Id Type
sdb1          63 976768064 976768002 465.8G  7 HPFS/NTFS/exFAT
Disk sdc: 28.84 GiB, 30943995904 bytes, 60437492 sectors
Disk identifier: 0xc1044c6a
      Boot Start      End  Sectors  Size Id Type
sdc1  *     2048 60436479 60434432 28.8G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:40.0GB:scsi:512:512:msdos:ATA WDC WD400BB-00JH:;
1:32.3kB:20.6GB:20.6GB:ntfs::boot;
2:20.6GB:40.0GB:19.4GB:::;
7:20.6GB:37.3GB:16.6GB:ext4::;
6:37.3GB:39.2GB:1873MB:linux-swap(v1)::;
5:39.2GB:40.0GB:855MB:linux-swap(v1)::;
sdb:500GB:scsi:512:512:msdos:ATA WDC WD5000AADS-0:;
1:32.3kB:500GB:500GB:ntfs::;
sdc:30.9GB:scsi:512:512:msdos:Kingston DataTraveler 3.0:;
1:1049kB:30.9GB:30.9GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL     PARTLABEL
sda                                                                                                 
├─sda1 ntfs     2CC87433C873FA02                     6021251b-01                          OS        
├─sda2                                               6021251b-02                                    
├─sda5 swap     3661efb7-2213-4b32-8cbc-77b78a7aa0fd 6021251b-05                                    
├─sda6 swap     303e4cb6-ca44-4125-8e7a-9a8dd71c43f2 6021251b-06                                    
└─sda7 ext4     a6e9e19f-da24-423f-817d-e1222d9a8ae7 6021251b-07                                    
sdb                                                                                                 
└─sdb1 ntfs     829CF8489CF8386D                     1a3aeb3a-01                          Donnees   
sdc                                                                                                 
└─sdc1 vfat     0FFD-2851                            c1044c6a-01                          MULTIBOOT 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1     4.2G  78% /mnt/boot-sav/sda1
sda7     2.3G  80% /mnt/boot-sav/sda7
sdb1     9.6G  98% /mnt/boot-sav/sdb1
sdc1    18.2G  37% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda7   rw,relatime
sdb1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1   ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

=========================== sda1/boot.ini (filtered) ===========================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /usepmtimer

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

Ubuntu   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-118-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-88-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Microsoft Windows XP Professionnel (sur sda1)   2CC87433C873FA02
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda7/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=a6e9e19f-da24-423f-817d-e1222d9a8ae7 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

======================= sda7/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  27.618194580 = 29.654810624   boot/grub/grub.cfg                             2
  25.855186462 = 27.761795072   boot/grub/i386-pc/core.img                     1
  32.541988373 = 34.941693952   boot/vmlinuz-4.15.0-118-generic                2
  20.565410614 = 22.081941504   boot/vmlinuz-4.15.0-88-generic                 2
  32.541988373 = 34.941693952   vmlinuz                                        2
  20.565410614 = 22.081941504   vmlinuz.old                                    2
  34.604118347 = 37.155889152   boot/initrd.img-4.15.0-118-generic            15
  31.517929077 = 33.842118656   boot/initrd.img-4.15.0-88-generic             21
  34.604118347 = 37.155889152   initrd.img                                    15
  31.517929077 = 33.842118656   initrd.img.old                                21

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

-rwxr-xr-x 1 root root 17622 Sep  8 10:24 10_linux
-rwxr-xr-x 1 root root 42359 Sep  8 10:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Sep  8 10:24 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1424 Sep  8 10:24 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom
-rwxr-xr-x 1 root root   216 Jul 17  2018 41_custom


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda2

00000000  8b 6d 96 69 ed 0a 76 a5  95 a7 27 ed b1 d4 28 47  |.m.i..v...'...(G|
00000010  c0 14 4d e0 d5 96 05 1e  3d 63 3c ea 60 cf da 6d  |..M.....=c<.`..m|
00000020  47 5d c1 a0 18 11 12 24  b9 92 76 b7 a3 2f 71 49  |G].....$..v../qI|
00000030  62 46 93 c4 4a d3 54 96  3d 5e dc f6 29 14 ca 64  |bF..J.T.=^..)..d|
00000040  5a ab 31 e0 ca 44 f1 28  a3 a2 3d a0 f2 c6 c4 9c  |Z.1..D.(..=.....|
00000050  8c f6 43 5d bc f5 71 0e  dc 9e 31 65 c8 1c 00 4e  |..C]..q...1e...N|
00000060  0a 90 53 dc 1a ff ff d3  53 c3 ca 5a 55 28 a6 53  |..S.....S..ZU(.S|
00000070  53 42 37 2f ff 6d d9 09  ea a9 d1 71 12 87 73 66  |SB7/.m.....q..sf|
00000080  cf 40 95 c9 8a 19 45 4b  99 13 7b 0f 58 60 13 16  |.@....EK..{.X`..|
00000090  21 e9 64 5e 6a 43 2d ab  bd 56 dc 7f 11 52 61 d3  |!.d^jC-..V...Ra.|
000000a0  a8 13 32 b1 e6 bb 3a 27  54 15 6e 20 e7 9a 79 9d  |..2...:'T.n ..y.|
000000b0  3e ca 2c dd 95 98 9b 5e  c7 32 4b 01 98 ad 4b c9  |>.,....^.2K...K.|
000000c0  47 4d 89 3d 4c 97 24 3b  30 31 77 62 e0 01 00 00  |GM.=L.$;01wb....|
000000d0  ff fb a4 64 2d 80 04 0a  58 4d 7b 26 1d 4a 6f 06  |...d-...XM{&.Jo.|
000000e0  f9 af 63 26 1b 10 a9 5f  33 ed 24 71 e9 cb 2d 26  |..c&..._3.$q..-&|
000000f0  bd 94 0a 7c b8 63 7a a1  06 b1 c0 58 e3 90 1d 6c  |...|.cz....X...l|
00000100  20 2e 7b 29 b3 83 ff d0  5d 07 99 93 1e 47 ec 59  | .{)....]....G.Y|
00000110  06 3d fc 72 88 d2 d4 93  bb 45 cc e8 8d 94 cc 49  |.=.r.....E.....I|
00000120  3d ff fb f3 86 cf 91 2a  19 1c 05 77 0c 8d a5 93  |=......*...w....|
00000130  06 59 14 ae 5a 2d a3 27  9c 80 68 df 9a 63 f9 25  |.Y..Z-.'..h..c.%|
00000140  ee d2 c1 68 57 41 d0 53  79 46 7b b1 de cd 10 5a  |...hWA.SyF{....Z|
00000150  47 94 dd 20 2c 83 32 62  5f d0 2a 17 1c bf 94 7c  |G.. ,.2b_.*....||
00000160  f3 31 b7 b3 9e d5 3a d7  da ae 11 71 74 63 a0 67  |.1....:....qtc.g|
00000170  48 a5 fc 35 60 99 56 06  6a 45 04 84 7f 15 6e cb  |H..5`.V.jE....n.|
00000180  d2 d7 55 8a ac 69 3c fc  bb d1 60 95 89 8c 49 4b  |..U..i<...`...IK|
00000190  6f d7 73 03 4c f3 89 38  42 4d 18 a2 65 c6 a4 03  |o.s.L..8BM..e...|
000001a0  3f 0e 18 e3 09 02 5e ad  fc aa 2a ee 44 e0 76 73  |?.....^...*.D.vs|
000001b0  2f b9 91 f3 fd a2 51 88  4e f1 49 3e 2a 0e 00 fe  |/.....Q.N.I>*...|
000001c0  ff ff 82 fe ff ff 02 20  28 02 00 78 19 00 00 fe  |....... (..x....|
000001d0  ff ff 05 fe ff ff 02 20  f0 01 00 d8 37 00 00 00  |....... ....7...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

/usr/share/boot-sav/b-i-s-functions.sh: line 884: [: 2.73495e+09: integer expression expected
File descriptor 63 (pipe:[142379]) leaked on lvs invocation. Parent PID 5053: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to reset grubenv) and reinstall the grub2 of
sda7 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sda (ATA WDC WD400BB-00JH) disk!

Il y a quelque chose qui ne va pas dans cet extrait :

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

           GiB - GB             File                                 Fragment(s)
  27.618194580 = 29.654810624   boot/grub/grub.cfg                             2
  25.855186462 = 27.761795072   boot/grub/i386-pc/core.img                     1
  32.541988373 = 34.941693952   boot/vmlinuz-4.15.0-118-generic                2
  20.565410614 = 22.081941504   boot/vmlinuz-4.15.0-88-generic                 2
  32.541988373 = 34.941693952   vmlinuz                                        2
  20.565410614 = 22.081941504   vmlinuz.old                                    2
  34.604118347 = 37.155889152   boot/initrd.img-4.15.0-118-generic            15
  31.517929077 = 33.842118656   boot/initrd.img-4.15.0-88-generic             21
  34.604118347 = 37.155889152   initrd.img                                    15
  31.517929077 = 33.842118656   initrd.img.old                                21

Tu n'as que des noyaux de la famille 4.15 qui sont certainement tes anciens noyaux de 18.04. Mais tu n'as aucun noyau de Ubuntu 20.04 (famille 5.4)

EDIT : si tu n'as pas de données précieuses stockées dans ce Ubuntu moribond, je te suggère de supprimer les deux partitions swap qui ne servent à rien ainsi que la partition racine de Ubuntu. Puis de faire une installation toute neuve de Ubuntu 20.04.1 dans la place libérée.

Dernière modification par malbo (Le 16/10/2020, à 18:42)

Hors ligne

#12 Le 16/10/2020, à 19:06

geole

Re : Mise à niveau 20.04

Bonjour
effectivement!

====================== sda7/boot/grub/grub.cfg (filtered) ======================
buntu   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-118-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-88-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Microsoft Windows XP Professionnel (sur sda1)   2CC87433C873FA02
================================ 2 OS detected =================================
OS#1:   Microsoft Windows XP Professionnel on sda1
OS#2:   Ubuntu 20.04.1 LTS on sda7
============================ Architect

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

#13 Le 18/10/2020, à 00:26

Moumoub

Re : Mise à niveau 20.04

Merci pour vos retours.
J'ai finalement pris l'option de tout réinstaller. J'ai récupéré mon répertoire home.
Installation sans problème, redémarrage, écran d'accueil Ubuntu, écran NVIDIA et... Écran noir !

Hors ligne

#14 Le 18/10/2020, à 07:15

malbo

Re : Mise à niveau 20.04

Bonjour,
Je te prie de démarrer en session live sur ton LiveDVD Ubuntu 20.04, de refaire un Boot-info depuis cette session live et de donner l'URL de ce Boot-info dans ta réponse.

Hors ligne

#15 Le 18/10/2020, à 08:06

Moumoub

Re : Mise à niveau 20.04

malbo a écrit :

Bonjour,
Je te prie de démarrer en session live sur ton LiveDVD Ubuntu 20.04, de refaire un Boot-info depuis cette session live et de donner l'URL de ce Boot-info dans ta réponse.

Merci Malbo!
Voici : https://paste.ubuntu.com/p/Vc9XWWt8ZY/

Hors ligne

#16 Le 18/10/2020, à 09:55

malbo

Re : Mise à niveau 20.04

Bonjour,
Ton dernier Boot-info ( https://paste.ubuntu.com/p/Vc9XWWt8ZY/ ) est là :

boot-info-4ppa125                                              [20201018_0604]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos7)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 0763db0d-f012-4071-8e22-e4afde12d3e1 root hd1,msdos7 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda3: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
    Boot sector info:  Syslinux looks at sector 29720 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the /multiboot 
                       directory. The integrity check of the ADV area failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   Microsoft Windows XP Professionnel on sda1
OS#2:   Ubuntu 20.04.1 LTS on sda7

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

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda7	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	fstab-has-goodEFI,	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): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda7	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 37.28 GiB, 40020664320 bytes, 78165360 sectors
Disk identifier: 0x6021251b
      Boot    Start      End  Sectors  Size Id Type
sda1  *          63 40309951 40309889 19.2G  7 HPFS/NTFS/exFAT
sda2       41363454 78163967 36800514 17.6G  5 Extended
sda3       40310784 41361407  1050624  513M  b W95 FAT32
sda5       76494848 78163967  1669120  815M 82 Linux swap / Solaris
sda6       72826880 76484607  3657728  1.8G 82 Linux swap / Solaris
sda7       41363456 72824831 31461376   15G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x1a3aeb3a
      Boot Start       End   Sectors   Size Id Type
sdb1  *       63 976768064 976768002 465.8G  7 HPFS/NTFS/exFAT
Disk sdc: 28.84 GiB, 30943995904 bytes, 60437492 sectors
Disk identifier: 0xc1044c6a
      Boot Start      End  Sectors  Size Id Type
sdc1  *     2048 60436479 60434432 28.8G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:40.0GB:scsi:512:512:msdos:ATA WDC WD400BB-00JH:;
1:32.3kB:20.6GB:20.6GB:ntfs::boot;
3:20.6GB:21.2GB:538MB:fat32::;
2:21.2GB:40.0GB:18.8GB:::;
7:21.2GB:37.3GB:16.1GB:ext4::;
6:37.3GB:39.2GB:1873MB:linux-swap(v1)::;
5:39.2GB:40.0GB:855MB:linux-swap(v1)::;
sdb:500GB:scsi:512:512:msdos:ATA WDC WD5000AADS-0:;
1:32.3kB:500GB:500GB:ntfs::boot;
sdc:30.9GB:scsi:512:512:msdos:Kingston DataTraveler 3.0:;
1:1049kB:30.9GB:30.9GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL     PARTLABEL
sda                                                                                                 
├─sda1 ntfs     2CC87433C873FA02                     6021251b-01                          OS        
├─sda2                                               6021251b-02                                    
├─sda3 vfat     76BE-00C7                            6021251b-03                                    
├─sda5 swap     3661efb7-2213-4b32-8cbc-77b78a7aa0fd 6021251b-05                                    
├─sda6 swap     303e4cb6-ca44-4125-8e7a-9a8dd71c43f2 6021251b-06                                    
└─sda7 ext4     0763db0d-f012-4071-8e22-e4afde12d3e1 6021251b-07                                    
sdb                                                                                                 
└─sdb1 ntfs     829CF8489CF8386D                     1a3aeb3a-01                          Donnees   
sdc                                                                                                 
└─sdc1 vfat     0FFD-2851                            c1044c6a-01                          MULTIBOOT 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1     3.6G  81% /mnt/boot-sav/sda1
sda3     512M   0% /mnt/boot-sav/sda3
sda7     6.6G  50% /mnt/boot-sav/sda7
sdb1     7.6G  98% /mnt/boot-sav/sdb1
sdc1    18.2G  37% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda7   rw,relatime
sdb1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1   ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

=========================== sda1/boot.ini (filtered) ===========================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /usepmtimer

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

Ubuntu   0763db0d-f012-4071-8e22-e4afde12d3e1
Ubuntu, avec Linux 5.4.0-51-generic   0763db0d-f012-4071-8e22-e4afde12d3e1
Ubuntu, avec Linux 5.4.0-42-generic   0763db0d-f012-4071-8e22-e4afde12d3e1
Microsoft Windows XP Professionnel (sur sdb1)   2CC87433C873FA02
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda7/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb7 during installation
UUID=0763db0d-f012-4071-8e22-e4afde12d3e1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb3 during installation
UUID=76BE-00C7  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda7/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  27.983631134 = 30.047195136   boot/grub/grub.cfg                             2
  28.089427948 = 30.160793600   boot/grub/i386-pc/core.img                     1
  26.664196014 = 28.630462464   boot/vmlinuz                                   1
  24.718868256 = 26.541682688   boot/vmlinuz-5.4.0-42-generic                  1
  26.664196014 = 28.630462464   boot/vmlinuz-5.4.0-51-generic                  1
  24.718868256 = 26.541682688   boot/vmlinuz.old                               1
  27.605716705 = 29.641412608   boot/initrd.img                                6
  25.504116058 = 27.384836096   boot/initrd.img-5.4.0-42-generic               3
  27.605716705 = 29.641412608   boot/initrd.img-5.4.0-51-generic               6
  25.504116058 = 27.384836096   boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 17622 Sep  8 10:24 10_linux
-rwxr-xr-x 1 root root 42359 Sep  8 10:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jul 31 00:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 31 00:34 30_os-prober
-rwxr-xr-x 1 root root  1424 Jul 31 00:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31 00:34 40_custom
-rwxr-xr-x 1 root root   216 Jul 31 00:34 41_custom


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda2

00000000  70 9c 61 ce af 01 00 00  78 61 ba 38 7e 2d 00 00  |p.a.....xa.8~-..|
00000010  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
00000020  02 00 42 03 00 00 00 00  00 00 00 00 00 00 00 00  |..B.............|
00000030  d0 f8 be 38 7e 2d 00 00  20 7a d1 a6 e2 17 00 00  |...8~-.. z......|
00000040  60 41 ba 38 7e 2d 00 00  78 61 ba 38 7e 2d 00 00  |`A.8~-..xa.8~-..|
00000050  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
00000060  00 00 42 02 00 00 00 00  00 00 00 00 00 00 00 00  |..B.............|
00000070  30 f8 be 38 7e 2d 00 00  00 00 00 00 00 00 00 00  |0..8~-..........|
00000080  60 41 ba 38 7e 2d 00 00  78 61 ba 38 7e 2d 00 00  |`A.8~-..xa.8~-..|
00000090  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
000000a0  01 00 42 02 00 00 00 00  00 00 00 00 00 00 00 00  |..B.............|
000000b0  80 f8 be 38 7e 2d 00 00  00 00 00 00 00 00 00 00  |...8~-..........|
000000c0  a0 9c 61 ce af 01 00 00  78 61 ba 38 7e 2d 00 00  |..a.....xa.8~-..|
000000d0  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
000000e0  00 00 62 02 00 00 00 00  00 00 00 00 00 00 00 00  |..b.............|
000000f0  20 f9 be 38 7e 2d 00 00  00 6c 62 ce af 01 00 00  | ..8~-...lb.....|
00000100  d0 9c 61 ce af 01 00 00  78 61 ba 38 7e 2d 00 00  |..a.....xa.8~-..|
00000110  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
00000120  00 00 62 02 00 00 00 00  00 00 00 00 00 00 00 00  |..b.............|
00000130  70 f9 be 38 7e 2d 00 00  20 6c 62 ce af 01 00 00  |p..8~-.. lb.....|
00000140  00 9d 61 ce af 01 00 00  78 61 ba 38 7e 2d 00 00  |..a.....xa.8~-..|
00000150  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
00000160  01 00 62 02 00 00 00 00  00 00 00 00 00 00 00 00  |..b.............|
00000170  c0 f9 be 38 7e 2d 00 00  40 6c 62 ce af 01 00 00  |...8~-..@lb.....|
00000180  30 9d 61 ce af 01 00 00  78 61 ba 38 7e 2d 00 00  |0.a.....xa.8~-..|
00000190  00 00 00 00 00 00 00 00  28 b5 98 67 c5 7f 00 00  |........(..g....|
000001a0  00 00 62 02 00 00 00 00  00 00 00 00 00 00 00 00  |..b.............|
000001b0  10 fa be 38 7e 2d 00 00  30 88 bd 38 7e 2d 00 fe  |...8~-..0..8~-..|
000001c0  ff ff 82 fe ff ff 02 10  18 02 00 78 19 00 00 fe  |...........x....|
000001d0  ff ff 05 fe ff ff 02 10  e0 01 00 d8 37 00 00 00  |............7...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

/usr/share/boot-sav/b-i-s-functions.sh: line 884: [: 2.73495e+09: integer expression expected
File descriptor 63 (pipe:[127287]) leaked on lvs invocation. Parent PID 4862: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda7 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sda (ATA WDC WD400BB-00JH) disk!

Il me semble que l'installation est fonctionnelle même si elle n'est pas parfaite (je t'avais dit de supprimer les deux partitions swap qui sont inutiles mais je vois qu'elles sont toujours là).
Essaie de démarrer en sélectionnant les options avancées dans le menu Grub au démarrage puis en choisissant l'entrée en mode de dépannage (recovery mode). Raconte si tu parviens à ouvrir une session par ce moyen.

Dernière modification par malbo (Le 18/10/2020, à 09:56)

Hors ligne

#17 Le 18/10/2020, à 10:12

Moumoub

Re : Mise à niveau 20.04

Je croyais que l'installation allait justement tout remettre d’aplomb! Je veux bien les supprimer mais je ne vois pas comment faire (parce que je ne vois pas lesquels exactement)

Hors ligne

#18 Le 18/10/2020, à 10:44

Moumoub

Re : Mise à niveau 20.04

Une fois sur la console du mode revovery, je dois prendre quelle option

Hors ligne

#19 Le 18/10/2020, à 13:03

malbo

Re : Mise à niveau 20.04

L'option "resume"

Hors ligne

#20 Le 18/10/2020, à 13:20

Moumoub

Re : Mise à niveau 20.04

C'est ce que j'ai fait et même écran noir sad

Hors ligne

#21 Le 18/10/2020, à 14:52

malbo

Re : Mise à niveau 20.04

Désolé mais je suis sec. Je ne sais pas quoi te proposer.

Hors ligne

#22 Le 18/10/2020, à 15:13

geole

Re : Mise à niveau 20.04

Bonjour
Vraiment a tout hasard;  Comme il existe deux noyaux.

====================== sda7/boot/grub/grub.cfg (filtered) ======================
Ubuntu   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-118-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Ubuntu, avec Linux 4.15.0-88-generic   a6e9e19f-da24-423f-817d-e1222d9a8ae7
Microsoft Windows XP Professionnel (sur sda1)   2CC87433C873FA02

As-tu essayé le recovery-mode avec le second noyau.

Pour le swap

========================== sda7/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb7 during installation
UUID=0763db0d-f012-4071-8e22-e4afde12d3e1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb3 during installation
UUID=76BE-00C7  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0 

Ton installation a fabriqué un fichier de swap. Donc les deux partitions de swap peuvent être supprimées  si tu le souhaites.

sda5       76494848 78163967  1669120  815M 82 Linux swap / Solaris
sda6       72826880 76484607  3657728  1.8G 82 Linux swap / Solaris

En mode recovery, peux-tu essayer de te mettre root et de faire la commande

ls /home

afin de vérifier que ton nom d'utilisateur est bien présent.

Dernière modification par geole (Le 18/10/2020, à 15: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

#23 Le 19/10/2020, à 09:08

Moumoub

Re : Mise à niveau 20.04

Merci une nouvelle fois de vos contributions.
Pas de soucis Malbo.
Geole je vais essayer, mais pas avant le WE prochain.
Je vous tiendrais au courant.
En revanche je suis preneur de la manip' pour effacer les swap désignés

Hors ligne

#24 Le 19/10/2020, à 11:11

FrancisFDZ

Re : Mise à niveau 20.04

Bonjour,

Moumoub a écrit :

Merci une nouvelle fois de vos contributions.
Pas de soucis Malbo.
Geole je vais essayer, mais pas avant le WE prochain.
Je vous tiendrais au courant.
En revanche je suis preneur de la manip' pour effacer les swap désignés

Pour supprimer les partitions de swap, on passe généralement par gparted : on supprime les partitions inutiles et on récupère éventuellement la place dégagée en agrandissant les autres partitions.
Attention : comme on ne peut pas (sous linux) modifier une partition en cours d'utilisation, il est recommandé de lancer gparted à partir d'une session live.

Dernière modification par FrancisFDZ (Le 19/10/2020, à 11:13)


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#25 Le 19/10/2020, à 11:49

MicP

Re : Mise à niveau 20.04

FrancisFDZ a écrit :

… Attention : comme on ne peut pas (sous linux) modifier une partition en cours d'utilisation, il est recommandé de lancer gparted à partir d'une session live. …

S'il faut effectivement démonter un système de fichiers pour pouvoir réduire la taille de la partition qui le contient,

ce n'est pas nécessaire de le faire s'il s'agit d'agrandir cette partition et agrandir le système de fichiers de cette partition
même si le système de fichiers qu'elle contient est en cours d'utilisation (<=> à chaud)

=======
@Moumoub

Donc, depuis ton système ubuntu, lance GParted,
et comme elles ne sont pas en cours d'utilisation,
tu pourras supprimer les partitions de swap /dev/sda5 et /dev/sda6
Puis clique sur la coche verte pour Appliquer toutes les opérations

Ensuite, avec GParted, tu pourras agrandir la partition /dev/sda7 même si elle est en cours d'utilisation.
En agrandissant cette partition, GParted agrandira automatiquement le système de fichiers qu'elle contient pour utiliser tout l'espace disponible dans cette partition.

=======
Ci-dessous, j'ai lancé la commande df avant et après l'agrandissement de 2GB (avec GParted)
de la partition et du système de fichiers racine utilisé par mon système Xubuntu en cours d'utilisation.

Le système de fichiers utilisé par la racine de mon système Xubuntu est passé de 16GB à 18GB.

michel@ubuT450:~$ df -htext4
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sda5           16G    8,1G  6,8G  55% /
michel@ubuT450:~$ df -htext4
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sda5           18G    8,1G  8,2G  50% /
michel@ubuT450:~$ 

Dernière modification par MicP (Le 19/10/2020, à 12:27)

Hors ligne