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 11/01/2019, à 18:32

fylb

[Résolu] boot repair ne repare pas...

Bonsoir
Question de novice avec un clavier qwerty... ordinateur asus X200M sur lequel j ai remplace le disque par un ssd pour oublier windows
J ai installe ubuntu mate 16 04 lts sans dual boot il a plus d un an, puis fait la mise a jour cet ete sans difficulte, puis apres quelques semaines plus de boot, je tombe sur grub>
Je boot a partir de la clef usb avec ubuntu mate 18 04 et lance boot repair mais la reparation par defaut produit des erreurs.
La premiere:
touch: cannot touch '/boot/initrd.img-4.15.0-38-generic.new': Unknown error 4094
Boot info script est ici:
http://paste.ubuntu.com/p/X5t3CyVpc9/
qui ecrit pourtant:
The default repair of the Boot-Repair utility would purge ...

Merci pour votre aide et bon we

Dernière modification par fylb (Le 12/01/2019, à 11:15)


Laptop Pro lenovo ubuntu 16 04
Laptop perso Asus ubuntu 18 04

Hors ligne

#2 Le 11/01/2019, à 19:12

zolar

Re : [Résolu] boot repair ne repare pas...

Bonsoir
As-tu essayé de démarrer sur un ancien noyau? advanced options for Ubuntu dans le Grub.


PC bureau HP : Ubuntu 18.04.2
Portable EliteBook : Ubuntu 18.04
Eee PC : Lubuntu 18.04
PC de Mamie : Ubuntu Mate 18.04, PC de Papy : Zorin 12.4

Hors ligne

#3 Le 11/01/2019, à 19:36

fylb

Re : [Résolu] boot repair ne repare pas...

Il semble que grub n'arrive pas jusque là. Je n'arrive pas à ouvrir le menu pour obtenir "advanced options" et les anciens noyaux. Il s'arrête à
Minimal BASH-like line editing is supported....
grub>
si je tape boot il dit
error: you need to load the kernel first


Laptop Pro lenovo ubuntu 16 04
Laptop perso Asus ubuntu 18 04

Hors ligne

#4 Le 11/01/2019, à 20:11

Nuliel

Re : [Résolu] boot repair ne repare pas...

Bonjour,

As tu un live usb sous la main?
Le pc s'est il brutalement coupé?
La partition ext2 contient les noyaux?

Hors ligne

#5 Le 11/01/2019, à 20:44

fylb

Re : [Résolu] boot repair ne repare pas...

1 oui j'ai redémarré avec une clef pour utiliser boot repair
2. Non il ne redémarre pas après un arrêt prolongé
3. Je ne sais pas et croyais que c'était écrit dans boot info mais mes compétences sont limitées.
Merci


Laptop Pro lenovo ubuntu 16 04
Laptop perso Asus ubuntu 18 04

Hors ligne

#6 Le 11/01/2019, à 20:52

malbo

Re : [Résolu] boot repair ne repare pas...

Bonsoir,
Ton Boot-Info est là :

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) 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/ubuntu/grub.cfg /EFI/BOOT/fbx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 16392 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

ubuntu-mate-vg-root: ___________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.1 LTS
    Boot files:        /etc/fstab

ubuntu-mate-vg-swap_1: _________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 447.1 GiB, 480113590272 bytes, 937721856 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   937,721,855   937,721,855  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2             1,050,624     2,050,047       999,424 Data partition (Linux)
/dev/sda3             2,050,048   937,719,807   935,669,760 Logical Volume Manager (LVM) partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     7,831,551     7,829,504   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/mapper/ubuntu--mate--vg-root 7b196749-e36b-447d-8762-4296eb43829f   ext4       
/dev/mapper/ubuntu--mate--vg-swap_1 8ae32fa8-804e-40ae-a40a-1c769866c0d9   swap       
/dev/sda1        13C9-758E                              vfat       
/dev/sda2        3ff4fda9-49a5-45fb-9365-59f9a81b66c2   ext2       
/dev/sda3        yrCFKU-wkNV-QS3m-eztb-xTb7-z0Nj-lJvu9V LVM2_member 
/dev/sdb1        2AE0-0F56                              vfat       UBUNTU-MATE

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Jan 11 16:00 ata-SanDisk_SSD_PLUS_480_GB_174373446715 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 11 16:00 ata-SanDisk_SSD_PLUS_480_GB_174373446715-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 11 16:00 ata-SanDisk_SSD_PLUS_480_GB_174373446715-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 11 16:00 ata-SanDisk_SSD_PLUS_480_GB_174373446715-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 11 16:00 dm-name-ubuntu--mate--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jan 11 16:00 dm-name-ubuntu--mate--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jan 11 16:00 dm-uuid-LVM-oYyMbJlwfe7mwO6FFgUCG4TYO3nDFHR4uIeymwozPIQy3xzxRyJ7UEjhmtSrTIKV -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jan 11 16:00 dm-uuid-LVM-oYyMbJlwfe7mwO6FFgUCG4TYO3nDFHR4uOBSWL7NaUHyE06sc5jviXLQ9DqPZNYS -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jan 11 16:00 lvm-pv-uuid-yrCFKU-wkNV-QS3m-eztb-xTb7-z0Nj-lJvu9V -> ../../sda3
lrwxrwxrwx 1 root root  9 Jan 11 16:00 usb-General_USB_Flash_Disk_032700000003A8E6-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 11 16:00 usb-General_USB_Flash_Disk_032700000003A8E6-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan 11 16:00 wwn-0x5001b444a9b7f886 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 11 16:00 wwn-0x5001b444a9b7f886-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 11 16:00 wwn-0x5001b444a9b7f886-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 11 16:00 wwn-0x5001b444a9b7f886-part3 -> ../../sda3

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
ubuntu--mate--vg-root
ubuntu--mate--vg-swap_1

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 3ff4fda9-49a5-45fb-9365-59f9a81b66c2 root hd0,gpt2 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   0.922737122 = 0.990781440    vmlinuz-4.15.0-33-generic                      9
   0.975585938 = 1.047527424    initrd.img-4.15.0-33-generic                  17
   0.925700188 = 0.993963008    initrd.img-4.15.0-38-generic                  19

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

set timeout=5
menuentry "Try Ubuntu MATE without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet splash ---
	initrd	/casper/initrd
}
menuentry "Install Ubuntu MATE" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu-mate.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu-mate.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

======================== ubuntu-mate-vg-root/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>
/dev/mapper/ubuntu--mate--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda2 during installation
#UUID=3ff4fda9-49a5-45fb-9365-59f9a81b66c2 /boot           ext2    defaults        0       2
# /boot/efi was on /dev/sda1 during installation
#UUID=13C9-758E  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/ubuntu--mate--vg-swap_1 none            swap    sw              0       0
UUID=3ff4fda9-49a5-45fb-9365-59f9a81b66c2	/boot	ext2	defaults	0	2
UUID=13C9-758E	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/4217/mountinfo) leaked on lvs invocation. Parent PID 13415: bash
File descriptor 63 (pipe:[64712]) leaked on lvs invocation. Parent PID 13415: bash
File descriptor 9 (/proc/4217/mountinfo) leaked on lvchange invocation. Parent PID 14145: bash
File descriptor 63 (pipe:[64712]) leaked on lvchange invocation. Parent PID 14145: bash
File descriptor 9 (/proc/4217/mountinfo) leaked on lvchange invocation. Parent PID 14145: bash
File descriptor 63 (pipe:[64712]) leaked on lvchange invocation. Parent PID 14145: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20190111_1600 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/sda1: UUID="13C9-758E" TYPE="vfat" PARTUUID="abbfcb1a-cbce-4891-9a4c-a8a25f94e6d1"
/dev/sda2: UUID="3ff4fda9-49a5-45fb-9365-59f9a81b66c2" TYPE="ext2" PARTUUID="0fb11a7d-9c46-4b42-b936-608a520dc65b"
/dev/sdb1: LABEL="UBUNTU-MATE" UUID="2AE0-0F56" TYPE="vfat" PARTUUID="000d420e-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/sda3: UUID="yrCFKU-wkNV-QS3m-eztb-xTb7-z0Nj-lJvu9V" TYPE="LVM2_member" PARTUUID="b3fba483-c11d-4c02-beec-914d465cc7e5"
/dev/mapper/ubuntu--mate--vg-root: UUID="7b196749-e36b-447d-8762-4296eb43829f" TYPE="ext4"
/dev/mapper/ubuntu--mate--vg-swap_1: UUID="8ae32fa8-804e-40ae-a40a-1c769866c0d9" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 9 (/proc/4217/mountinfo) leaked on vgscan invocation. Parent PID 4229: /bin/bash
Reading volume groups from cache.
Found volume group "ubuntu-mate-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/4217/mountinfo) leaked on vgchange invocation. Parent PID 4229: /bin/bash
2 logical volume(s) in volume group "ubuntu-mate-vg" now active
File descriptor 9 (/proc/4217/mountinfo) leaked on lvscan invocation. Parent PID 4229: /bin/bash
LVSCAN:
ACTIVE            '/dev/ubuntu-mate-vg/root' [<442.27 GiB] inherit
ACTIVE            '/dev/ubuntu-mate-vg/swap_1' [3.89 GiB] inherit
Gtk-Message: 16:00:37.976: GtkDialog mapped without a transient parent. This is discouraged.
Is there RAID on this computer? no
File descriptor 9 (/proc/4217/mountinfo) leaked on vgs invocation. Parent PID 6327: grub-probe
File descriptor 9 (/proc/4217/mountinfo) leaked on vgs invocation. Parent PID 6327: grub-probe
boot-repair is executed in live-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set sda as corresponding disk of mapper/ubuntu--mate--vg-root

=================== os-prober:
/dev/mapper/ubuntu--mate--vg-root:Ubuntu 18.04.1 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="13C9-758E" TYPE="vfat" PARTUUID="abbfcb1a-cbce-4891-9a4c-a8a25f94e6d1"
/dev/sda2: UUID="3ff4fda9-49a5-45fb-9365-59f9a81b66c2" TYPE="ext2" PARTUUID="0fb11a7d-9c46-4b42-b936-608a520dc65b"
/dev/sdb1: LABEL="UBUNTU-MATE" UUID="2AE0-0F56" TYPE="vfat" PARTUUID="000d420e-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/sda3: UUID="yrCFKU-wkNV-QS3m-eztb-xTb7-z0Nj-lJvu9V" TYPE="LVM2_member" PARTUUID="b3fba483-c11d-4c02-beec-914d465cc7e5"
/dev/mapper/ubuntu--mate--vg-root: UUID="7b196749-e36b-447d-8762-4296eb43829f" TYPE="ext4"
/dev/mapper/ubuntu--mate--vg-swap_1: UUID="8ae32fa8-804e-40ae-a40a-1c769866c0d9" TYPE="swap"

[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set sda as corresponding disk of mapper/ubuntu--mate--vg-root

1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi


=================== mapper/ubuntu--mate--vg-root/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of mapper/ubuntu--mate--vg-root: UUID=13C9-758E	 (sda1)
/boot detected in the fstab of mapper/ubuntu--mate--vg-root: UUID=3ff4fda9-49a5-45fb-9365-59f9a81b66c2	 (sda2)
ls /sys/firmware/efi/vars : new_var,del_var,USBCHARGE_VAR-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,StdDefaults-4599d26f-1a11-49b8-b91f-858745cff824,Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb,PCI_COMMON-aca9f304-21e2-4852-9875-7ff4881d67a5,MonotonicCounter-01368881-c4ad-4b1d-b631-d57a8ec8db6b,HobRomImage-dde1bc72-d45e-4209-ab85-14462d2f5074,FPDT_Variable-01368881-c4ad-4b1d-b631-d57a8ec8db6b,EfiTime-9d0da369-540b-46f8-85a0-2b5f2c301e15,AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a,ASUSSetupDefault-f1920447-7a78-4c0d-a028-ba9d003985e8,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v
No BootOrder is set; firmware will attempt recovery

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: sda,	is-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-maybe-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda2.
mapper/ubuntu--mate--vg-root	: sda,	not-sepboot,	no-grubenv	nogrub,	grub-pc ,	no-update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-has-goodBOOT,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	nogrubinstall,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mapper/ubuntu--mate--vg-root.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:480GB:scsi:512:512:gpt:ATA SanDisk SSD PLUS:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:1050MB:512MB:ext2::;
3:1050MB:480GB:479GB:::lvm;

BYT;
/dev/sdb:4010MB:scsi:512:512:msdos:General USB Flash Disk:;
1:1049kB:4010MB:4009MB:fat32::boot, lba;

BYT;
/dev/mapper/ubuntu--mate--vg-root:475GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:475GB:475GB:ext4::;

BYT;
/dev/mapper/ubuntu--mate--vg-swap_1:4178MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:4178MB:4178MB:linux-swap(v1)::;

=================== lsblk:
KNAME TYPE FSTYPE        SIZE LABEL
loop0 loop squashfs      1.8G
loop1 loop squashfs     86.9M
loop2 loop squashfs      7.9M
loop3 loop squashfs     71.7M
loop4 loop squashfs     86.7M
sda   disk             447.1G
sda1  part vfat          512M
sda2  part ext2          488M
sda3  part LVM2_member 446.2G
sdb   disk               3.8G
sdb1  part vfat          3.8G UBUNTU-MATE
dm-0  lvm  ext4        442.3G
dm-1  lvm  swap          3.9G

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/4917
loop2    1  1  0         /snap/pulsemixer/23
loop3    1  1  0         /snap/software-boutique/31
loop4    1  1  0         /snap/ubuntu-mate-welcome/169
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0         /mnt/boot-sav/sda2
sda3     0  0  0
sdb      1  0  1 running
sdb1     1  0  1         /cdrom
dm-0     0  0  0 running /mnt/boot-sav/mapper/ubuntu--mate--vg-root
dm-1     0  0  0 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1940764k,nr_inodes=485191,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=392392k,mode=755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15073)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=392388k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/var/lib/snapd/snaps/core_4917.snap on /snap/core/4917 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/pulsemixer_23.snap on /snap/pulsemixer/23 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/software-boutique_31.snap on /snap/software-boutique/31 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/ubuntu-mate-welcome_169.snap on /snap/ubuntu-mate-welcome/169 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/mapper/ubuntu--mate--vg-root on /mnt/boot-sav/mapper/ubuntu--mate--vg-root type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout ubuntu-mate-vg uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control ubuntu--mate--vg-root ubuntu--mate--vg-swap_1

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 fe 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 8e 75 c9 13 4e  4f 20 4e 41 4d 45 20 20  |..).u..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  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

=================== df -Th:

Filesystem                        Type      Size  Used Avail Use% Mounted on
udev                              devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs                             tmpfs     384M  1.5M  382M   1% /run
/dev/sdb1                         vfat      3.8G  1.9G  1.9G  51% /cdrom
/dev/loop0                        squashfs  1.8G  1.8G     0 100% /rofs
/cow                              overlay   1.9G  415M  1.5G  22% /
tmpfs                             tmpfs     1.9G   28M  1.9G   2% /dev/shm
tmpfs                             tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs                             tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs                             tmpfs     1.9G  8.0K  1.9G   1% /tmp
tmpfs                             tmpfs     384M   52K  384M   1% /run/user/999
/dev/loop1                        squashfs   87M   87M     0 100% /snap/core/4917
/dev/loop2                        squashfs  8.0M  8.0M     0 100% /snap/pulsemixer/23
/dev/loop3                        squashfs   72M   72M     0 100% /snap/software-boutique/31
/dev/loop4                        squashfs   87M   87M     0 100% /snap/ubuntu-mate-welcome/169
/dev/sda1                         vfat      511M  6.1M  505M   2% /mnt/boot-sav/sda1
/dev/sda2                         ext2      473M  150M  299M  34% /mnt/boot-sav/sda2
/dev/mapper/ubuntu--mate--vg-root ext4      436G  130G  284G  32% /mnt/boot-sav/mapper/ubuntu--mate--vg-root

=================== fdisk -l:
Disk /dev/loop0: 1.8 GiB, 1917960192 bytes, 3746016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 7.9 MiB, 8294400 bytes, 16200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 71.7 MiB, 75120640 bytes, 146720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 86.7 MiB, 90923008 bytes, 177584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 447.1 GiB, 480113590272 bytes, 937721856 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A12060C4-0D5F-4E8E-8306-014FCAA17C6E

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1050623   1048576   512M EFI System
/dev/sda2  1050624   2050047    999424   488M Linux filesystem
/dev/sda3  2050048 937719807 935669760 446.2G Linux LVM


Disk /dev/sdb: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000d420e

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *     2048 7831551 7829504  3.8G  c W95 FAT32 (LBA)


Disk /dev/mapper/ubuntu--mate--vg-root: 442.3 GiB, 474883293184 bytes, 927506432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ubuntu--mate--vg-swap_1: 3.9 GiB, 4177526784 bytes, 8159232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Gtk-Message: 16:00:57.766: GtkDialog mapped without a transient parent. This is discouraged.
/boot detected. Please check the options.


=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--mate--vg-root, using the following options:        sda2/boot, 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 BIOS boot on sda1/efi/.../grub*.efi file!


=================== User settings
The settings chosen by the user will not act on the boot.

On voit des trucs bizarres un peu partout. Je pense que c'est Boot-repair qui t'a aidé à foutre le binz. Tu devrais tout réinstaller à neuf sans utiliser de chiffrement de l'install et sans utiliser LVM.

Hors ligne

#7 Le 12/01/2019, à 11:11

fylb

Re : [Résolu] boot repair ne repare pas...

Merci pour l'avis,
Je ne sais pas trop lire "boot info" et pensais naïvement que "Suggested repair" était fiable. Je vais me résoudre à réinstaller sad mais en le faisant plus rigoureusement notamment sur la gestion des tailles de partition.
bon we


Laptop Pro lenovo ubuntu 16 04
Laptop perso Asus ubuntu 18 04

Hors ligne