Bonjour,
merci pour le TUTO je vais voir si je peux en faire autant, j'ai créé la clef boutable avec la 20.04 et LiLi USB Creator, j'ai testé sur un autre micro à priori c'est bon.
il faut que je sauvegarde mon Home sur un autre disque car je pense qu'il faut revoir complètement les partitions du disque
pour info un boot info du début juin :
boot-info-4ppa124 [20200603_1536]
============================== 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 (,msdos6)/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 cfed4461-0f3d-49be-ab80-71b628b7a88b root hd0,msdos4
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 286392 of the same hard drive for
core.img. core.img is at this location and looks for
(,msdos3)/grub. It also embeds following components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System:
Boot files: /grub/grub.cfg /grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.1 LTS on sda6
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.1 LTS, bionic, 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, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 63 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, grubenv-ng, noupdategrub, not-far
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda6 : 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
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda3 : is-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : 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
sdb2 : 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: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x00f61d3b
Boot Start End Sectors Size Id Type
sda2 * 2052094 1953523711 1951471618 930.5G 5 Extended
sda3 2048 2050047 2048000 1000M 83 Linux
sda5 195715072 1953523711 1757808640 838.2G 83 Linux
sda6 2052096 195714205 193662110 92.4G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x29442943
Boot Start End Sectors Size Id Type
sdb1 63 585939547 585939485 279.4G c W95 FAT32 (LBA)
sdb2 * 585939548 976773167 390833620 186.4G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA DT01ACA1:;
3:1049kB:1050MB:1049MB:ext4::;
2:1051MB:1000GB:999GB:::boot;
6:1051MB:100GB:99.2GB:ext4::;
5:100GB:1000GB:900GB:ext4::;
sdb:500GB:scsi:512:512:msdos:ATA WDC WD5000AADS-0:;
1:32.3kB:300GB:300GB:fat32::lba;
2:300GB:500GB:200GB:ext4::boot;
sr0:1953MB:scsi:2048:2048:mac:PIONEER DVD-RW DVR-111D:;
1:2048B:6143B:4096B::Apple:;
2:1913MB:1916MB:2392kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
fd0
sda
├─sda2 00f61d3b-02
├─sda3 ext4 20d28f0e-375e-4d85-b9b3-18242a329ea6 00f61d3b-03
├─sda5 ext4 07086274-de3d-4d5b-9652-69a85974756b 00f61d3b-05
└─sda6 ext4 9872beb2-4aaf-4eb1-ba00-ca7133987ac3 00f61d3b-06
sdb
├─sdb1 vfat BEBC-AD9D 29442943-01 Sauvegarde
└─sdb2 ext4 28796f55-e466-47fc-bc62-c3b7d0c3ae5c 29442943-02 Dispo
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda3 812.5M 9% /mnt/boot-sav/sda3
sda5 654.5G 15% /media/ubuntu/07086274-de3d-4d5b-9652-69a85974756b
sda6 79.3G 7% /media/ubuntu/9872beb2-4aaf-4eb1-ba00-ca7133987ac3
sdb1 174.3G 38% /mnt/boot-sav/sdb1
sdb2 173.9G 0% /mnt/boot-sav/sdb2
Mount options: __________________________________________________________________
sda3 rw,relatime,data=ordered
sda5 rw,nosuid,nodev,relatime,data=ordered
sda6 rw,nosuid,nodev,relatime,data=ordered
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,relatime,data=ordered
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9872beb2-4aaf-4eb1-ba00-ca7133987ac3
Ubuntu, avec Linux 4.15.0-29-generic 9872beb2-4aaf-4eb1-ba00-ca7133987ac3
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=9872beb2-4aaf-4eb1-ba00-ca7133987ac3 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=07086274-de3d-4d5b-9652-69a85974756b /home ext4 defaults 0 2
/swapfile none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
======================= sda6/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=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
53.272403717 = 57.200807936 boot/grub/grub.cfg 1
35.213508606 = 37.810216960 boot/grub/i386-pc/core.img 1
35.211921692 = 37.808513024 boot/vmlinuz-4.15.0-29-generic 1
35.211921692 = 37.808513024 vmlinuz 1
53.278240204 = 57.207074816 boot/initrd.img-4.15.0-29-generic 6
53.278240204 = 57.207074816 initrd.img 6
53.278240204 = 57.207074816 initrd.img.old 6
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12693 juil. 17 2018 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 17 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 juil. 17 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 17 2018 40_custom
-rwxr-xr-x 1 root root 216 juil. 17 2018 41_custom
======================== sda3/grub/grub.cfg (filtered) =========================
Ubuntu cfed4461-0f3d-49be-ab80-71b628b7a88b
Ubuntu, with Linux 4.15.0-88-generic cfed4461-0f3d-49be-ab80-71b628b7a88b
Ubuntu, with Linux 4.15.0-76-generic cfed4461-0f3d-49be-ab80-71b628b7a88b
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.250587463 = 0.269066240 grub/grub.cfg 2
0.224864960 = 0.241446912 grub/i386-pc/core.img 1
0.247047424 = 0.265265152 vmlinuz-4.15.0-76-generic 2
0.168926239 = 0.181383168 vmlinuz-4.15.0-88-generic 1
0.316127777 = 0.339439616 initrd.img-4.15.0-76-generic 4
0.188472748 = 0.202371072 initrd.img-4.15.0-88-generic 3
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[238548]) leaked on lvs invocation. Parent PID 7006: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to reset grubenv) and reinstall the grub2 of
sda6 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA TOSHIBA DT01ACA1) disk!
un formatage complet serait peut-être le mieux.