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 20/10/2017, à 19:17

jyclech

[Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Bonjour,

Je souhaitais écraser UBUNTU  GNOME  17.04   par  KUBUNTU 17.10.

J'utilise une Clé USB  sur laquelle j'ai chargé  KUBUNTU 17.10

L'installation échoue avec le message  :  "Impossible d'installer GRUB dans /dev/dm-0"

Pourquoi  dm-0  ?   Je m'attendais plutot à  :  /dev/sda 

J'ai installé BOOT-REPAIR qui me donne  le Diagnostic  :  http://paste.ubuntu.com/25779810/

Y-a-t-il une solution simple à ce problème  ?   Merci de votre aide.

Dernière modification par jyclech (Le 21/10/2017, à 15:35)

Hors ligne

#2 Le 20/10/2017, à 19:43

malbo

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Ton Boot-Info est là :

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


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

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

sda1: __________________________________________________________________________

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

sdf1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sdf1: /dev/sdf1 already mounted or mount point busy.

sdf2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdf2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdf2 starts at sector 3382136. According to the info 
                       in the boot sector, sdf2 has 0 sectors.
    Mounting failed:   mount: /mnt/BootInfo/sdf1: /dev/sdf1 already mounted or mount point busy.
mount: /mnt/BootInfo/sdf2: /dev/sdf2 already mounted or mount point busy.

kubuntu-vg-root: _______________________________________________________________

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

kubuntu-vg-swap_1: _____________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 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/sda1               2,048 1,250,263,039 1,250,260,992  8e Linux LVM


Drive: sdf _____________________________________________________________________
Disk /dev/sdf: 29.7 GiB, 31914983424 bytes, 62333952 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/sdf1    *              0     3,433,919     3,433,920   0 Empty
/dev/sdf2           3,382,136     3,386,743         4,608  ef EFI (FAT-12/16/32)

/dev/sdf1 overlaps with /dev/sdf2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdf1   +  R              0     3,433,863     3,433,864 Data partition (Windows/Linux)
/dev/sdf2   +  R      3,382,136     3,386,743         4,608 Data partition (Windows/Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mapper/kubuntu--vg-root c86f7591-2aa3-4c02-97f6-ff8fb0cd2e6c   ext4       
/dev/mapper/kubuntu--vg-swap_1 3dab6c43-5267-4436-b6cc-900085446e08   swap       
/dev/sda1        VkkJyx-3p2z-RF7l-W3NS-Gs7b-24ct-pqWI7d LVM2_member 
/dev/sdf1        2017-10-17-21-15-18-00                 iso9660    Kubuntu 17.10 amd64
/dev/sdf2        2D90-0993                              vfat       

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

total 0
lrwxrwxrwx 1 root root  9 Oct 20 16:02 ata-PLDS_DVD+_-RW_DH-16AAS -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 20 16:39 ata-WDC_WD6400AAKS-75A7B2_WD-WCASY8340491 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 20 16:39 ata-WDC_WD6400AAKS-75A7B2_WD-WCASY8340491-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 20 16:39 dm-name-kubuntu--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Oct 20 16:39 dm-name-kubuntu--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 20 16:39 dm-uuid-LVM-b2wJn751L1V00VWNmLvPxefSgzp4bsugOGhRVBjDAhpal6Zd9OkKzeYtWc1ziNq0 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 20 16:39 dm-uuid-LVM-b2wJn751L1V00VWNmLvPxefSgzp4bsugnrmrF0Fv7bZXhScUd8QMfuGK9flrUca6 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Oct 20 16:39 lvm-pv-uuid-VkkJyx-3p2z-RF7l-W3NS-Gs7b-24ct-pqWI7d -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 20 16:39 raid-kubuntu--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Oct 20 16:39 raid-kubuntu--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root  9 Oct 20 16:02 usb-Generic-_Compact_Flash_18E391066476-0:1 -> ../../sdc
lrwxrwxrwx 1 root root  9 Oct 20 16:02 usb-Generic-_MS_MS-Pro_18E391066476-0:3 -> ../../sde
lrwxrwxrwx 1 root root  9 Oct 20 16:02 usb-Generic-_SD_MMC_18E391066476-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Oct 20 16:02 usb-Generic-_SM_xD-Picture_18E391066476-0:2 -> ../../sdd
lrwxrwxrwx 1 root root  9 Oct 20 16:39 usb-Generic-_USB3.0_CRW_-SD_201006010301-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 Oct 20 16:39 usb-Generic-_USB3.0_CRW_-SD_201006010301-0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Oct 20 16:39 usb-Generic-_USB3.0_CRW_-SD_201006010301-0:0-part2 -> ../../sdf2
lrwxrwxrwx 1 root root  9 Oct 20 16:02 usb-Generic-_USB3.0_CRW_-SD_201006010301-0:1 -> ../../sdg
lrwxrwxrwx 1 root root  9 Oct 20 16:39 wwn-0x50014ee1576e4e34 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 20 16:39 wwn-0x50014ee1576e4e34-part1 -> ../../sda1

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

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

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdf         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


========================== kubuntu-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/kubuntu--vg-root /               ext4    errors=remount-ro 0       1
/dev/mapper/kubuntu--vg-swap_1 none            swap    sw              0       0
--------------------------------------------------------------------------------

============== kubuntu-vg-root: Location of files loaded by Grub: ==============

           GiB - GB             File                                 Fragment(s)

 256.141052246 = 275.029360640  boot/grub/i386-pc/core.img                     1
   1.370555878 = 1.471623168    boot/vmlinuz-4.13.0-16-generic                 2
 256.140251160 = 275.028500480  boot/vmlinuz-4.13.0-16-generic.efi.signed      1
   1.370555878 = 1.471623168    vmlinuz                                        2
 172.478149414 = 185.197002752  boot/initrd.img-4.13.0-16-generic              1
 172.478149414 = 185.197002752  initrd.img                                     1

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

Unknown MBR on /dev/sdf

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  38 70 33 00 00 00 00 00  46 ce 68 3d 00 00 80 00  |8p3.....F.h=....|
000001c0  01 00 00 68 e0 fd 00 00  00 00 c0 65 34 00 00 fe  |...h.......e4...|
000001d0  ff ff ef fe ff ff 78 9b  33 00 00 12 00 00 00 00  |......x.3.......|
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


/dev/sdf1: unknown GPT attributes
1000000000000001

/dev/sdf2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdf1

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  38 70 33 00 00 00 00 00  46 ce 68 3d 00 00 80 00  |8p3.....F.h=....|
000001c0  01 00 00 68 e0 fd 00 00  00 00 c0 65 34 00 00 fe  |...h.......e4...|
000001d0  ff ff ef fe ff ff 78 9b  33 00 00 12 00 00 00 00  |......x.3.......|
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


========= Devices which don't seem to have a corresponding hard drive: =========

sdb sdc sdd sde sdg 

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

File descriptor 9 (/proc/12378/mountinfo) leaked on lvs invocation. Parent PID 21431: bash
File descriptor 63 (pipe:[82465]) leaked on lvs invocation. Parent PID 21431: bash
File descriptor 9 (/proc/12378/mountinfo) leaked on lvchange invocation. Parent PID 22011: bash
File descriptor 63 (pipe:[82465]) leaked on lvchange invocation. Parent PID 22011: bash
File descriptor 9 (/proc/12378/mountinfo) leaked on lvchange invocation. Parent PID 22011: bash
File descriptor 63 (pipe:[82465]) leaked on lvchange invocation. Parent PID 22011: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20171020_1639 ===================
boot-repair version : 4ppa61
boot-sav version : 4ppa61
boot-sav-extra version : 4ppa61
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/mapper/kubuntu--vg-root: UUID="c86f7591-2aa3-4c02-97f6-ff8fb0cd2e6c" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="VkkJyx-3p2z-RF7l-W3NS-Gs7b-24ct-pqWI7d" TYPE="LVM2_member" PARTUUID="edb3124e-01"
/dev/mapper/kubuntu--vg-swap_1: UUID="3dab6c43-5267-4436-b6cc-900085446e08" TYPE="swap"
/dev/sdf1: UUID="2017-10-17-21-15-18-00" LABEL="Kubuntu 17.10 amd64" TYPE="iso9660" PTUUID="3d68ce46" PTTYPE="dos" PARTUUID="3d68ce46-01"
/dev/sdf2: SEC_TYPE="msdos" UUID="2D90-0993" TYPE="vfat" PARTUUID="3d68ce46-02"
MODPROBE
VGSCAN
File descriptor 9 (/proc/12378/mountinfo) leaked on vgscan invocation. Parent PID 12386: /bin/bash
Reading volume groups from cache.
Found volume group "kubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/12378/mountinfo) leaked on vgchange invocation. Parent PID 12386: /bin/bash
2 logical volume(s) in volume group "kubuntu-vg" now active
File descriptor 9 (/proc/12378/mountinfo) leaked on lvscan invocation. Parent PID 12386: /bin/bash
LVSCAN:
ACTIVE            '/dev/kubuntu-vg/root' [592.15 GiB] inherit
ACTIVE            '/dev/kubuntu-vg/swap_1' [3.99 GiB] inherit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Y a-t-il un RAID sur cet ordinateur ? no
grub-probe: error: cannot find a GRUB drive for /dev/sdf1.  Check your device.map.
File descriptor 9 (/proc/12378/mountinfo) leaked on vgs invocation. Parent PID 14344: grub-probe
File descriptor 9 (/proc/12378/mountinfo) leaked on vgs invocation. Parent PID 14344: grub-probe
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 17.10, artful, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
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/kubuntu--vg-root
mount: /mnt/boot-sav/sdf2: /dev/sdf2 already mounted or mount point busy.
mount /dev/sdf2 : Error code 32
mount -r /dev/sdf2 /mnt/boot-sav/sdf2
mount: /mnt/boot-sav/sdf2: /dev/sdf2 already mounted or mount point busy.
mount -r /dev/sdf2 : Error code 32

=================== os-prober:
/dev/mapper/kubuntu--vg-root:Ubuntu 17.10 (17.10):Ubuntu:linux

=================== blkid:
/dev/mapper/kubuntu--vg-root: UUID="c86f7591-2aa3-4c02-97f6-ff8fb0cd2e6c" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="VkkJyx-3p2z-RF7l-W3NS-Gs7b-24ct-pqWI7d" TYPE="LVM2_member" PARTUUID="edb3124e-01"
/dev/mapper/kubuntu--vg-swap_1: UUID="3dab6c43-5267-4436-b6cc-900085446e08" TYPE="swap"
/dev/sdf1: UUID="2017-10-17-21-15-18-00" LABEL="Kubuntu 17.10 amd64" TYPE="iso9660" PTUUID="3d68ce46" PTTYPE="dos" PARTUUID="3d68ce46-01"
/dev/sdf2: SEC_TYPE="msdos" UUID="2D90-0993" TYPE="vfat" PARTUUID="3d68ce46-02"

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

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

mount: /mnt/boot-sav/sdf2: /dev/sdf2 already mounted or mount point busy.
mount /dev/sdf2 : Error code 32
mount -r /dev/sdf2 /mnt/boot-sav/sdf2
mount: /mnt/boot-sav/sdf2: /dev/sdf2 already mounted or mount point busy.
mount -r /dev/sdf2 : Error code 32
dd: invalid number: ‘0’
Warning: /var/log/boot-repair/20171020_163915/sdf/current_mbr.img could not be created. Veuillez indiquer ce message à boot.repair@gmail.com

=================== mapper/kubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 oct.  17 20:40 grub.d
total 80
-rwxr-xr-x 1 root root  9783 oct.  12 13:41 00_header
-rwxr-xr-x 1 root root  6258 avril 24 19:32 05_debian_theme
-rwxr-xr-x 1 root root 12676 oct.  12 13:41 10_linux
-rwxr-xr-x 1 root root 11281 oct.  12 13:41 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 oct.  12 13:41 30_os-prober
-rwxr-xr-x 1 root root  1418 oct.  12 13:41 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  12 13:41 40_custom
-rwxr-xr-x 1 root root   216 oct.  12 13:41 41_custom
-rw-r--r-- 1 root root   483 oct.  12 13:41 README




=================== mapper/kubuntu--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:
mapper/kubuntu--vg-root	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-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,	notbiosboot, /mnt/boot-sav/mapper/kubuntu--vg-root.
sdf2	: sdf,	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/sdf2.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdf	: not-GPT,	BIOSboot-not-needed,	has-correctEFI, 	usb-disk,	not-mmc, no-os,	0 sectors * 512 bytes


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

BYT;
/dev/sda:640GB:scsi:512:512:msdos:ATA WDC WD6400AAKS-7:;
1:1049kB:640GB:640GB:::lvm;

BYT;
/dev/sdf:31.9GB:scsi:512:512:unknown:Generic- USB3.0 CRW -SD:;

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

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

=================== lsblk:
KNAME TYPE FSTYPE        SIZE LABEL
loop0 loop squashfs      1,6G
sda   disk             596,2G
sda1  part LVM2_member 596,2G
sdf   disk iso9660      29,7G Kubuntu 17.10 amd64
sdf1  part iso9660       1,7G Kubuntu 17.10 amd64
sdf2  part vfat          2,3M Kubuntu 17.10 amd64
sr0   rom               1024M
dm-0  lvm  ext4        592,2G
dm-1  lvm  swap            4G

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
sda      1  0  0 running
sda1     1  0  0
sdf      1  0  1 running /cdrom
sdf1     1  0  1
sdf2     1  0  1
sr0      1  0  1 running
dm-0     1  0  0 running /mnt/boot-sav/mapper/kubuntu--vg-root
dm-1     1  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=1999164k,nr_inodes=499791,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=403388k,mode=755)
/dev/sdf on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/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)
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)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
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/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14912)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=403384k,mode=700,uid=999,gid=999)
/dev/mapper/kubuntu--vg-root on /mnt/boot-sav/mapper/kubuntu--vg-root type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range 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 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 holders inflight integrity 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 integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdf (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdf1 sdf2 size slaves stat subsystem trace uevent
/sys/block/sdg (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro 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 integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 gpiochip0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kubuntu-vg kvm lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdc sdd sde sdf sdf1 sdf2 sdg sg0 sg1 sg2 sg3 sg4 sg5 sg6 sg7 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control kubuntu--vg-root kubuntu--vg-swap_1

=================== hexdump -n512 -C /dev/sdf2
00000000  eb 3c 90 6d 6b 66 73 2e  66 61 74 00 02 04 01 00  |.<.mkfs.fat.....|
00000010  02 00 02 00 12 f8 04 00  20 00 40 00 00 00 00 00  |........ .@.....|
00000020  00 00 00 00 80 00 29 93  09 90 2d 4e 4f 20 4e 41  |......)...-NO NA|
00000030  4d 45 20 20 20 20 46 41  54 31 32 20 20 20 0e 1f  |ME    FAT12   ..|
00000040  be 5b 7c ac 22 c0 74 0b  56 b4 0e bb 07 00 cd 10  |.[|.".t.V.......|
00000050  5e eb f0 32 e4 cd 16 cd  19 eb fe 54 68 69 73 20  |^..2.......This |
00000060  69 73 20 6e 6f 74 20 61  20 62 6f 6f 74 61 62 6c  |is not a bootabl|
00000070  65 20 64 69 73 6b 2e 20  20 50 6c 65 61 73 65 20  |e disk.  Please |
00000080  69 6e 73 65 72 74 20 61  20 62 6f 6f 74 61 62 6c  |insert a bootabl|
00000090  65 20 66 6c 6f 70 70 79  20 61 6e 64 0d 0a 70 72  |e floppy and..pr|
000000a0  65 73 73 20 61 6e 79 20  6b 65 79 20 74 6f 20 74  |ess any key to t|
000000b0  72 79 20 61 67 61 69 6e  20 2e 2e 2e 20 0d 0a 00  |ry again ... ...|
000000c0  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  2.0G     0  2.0G   0% /dev
tmpfs                        tmpfs     394M  6.3M  388M   2% /run
/dev/sdf                     iso9660   1.7G  1.7G     0 100% /cdrom
/dev/loop0                   squashfs  1.6G  1.6G     0 100% /rofs
/cow                         overlay   2.0G  269M  1.7G  14% /
tmpfs                        tmpfs     2.0G     0  2.0G   0% /dev/shm
tmpfs                        tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs                        tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs                        tmpfs     2.0G   84K  2.0G   1% /tmp
tmpfs                        tmpfs     394M   12K  394M   1% /run/user/999
/dev/mapper/kubuntu--vg-root ext4      582G  4.9G  548G   1% /mnt/boot-sav/mapper/kubuntu--vg-root

=================== fdisk -l:
Disk /dev/loop0: 1.6 GiB, 1682292736 bytes, 3285728 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: 596.2 GiB, 640135028736 bytes, 1250263728 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: 0xedb3124e

Device     Boot Start        End    Sectors   Size Id Type
/dev/sda1        2048 1250263039 1250260992 596.2G 8e Linux LVM




Disk /dev/mapper/kubuntu--vg-root: 592.2 GiB, 635814543360 bytes, 1241825280 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/kubuntu--vg-swap_1: 4 GiB, 4282384384 bytes, 8364032 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/sdf: 29.7 GiB, 31914983424 bytes, 62333952 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: 0x3d68ce46

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdf1  *          0 3433919 3433920  1.7G  0 Empty
/dev/sdf2       3382136 3386743    4608  2.3M ef EFI (FAT-12/16/32)




=================== 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/kubuntu--vg-root, using the following options:        sdf2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Blockers in case of suggested repair
La session actuelle est en mode Legacy. Veuillez redémarrer l'ordinateur, et utiliser ce logiciel dans une session EFI. Cela vous permettra d'utiliser cette fonctionnalité. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI.


=================== Advice in case of suggested repair
Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.
Alternativement, vous souhaiterez peut-être ré-essayer après avoir désactivé l'option [Partition /boot/efi séparée :].
Voulez-vous continuer ?


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sdf2/efi/.../grub*.efi !

Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.


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

Excuse-moi mais je ne sais pas trop ce qu'il faut faire pour réparer ça. Si tu n'avais pas de données à récupérer, je te suggère de faire une installation toute neuve de Kubuntu 17.10. Tu pourras choisir l'option "Effacer le disque et installer Ubuntu" à l'étape "Type d'installation" (pour écraser tout ce qu'il y a actuellement sur le disque. Tu ne cocheras pas la case "Chiffrer la nouvelle installation de Ubuntu pour la sécurité" et tu ne cocheras pas la case "Utiliser LVM pour la nouvelle installation de Ubuntu".

Hors ligne

#3 Le 20/10/2017, à 20:10

ikewdu

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Salut,

Malbo m'a pris de vitesse. Je regardais le boot-info, l'installation en LVM2, la réparation fantaisiste proposée par boot-repair, et je me demandais par quoi commencer.

Hors ligne

#4 Le 20/10/2017, à 21:15

jyclech

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Bonsoir,

Je viens de relancer une INSTALL en LiveUSB  de  Kubuntu  17.10, cette fois sans  LVM,  et  j'ai toujours la même Erreur fatale  :

   Exécution de  "GRUB-Install   /dev/dm-0  "    L'exécution a échoué.   Erreur fatale.

NB  :   Je demande bien une  installation complète  sur la totalité du Disque.

Hors ligne

#5 Le 21/10/2017, à 07:09

malbo

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Bonjour,
Ton cas ressemble furieusement au Bug #1724417
Peux-tu donner quelques détails sur ton matériel ?
As-tu pu installer avec succès une version précédente de Kubuntu (par exemple 16.04.3) dans cet ordi ?

Dernière modification par malbo (Le 21/10/2017, à 07:11)

Hors ligne

#6 Le 21/10/2017, à 08:43

ikewdu

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Salut,

Peux-tu refaire un rapport boot-info avec la nouvelle configuration ? Merci.

Hors ligne

#7 Le 21/10/2017, à 12:13

jyclech

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Bonjour et Merci.   çà marche  avec la Version  LTS 16.04.3.

Cette Version installe bien  le GRUB  sur  /dev/sda   et  non sur  /dev/dm-0   qui n'existe pas chez moi !

Hors ligne

#8 Le 21/10/2017, à 14:29

malbo

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

jyclech a écrit :

Bonjour et Merci.   çà marche  avec la Version  LTS 16.04.3.
Cette Version installe bien  le GRUB  sur  /dev/sda   et  non sur  /dev/dm-0   qui n'existe pas chez moi !

On a compris que /dev/dm-0 n'existe pas : il s'agit d'un bug de la version 17.10, pas d'un bug des versions précédentes. Il n'est pas trop surprenant que tu aies pu installer la version 16.04.3 sans souci.
Je te prie de fermer cette discussion en procédant 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] Install de GRUB impossible lors installation KUBUNTU 17.10 LiveUSB 

Dernière modification par malbo (Le 21/10/2017, à 14:55)

Hors ligne

#9 Le 21/10/2017, à 19:25

ikewdu

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

Bravo malbo... Je n'aurais jamais été chercher du côté d'un bug de la version 17.10. Mais je m'en souviendrai.

Hors ligne

#10 Le 21/10/2017, à 20:45

malbo

Re : [Résolu] Install de GRUB impossible lors installation KUBUNTU 17.10

@ikewdu : j'ai seulement collé dans Google "GRUB-Install   /dev/dm-0" (mentionné par jyclech dans le post #4) et le résultat a donné le Bug #1724417 en troisième position. C'est plutôt bravo Google qu'il faudrait dire.

Hors ligne