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 24/02/2017, à 11:28

ubumartin

[résolu] probleme de démarrage

Bonjour,

Suite à une mise à jour qui s'est mal passée, mon ordi démarre systématiquement avec le memtest, et impossible d'aller plus loin (quand je fais ESC, l'ordi reboot à nouveau sur le memtest). Je ne crois pas être en RAID, et je n'utilise sur cet ordi qu'ubuntu (une version récente, 16.quelque chose...), je n'ai pas de partition windows.

J'ai donc fait une live usb avec boot repair, et voici le rapport boot info :

http://paste.ubuntu.com/24057850/

J'ai essayé la réparation recommandée, mais très vite, il affiche "purger les kernels puis réinstaller le dernier kernel mapper/ubuntu--vg-root (ins)" et bloque là-dessus. Je l'ai laissé travailler une nuit entière, mais pas d'évolution.

Si je reboot la machine, le memtest recommence.

Quelqu'un peut-il m'aider ?
Merci.

Dernière modification par ubumartin (Le 24/02/2017, à 21:25)

Hors ligne

#2 Le 24/02/2017, à 11:39

malbo

Re : [résolu] probleme de démarrage

Ton Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
 => 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 (,msdos1)/grub.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.07
    Boot sector info:  Syslinux looks at sector 8200 of /dev/sda1 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 /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

sdb1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

ubuntu-vg-root: ________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

ubuntu-vg-swap_1: ______________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 2013 MB, 2013265920 bytes
255 heads, 63 sectors/track, 244 cylinders, total 3932160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     3,932,159     3,930,112   c W95 FAT32 (LBA)


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048       499,711       497,664  83 Linux
/dev/sdb2             501,758   625,141,759   624,640,002   5 Extended
/dev/sdb5             501,760   625,141,759   624,640,000  8e Linux LVM


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mapper/ubuntu--vg-root 870c08c7-6cf0-461f-835b-da8918510c27   ext4       
/dev/mapper/ubuntu--vg-swap_1 2cd1d371-f345-4912-8de2-c2ddc838b553   swap       
/dev/sda1        0CD1-8655                              vfat       BOOT-REPAIR
/dev/sdb1        42c09608-5481-4617-91b8-488de0a7d701   ext2       
/dev/sdb5        ugEFnc-6c6G-x7Eu-12xA-y4Mm-V9mU-QaQNCV LVM2_member 
/dev/zram0       c2ddb626-fed8-4a22-b4b1-dec875841e21   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Feb 24 09:08 ata-Hitachi_HTS545032B9A300_090604PB5306Q6H4BU7G -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 24 09:03 ata-Hitachi_HTS545032B9A300_090604PB5306Q6H4BU7G-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 24 09:03 ata-Hitachi_HTS545032B9A300_090604PB5306Q6H4BU7G-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Feb 24 09:03 ata-Hitachi_HTS545032B9A300_090604PB5306Q6H4BU7G-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Feb 24 09:03 ata-TSSTcorp_CDDVDW_TS-U633A -> ../../sr0
lrwxrwxrwx 1 root root 10 Feb 24 09:08 dm-name-ubuntu--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 24 09:08 dm-name-ubuntu--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 24 09:08 dm-uuid-LVM-QopmwsRWcBeej4nc02vgIBz4BdSZBitKJUMFmhu5V22axfBGxoueNmONl4EzwrGp -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 24 09:08 dm-uuid-LVM-QopmwsRWcBeej4nc02vgIBz4BdSZBitKSzDpwLXenVRzxaxfy9P9R7Nm5PLRbDgE -> ../../dm-1
lrwxrwxrwx 1 root root  9 Feb 24 09:08 usb-G___T_USB_Flash_Drive_7CC2FD3C-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 24 09:03 usb-G___T_USB_Flash_Drive_7CC2FD3C-0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Feb 24 09:08 wwn-0x5000cca599d01556 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 24 09:03 wwn-0x5000cca599d01556-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 24 09:03 wwn-0x5000cca599d01556-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Feb 24 09:03 wwn-0x5000cca599d01556-part5 -> ../../sdb5

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

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

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

Device           Mount_Point              Type       Options

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


=========================== sda1/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

menuentry "Boot-Repair-Disk session" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sda1/syslinux.cfg: ==============================

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

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

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

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/Qopmws-RWcB-eej4-nc02-vgIB-z4Bd-SZBitK/JUMFmh-u5V2-2axf-BGxo-ueNm-ONl4-EzwrGp'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/Qopmws-RWcB-eej4-nc02-vgIB-z4Bd-SZBitK/JUMFmh-u5V2-2axf-BGxo-ueNm-ONl4-EzwrGp'  870c08c7-6cf0-461f-835b-da8918510c27
else
  search --no-floppy --fs-uuid --set=root 870c08c7-6cf0-461f-835b-da8918510c27
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  42c09608-5481-4617-91b8-488de0a7d701
	else
	  search --no-floppy --fs-uuid --set=root 42c09608-5481-4617-91b8-488de0a7d701
	fi
	knetbsd	/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  42c09608-5481-4617-91b8-488de0a7d701
	else
	  search --no-floppy --fs-uuid --set=root 42c09608-5481-4617-91b8-488de0a7d701
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

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

Unknown BootLoader on ubuntu-vg-root


Unknown BootLoader on ubuntu-vg-swap_1



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

cat: write error: Broken pipe
File descriptor 10 (/proc/2231/mounts) leaked on lvs invocation. Parent PID 10944: bash
File descriptor 63 (pipe:[32838]) leaked on lvs invocation. Parent PID 10944: bash
File descriptor 10 (/proc/2231/mounts) leaked on lvchange invocation. Parent PID 11423: bash
File descriptor 63 (pipe:[32838]) leaked on lvchange invocation. Parent PID 11423: bash
  skip_dev_dir: Couldn't split up device name ubuntu-vg-root
  Volume group "ubuntu-vg-root" not found
  Skipping volume group ubuntu-vg-root
hexdump: /dev/mapper/ubuntu-vg-root: No such file or directory
hexdump: /dev/mapper/ubuntu-vg-root: No such file or directory
File descriptor 10 (/proc/2231/mounts) leaked on lvchange invocation. Parent PID 11423: bash
File descriptor 63 (pipe:[32838]) leaked on lvchange invocation. Parent PID 11423: bash
  skip_dev_dir: Couldn't split up device name ubuntu-vg-swap_1
  Volume group "ubuntu-vg-swap_1" not found
  Skipping volume group ubuntu-vg-swap_1
hexdump: /dev/mapper/ubuntu-vg-swap_1: No such file or directory
hexdump: /dev/mapper/ubuntu-vg-swap_1: No such file or directory

ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-02-24__09h03 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
BLKID BEFORE LVM ACTIVATION:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="BOOT-REPAIR" UUID="0CD1-8655" TYPE="vfat"
/dev/sdb1: UUID="42c09608-5481-4617-91b8-488de0a7d701" TYPE="ext2"
/dev/sdb5: UUID="ugEFnc-6c6G-x7Eu-12xA-y4Mm-V9mU-QaQNCV" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="870c08c7-6cf0-461f-835b-da8918510c27" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="2cd1d371-f345-4912-8de2-c2ddc838b553" TYPE="swap"
/dev/zram0: UUID="c2ddb626-fed8-4a22-b4b1-dec875841e21" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 10 (/proc/2231/mounts) leaked on vgscan invocation. Parent PID 2996: /bin/bash
Reading all physical volumes.  This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 10 (/proc/2231/mounts) leaked on vgchange invocation. Parent PID 2996: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 10 (/proc/2231/mounts) leaked on lvscan invocation. Parent PID 2996: /bin/bash
LVSCAN:
ACTIVE            '/dev/ubuntu-vg/root' [293.90 GiB] inherit
ACTIVE            '/dev/ubuntu-vg/swap_1' [3.93 GiB] inherit
Y a-t-il un RAID sur cet ordinateur ? no
File descriptor 10 (/proc/2231/mounts) leaked on lvs invocation. Parent PID 5032: /bin/sh
File descriptor 10 (/proc/2231/mounts) leaked on vgs invocation. Parent PID 5223: grub-probe
File descriptor 10 (/proc/2231/mounts) leaked on vgs invocation. Parent PID 5223: grub-probe
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set sda as corresponding disk of mapper/ubuntu--vg-root
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

=================== os-prober:
/dev/mapper/ubuntu--vg-root:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="BOOT-REPAIR" UUID="0CD1-8655" TYPE="vfat"
/dev/sdb1: UUID="42c09608-5481-4617-91b8-488de0a7d701" TYPE="ext2"
/dev/sdb5: UUID="ugEFnc-6c6G-x7Eu-12xA-y4Mm-V9mU-QaQNCV" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="870c08c7-6cf0-461f-835b-da8918510c27" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="2cd1d371-f345-4912-8de2-c2ddc838b553" TYPE="swap"
/dev/zram0: UUID="c2ddb626-fed8-4a22-b4b1-dec875841e21" TYPE="swap"

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

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

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x  2 root root         4096 janv. 29 18:47 grub.d
total 76
-rwxr-xr-x 1 root root  9791 déc.  17  2015 00_header
-rwxr-xr-x 1 root root  6258 mars  15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 juil. 23  2016 10_linux
-rwxr-xr-x 1 root root 11082 juil. 23  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai   15  2014 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mai   15  2014 40_custom
-rwxr-xr-x 1 root root   216 mai   15  2014 41_custom
-rw-r--r-- 1 root root   483 mai   15  2014 README




=================== mapper/ubuntu--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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
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"



=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sdb1	: sdb,	maybesepboot,	grubenv-ok	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	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,	/mnt/boot-sav/sdb1.
mapper/ubuntu--vg-root	: sda,	not-sepboot,	no-grubenv	grub2,	signed grub-pc ,	update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/mapper/ubuntu--vg-root.

sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	no-os,	2048 sectors * 512 bytes
sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	usb-disk,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: G & T USB Flash Drive (scsi)
Disk /dev/sda: 2013MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  2013MB  2012MB  primary  fat32        boot, lba


Model: ATA Hitachi HTS54503 (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type      File system  Flags
1      1049kB  256MB  255MB  primary   ext2         boot
2      257MB   320GB  320GB  extended
5      257MB   320GB  320GB  logical                lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-swap_1: 4219MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system     Flags
1      0.00B  4219MB  4219MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-root: 316GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
1      0.00B  316GB  316GB  ext4



                                                                          
Error: /dev/zram0: unrecognised disk label

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

BYT;
/dev/sda:2013MB:scsi:512:512:msdos:G & T USB Flash Drive;
1:1049kB:2013MB:2012MB:fat32::boot, lba;

BYT;
/dev/sdb:320GB:scsi:512:512:msdos:ATA Hitachi HTS54503;
1:1049kB:256MB:255MB:ext2::boot;
2:257MB:320GB:320GB:::;
5:257MB:320GB:320GB:::lvm;

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

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


                                                                          
Error: /dev/zram0: unrecognised disk label


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sda1 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)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext2 (rw)
/dev/mapper/ubuntu--vg-root on /mnt/boot-sav/mapper/ubuntu--vg-root type ext4 (rw)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight 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 holders inflight 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 holders inflight power queue range removable ro sda1 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 holders inflight power queue range removable ro sdb1 sdb2 sdb5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dri ecryptfs fb0 fb1 fd full fuse hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb5 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control ubuntu--vg-root ubuntu--vg-swap_1
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

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

Filesystem                  Type       Size  Used Avail Use% Mounted on
/cow                        overlayfs  1.9G   45M  1.9G   3% /
udev                        devtmpfs   1.9G   12K  1.9G   1% /dev
tmpfs                       tmpfs      389M  1.2M  388M   1% /run
/dev/sda1                   vfat       1.9G  614M  1.3G  33% /cdrom
/dev/loop0                  squashfs   549M  549M     0 100% /rofs
none                        tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs                       tmpfs      1.9G  8.0K  1.9G   1% /tmp
none                        tmpfs      5.0M     0  5.0M   0% /run/lock
none                        tmpfs      1.9G     0  1.9G   0% /run/shm
none                        tmpfs      100M   16K  100M   1% /run/user
/dev/sdb1                   ext2       236M  145M   79M  65% /mnt/boot-sav/sdb1
/dev/mapper/ubuntu--vg-root ext4       290G  155G  120G  57% /mnt/boot-sav/mapper/ubuntu--vg-root

=================== fdisk -l:

Disk /dev/sda: 2013 MB, 2013265920 bytes
255 heads, 63 sectors/track, 244 cylinders, total 3932160 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 identifier: 0x2a302c2d

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3932159     1965056    c  W95 FAT32 (LBA)

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 identifier: 0x00076bc3

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048      499711      248832   83  Linux
/dev/sdb2          501758   625141759   312320001    5  Extended
/dev/sdb5          501760   625141759   312320000   8e  Linux LVM

Disk /dev/mapper/ubuntu--vg-root: 315.6 GB, 315575238656 bytes
255 heads, 63 sectors/track, 38366 cylinders, total 616357888 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 identifier: 0x00000000


Disk /dev/mapper/ubuntu--vg-swap_1: 4219 MB, 4219469824 bytes
255 heads, 63 sectors/track, 512 cylinders, total 8241152 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 identifier: 0x00000000




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to enable-raid enable-lvm) and reinstall the grub2 of mapper/ubuntu--vg-root into the MBR of sda, using the following options:     kernel-purge
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (2013MB) !


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

La version qui est installée dans ton ordi est visible dans cet extrait :

=================== os-prober:
/dev/mapper/ubuntu--vg-root:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux

Le support que tu as utilisé pour faire ce Boot-Info est indiqué dans cet autre extrait qui mentionne "Boot-Repair-Disk" :

boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)

J'ai expliqué aujourd'hui même dans ce post que Boot-Repair-Disk est merdique. Pour réparer ton Ubuntu malade, je te recommande d'utiliser un support live de Ubuntu 16.04.1 64 bits. Tu peux utiliser cette recette pour réaliser une liveUSB équipée de cette version. Ensuite, tu pourras tenter de réparer avec Boot-Repair suivant le paragraphe 1.2 Installer Boot-Repair depuis une session live (DVD ou liveUSB) de Ubuntu

Dernière modification par malbo (Le 24/02/2017, à 12:01)

Hors ligne

#3 Le 24/02/2017, à 12:05

ubumartin

Re : [résolu] probleme de démarrage

ok je tente ça tout de suite.
Merci !

Hors ligne

#4 Le 24/02/2017, à 13:40

ubumartin

Re : [résolu] probleme de démarrage

Salut Malbo,

C'est bon, j'ai suivi tes conseils : utilisé un live usb d'ubuntu, installé boot repair, fait une réparation recommandée, et ça a marché, l'ordi redémarre normalement.
Effectivement, l'utilisation d'un boot-repair-disk est à déconseiller vivement.

Merci encore pour ton aide,
Martin.

Hors ligne

#5 Le 24/02/2017, à 13:49

malbo

Re : [résolu] probleme de démarrage

ubumartin a écrit :

Effectivement, l'utilisation d'un boot-repair-disk est à déconseiller vivement.

Enfin une bonne nouvelle.

Ton pb étant résolu, je te prie de procéder comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :

[Résolu] problème de démarrage

Dernière modification par malbo (Le 24/02/2017, à 13:52)

Hors ligne