#1 Le 16/11/2017, à 21:34
- AshKusa
[RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Bonsoir à tous,
Je viens d'installer Cubuntu 16.04.3 LTS sur un serveur HPE MicroSvr Gen10 x3216 et à la fin de la procédure, j'ai un message disant que GRUB n'a pas pu s'installer sur /target.
(Installation sans internet, puis ajout de la connexion)
Voici le rapport de boot :
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
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/MokManager.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/shimx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.3 LTS
Boot files: /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: udf
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 234,441,647 234,441,647 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 121,051,135 120,000,512 Data partition (Linux)
/dev/sda3 121,051,136 139,051,007 17,999,872 Swap partition (Linux)
/dev/sda4 139,051,008 234,440,703 95,389,696 Data partition (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/sda1 AC7D-DA00 vfat
/dev/sda2 abe8fec3-95ea-4b21-81f7-c3fa47dba290 ext4
/dev/sda3 583474ec-df62-4b1b-b4e0-f054b3b3e993 swap
/dev/sda4 11041acc-977b-48ca-bcc1-1678f79205a0 ext4
/dev/sdb 2017-08-04-16-03-21-00 udf CDROM
/dev/zram0 049f865a-ca5e-46de-9a9f-faec32722a26 swap
/dev/zram1 cf413100-fa3c-44fb-99e6-5c81a24637d7 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Nov 16 20:06 ata-KINGSTON_SUV400S37120G_50026B7667025556 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 16 20:06 ata-KINGSTON_SUV400S37120G_50026B7667025556-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 16 20:06 ata-KINGSTON_SUV400S37120G_50026B7667025556-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 16 20:06 ata-KINGSTON_SUV400S37120G_50026B7667025556-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 16 20:06 ata-KINGSTON_SUV400S37120G_50026B7667025556-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Nov 16 20:06 usb-Verbatim_STORE_N_GO_07AC0807353199A2-0:0 -> ../../sdb
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb /cdrom iso9660 (ro,noatime)
=============================== sda2/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>
# / was on /dev/sda2 during installation
UUID=abe8fec3-95ea-4b21-81f7-c3fa47dba290 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=AC7D-DA00 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=11041acc-977b-48ca-bcc1-1678f79205a0 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=583474ec-df62-4b1b-b4e0-f054b3b3e993 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
52.638393402 = 56.520044544 boot/vmlinuz-4.10.0-30-generic 1
52.638393402 = 56.520044544 vmlinuz 1
3.961872101 = 4.254027776 boot/initrd.img-4.10.0-30-generic 1
3.961872101 = 4.254027776 initrd.img 1
=========================== sdb/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 "Live " {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.gz
}
--------------------------------------------------------------------------------
==================== sdb: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/15839/mounts) leaked on lvs invocation. Parent PID 22759: bash
File descriptor 63 (pipe:[97150]) leaked on lvs invocation. Parent PID 22759: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-11-16__20h05 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Error: /dev/sdb: unrecognised disk label
Error: /dev/sdb: unrecognised disk label
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename= quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda2:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="AC7D-DA00" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed"
/dev/sda2: UUID="abe8fec3-95ea-4b21-81f7-c3fa47dba290" TYPE="ext4" PARTUUID="7c051f0b-5ae8-41d4-be62-69991c8e1eca"
/dev/sdb: UUID="2017-08-04-16-03-21-00" LABEL="CDROM" TYPE="udf"
/dev/sda3: UUID="583474ec-df62-4b1b-b4e0-f054b3b3e993" TYPE="swap" PARTUUID="4af87cd7-98c8-4fa6-b4c4-6dcfcecb4b84"
/dev/sda4: UUID="11041acc-977b-48ca-bcc1-1678f79205a0" TYPE="ext4" PARTUUID="f2dc1010-8ad3-4d50-b4dd-bcbb5599096b"
/dev/loop0: TYPE="squashfs"
/dev/zram0: UUID="049f865a-ca5e-46de-9a9f-faec32722a26" TYPE="swap"
/dev/zram1: UUID="cf413100-fa3c-44fb-99e6-5c81a24637d7" TYPE="swap"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
No sda2/etc/default/grub
=================== sda2/etc/grub.d/ :
drwxr-xr-x 3 root root 4096 août 4 15:54 grub.d
total 84
-rwxr-xr-x 1 root root 9791 oct. 14 2015 00_header
-rwxr-xr-x 1 root root 6258 janv. 22 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 juin 21 06:11 10_linux
-rwxr-xr-x 1 root root 11082 oct. 12 2015 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
-rwxr-xr-x 1 root root 1418 oct. 14 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
-rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
drwxr-xr-x 4 root root 4096 août 4 15:54 backup
-rw-r--r-- 1 root root 483 avril 11 2014 README
/boot/efi detected in the fstab of sda2: UUID=AC7D-DA00 (sda1)
=================== efibootmgr -v
BootCurrent: 0007
Timeout: 20 seconds
BootOrder: 0001,0002,0003,0004,0005,0007,0006
Boot0001* ubuntu HD(1,GPT,7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)..BO
Boot0002* UEFI: IPv4 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0003* UEFI: IPv6 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* UEFI: IPv4 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0005* UEFI: IPv6 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0006* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0007* UEFI: VerbatimSTORE N GO 5.00 PciRoot(0x0)/Pci(0x10,0x0)/USB(7,0)/CDROM(1,0xb90,0x4700)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à 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, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv grub1, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, 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/sda2.
sda4 : sda, maybesepboot, no-grubenv 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, farbios, /mnt/boot-sav/sda4.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA KINGSTON SUV400S (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 62.0GB 61.4GB ext4
3 62.0GB 71.2GB 9216MB linux-swap(v1)
4 71.2GB 120GB 48.8GB ext4
Model: Verbatim STORE N GO (scsi)
Disk /dev/sdb: 8003MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Unknown (unknown)
Disk /dev/zram1: 1950MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1950MB 1950MB linux-swap(v1)
Model: Unknown (unknown)
Disk /dev/zram0: 1950MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1950MB 1950MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:120GB:scsi:512:4096:gpt:ATA KINGSTON SUV400S:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:62.0GB:61.4GB:ext4::;
3:62.0GB:71.2GB:9216MB:linux-swap(v1)::;
4:71.2GB:120GB:48.8GB:ext4::;
BYT;
/dev/sdb:8003MB:scsi:512:512:unknown:Verbatim STORE N GO:;
BYT;
/dev/zram1:1950MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1950MB:1950MB:linux-swap(v1)::;
BYT;
/dev/zram0:1950MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1950MB:1950MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sdb disk udf 7,5G CDROM
zram1 disk 1,8G
loop0 loop squashfs 2,6G
sda disk 111,8G
sda4 part ext4 45,5G
sda2 part ext4 57,2G
sda3 part swap 8,6G
sda1 part vfat 512M
zram0 disk 1,8G
KNAME ROTA RO RM STATE MOUNTPOINT
sdb 1 0 1 running /cdrom
zram1 0 0 0 [SWAP]
loop0 1 1 0 /rofs
sda 0 0 0 running
sda4 0 0 0 /mnt/boot-sav/sda4
sda2 0 0 0 /mnt/boot-sav/sda2
sda3 0 0 0 [SWAP]
sda1 0 0 0 /mnt/boot-sav/sda1
zram0 0 0 0 [SWAP]
=================== 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=3782944k,nr_inodes=945736,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=761868k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=a456fac0ea88dc93)
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 (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
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=20460)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=761868k,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)
/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 ext4 (rw,relatime,data=ordered)
/dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset badblocks 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 char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 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 kfd kmsg kvm lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 ptp1 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== 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 00 da 7d ac 4e 4f 20 4e 41 4d 45 20 20 |..)..}.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 3.7G 0 3.7G 0% /dev
tmpfs tmpfs 745M 9.3M 735M 2% /run
/dev/sdb iso9660 2.7G 2.7G 0 100% /cdrom
/dev/loop0 squashfs 2.6G 2.6G 0 100% /rofs
aufs aufs 3.7G 496M 3.2G 14% /
tmpfs tmpfs 3.7G 180K 3.7G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
tmpfs tmpfs 3.7G 108K 3.7G 1% /tmp
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 745M 32K 744M 1% /run/user/999
/dev/sda1 vfat 511M 3.6M 508M 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 57G 7.1G 47G 14% /mnt/boot-sav/sda2
/dev/sda4 ext4 45G 420M 42G 1% /mnt/boot-sav/sda4
=================== fdisk -l:
Disk /dev/loop0: 2.6 GiB, 2769027072 bytes, 5408256 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: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C785BFF9-E47E-40ED-832E-717311CF4C93
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 121051135 120000512 57.2G Linux filesystem
/dev/sda3 121051136 139051007 17999872 8.6G Linux swap
/dev/sda4 139051008 234440703 95389696 45.5G Linux filesystem
Disk /dev/sdb: 7.5 GiB, 8002732032 bytes, 15630336 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/zram0: 1.8 GiB, 1950380032 bytes, 476167 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 1.8 GiB, 1950380032 bytes, 476167 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
=================== User settings
The settings chosen by the user will not act on the boot.
J'ai déjà eu un souci du même genre il y a quelques semaines, mais comme ça n'est pas le même ordinateur, je préfère vous demander votre avis plutôt que faire des bêtises !
Est-ce que je me contente de lancer le boot-repair ou est-ce qu'il faut faire quelque chose d'autre avant ?
D'avance merci pour votre aide,
Bonne soirée à tous.
Ash.
Dernière modification par AshKusa (Le 17/11/2017, à 15:15)
Hors ligne
#2 Le 17/11/2017, à 00:29
- ??
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Bonsoir
Je ne comprends pas pour quelle raison l'installation ne s 'est pas terminée.
J'espére que lorsque tu lanceras boot-repair et que tu posteras son rapport d'execution, on pourra y trouver un message explicatif.
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne
#3 Le 17/11/2017, à 01:39
- AshKusa
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Bonsoir,
On y est presque ! Cette fois, GRUB s'est bien installé, mais au redémarrage, je tombe sur un écran HP, me proposant soit de faire "F11" pour lancer manuellement le boot (en choisissant sur quelle partition démarrer) soit de faire "DEL" pour entrer dans le setup.
Curieusement, F11 me propose même un windows boot manager, alors que je n'ai installé aucune version de Windows sur cet ordinateur.
Si je ne fais rien (pas de "F11"), il ne se passe rien.
Voici le nouveau rapport après avoir lancé boot-repair à la fin de l'installation.
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: udf
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 234,441,647 234,441,647 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 121,051,135 120,000,512 Data partition (Linux)
/dev/sda3 121,051,136 139,048,959 17,997,824 Swap partition (Linux)
/dev/sda4 139,048,960 234,440,703 95,391,744 Data partition (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/sda1 AC7D-DA00 vfat
/dev/sda2 d4118e21-0a75-4896-a0e2-5c5978077a4c ext4
/dev/sda3 a104f2f7-8dba-4b17-91dc-45e08d658d3d swap
/dev/sda4 a0656e9b-7d06-49c0-828d-ecf241dd465a ext4
/dev/sdb 2017-08-04-16-03-21-00 udf CDROM
/dev/zram0 ded256c8-a230-402c-9a87-3216fbc1749d swap
/dev/zram1 f5596d33-ed0c-404a-9cdd-3f3f6d56a339 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Nov 16 23:59 ata-KINGSTON_SUV400S37120G_50026B7667025556 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 16 23:59 ata-KINGSTON_SUV400S37120G_50026B7667025556-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 16 23:59 ata-KINGSTON_SUV400S37120G_50026B7667025556-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 16 23:59 ata-KINGSTON_SUV400S37120G_50026B7667025556-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 16 23:59 ata-KINGSTON_SUV400S37120G_50026B7667025556-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Nov 16 23:59 usb-Verbatim_STORE_N_GO_07AC0807353199A2-0:0 -> ../../sdb
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb /cdrom iso9660 (ro,noatime)
=========================== sda2/boot/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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
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=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
linux /boot/vmlinuz-4.10.0-30-generic root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-30-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
menuentry 'Ubuntu, with Linux 4.10.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-30-generic-advanced-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.10.0-30-generic ...'
linux /boot/vmlinuz-4.10.0-30-generic root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-30-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-30-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-30-generic-init-upstart-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.10.0-30-generic ...'
linux /boot/vmlinuz-4.10.0-30-generic root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-30-generic
}
menuentry 'Ubuntu, with Linux 4.10.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-30-generic-recovery-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.10.0-30-generic ...'
linux /boot/vmlinuz-4.10.0-30-generic root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-30-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-98-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-98-generic-advanced-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.4.0-98-generic ...'
linux /boot/vmlinuz-4.4.0-98-generic.efi.signed root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-98-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-98-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-98-generic-init-upstart-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.4.0-98-generic ...'
linux /boot/vmlinuz-4.4.0-98-generic.efi.signed root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-98-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-98-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-98-generic-recovery-d4118e21-0a75-4896-a0e2-5c5978077a4c' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 d4118e21-0a75-4896-a0e2-5c5978077a4c
else
search --no-floppy --fs-uuid --set=root d4118e21-0a75-4896-a0e2-5c5978077a4c
fi
echo 'Loading Linux 4.4.0-98-generic ...'
linux /boot/vmlinuz-4.4.0-98-generic.efi.signed root=UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-98-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/25_custom ###
menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root AC7D-DA00
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root AC7D-DA00
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/25_custom ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
--------------------------------------------------------------------------------
=============================== sda2/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>
# / was on /dev/sda2 during installation
UUID=d4118e21-0a75-4896-a0e2-5c5978077a4c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=AC7D-DA00 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=a0656e9b-7d06-49c0-828d-ecf241dd465a /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=a104f2f7-8dba-4b17-91dc-45e08d658d3d none swap sw 0 0
UUID=AC7D-DA00 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
10.645351410 = 11.430359040 boot/grub/grub.cfg 1
10.642303467 = 11.427086336 boot/vmlinuz-4.10.0-30-generic 1
4.257591248 = 4.571553792 boot/vmlinuz-4.4.0-98-generic 1
4.831809998 = 5.188116480 boot/vmlinuz-4.4.0-98-generic.efi.signed 2
4.257591248 = 4.571553792 vmlinuz 1
10.642303467 = 11.427086336 vmlinuz.old 1
4.289970398 = 4.606320640 boot/initrd.img-4.10.0-30-generic 2
4.826175690 = 5.182066688 boot/initrd.img-4.4.0-98-generic 2
4.826175690 = 5.182066688 initrd.img 2
4.289970398 = 4.606320640 initrd.img.old 2
=========================== sdb/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 "Live " {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.gz
}
--------------------------------------------------------------------------------
==================== sdb: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/31981/mounts) leaked on lvs invocation. Parent PID 2274: bash
File descriptor 63 (pipe:[81546]) leaked on lvs invocation. Parent PID 2274: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-11-16__23h59 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Error: /dev/sdb: unrecognised disk label
Error: /dev/sdb: unrecognised disk label
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename= quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda2:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="AC7D-DA00" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed"
/dev/sda2: UUID="d4118e21-0a75-4896-a0e2-5c5978077a4c" TYPE="ext4" PARTUUID="5ab7b5a2-dfe4-4c27-b0ec-0967241e8ecb"
/dev/sda4: UUID="a0656e9b-7d06-49c0-828d-ecf241dd465a" TYPE="ext4" PARTUUID="cedbf9b8-be48-475f-9979-5a57fbe47d51"
/dev/sdb: UUID="2017-08-04-16-03-21-00" LABEL="CDROM" TYPE="udf"
/dev/sda3: UUID="a104f2f7-8dba-4b17-91dc-45e08d658d3d" TYPE="swap" PARTUUID="394f5441-5e61-42ee-845d-27a32bf79f31"
/dev/loop0: TYPE="squashfs"
/dev/zram0: UUID="ded256c8-a230-402c-9a87-3216fbc1749d" TYPE="swap"
/dev/zram1: UUID="f5596d33-ed0c-404a-9cdd-3f3f6d56a339" TYPE="swap"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
No sda2/etc/default/grub
=================== sda2/etc/grub.d/ :
drwxr-xr-x 3 root root 4096 août 4 15:54 grub.d
total 84
-rwxr-xr-x 1 root root 9791 oct. 14 2015 00_header
-rwxr-xr-x 1 root root 6258 janv. 22 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 juin 21 06:11 10_linux
-rwxr-xr-x 1 root root 11082 oct. 12 2015 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
-rwxr-xr-x 1 root root 1418 oct. 14 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
-rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
drwxr-xr-x 4 root root 4096 août 4 15:54 backup
-rw-r--r-- 1 root root 483 avril 11 2014 README
/boot/efi detected in the fstab of sda2: UUID=AC7D-DA00 (sda1)
=================== efibootmgr -v
BootCurrent: 0007
Timeout: 20 seconds
BootOrder: 0001,0002,0003,0004,0005,0007,0006
Boot0001* ubuntu HD(1,GPT,7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)..BO
Boot0002* UEFI: IPv4 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0003* UEFI: IPv6 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* UEFI: IPv4 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0005* UEFI: IPv6 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0006* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0007* UEFI: VerbatimSTORE N GO 5.00 PciRoot(0x0)/Pci(0x10,0x0)/USB(7,0)/CDROM(1,0xb90,0x4700)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à 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, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv grub1, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, 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/sda2.
sda4 : sda, maybesepboot, no-grubenv 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, farbios, /mnt/boot-sav/sda4.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA KINGSTON SUV400S (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 62.0GB 61.4GB ext4
3 62.0GB 71.2GB 9215MB linux-swap(v1)
4 71.2GB 120GB 48.8GB ext4
Model: Verbatim STORE N GO (scsi)
Disk /dev/sdb: 8003MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Unknown (unknown)
Disk /dev/zram1: 1950MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1950MB 1950MB linux-swap(v1)
Model: Unknown (unknown)
Disk /dev/zram0: 1950MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1950MB 1950MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:120GB:scsi:512:4096:gpt:ATA KINGSTON SUV400S:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:62.0GB:61.4GB:ext4::;
3:62.0GB:71.2GB:9215MB:linux-swap(v1)::;
4:71.2GB:120GB:48.8GB:ext4::;
BYT;
/dev/sdb:8003MB:scsi:512:512:unknown:Verbatim STORE N GO:;
BYT;
/dev/zram1:1950MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1950MB:1950MB:linux-swap(v1)::;
BYT;
/dev/zram0:1950MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1950MB:1950MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sdb disk udf 7,5G CDROM
zram1 disk 1,8G
loop0 loop squashfs 2,6G
sda disk 111,8G
sda4 part ext4 45,5G
sda2 part ext4 57,2G
sda3 part swap 8,6G
sda1 part vfat 512M
zram0 disk 1,8G
KNAME ROTA RO RM STATE MOUNTPOINT
sdb 1 0 1 running /cdrom
zram1 0 0 0 [SWAP]
loop0 1 1 0 /rofs
sda 0 0 0 running
sda4 0 0 0 /mnt/boot-sav/sda4
sda2 0 0 0 /mnt/boot-sav/sda2
sda3 0 0 0 [SWAP]
sda1 0 0 0 /mnt/boot-sav/sda1
zram0 0 0 0 [SWAP]
=================== 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=3782944k,nr_inodes=945736,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=761868k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=dc5e791045291f7d)
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 (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,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/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,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
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,clone_children)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=21930)
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)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=761868k,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)
/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 ext4 (rw,relatime,data=ordered)
/dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset badblocks 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 char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 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 kfd kmsg kvm lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 ptp1 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== 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 00 da 7d ac 4e 4f 20 4e 41 4d 45 20 20 |..)..}.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 3.7G 0 3.7G 0% /dev
tmpfs tmpfs 745M 9.3M 735M 2% /run
/dev/sdb iso9660 2.7G 2.7G 0 100% /cdrom
/dev/loop0 squashfs 2.6G 2.6G 0 100% /rofs
aufs aufs 3.7G 495M 3.2G 14% /
tmpfs tmpfs 3.7G 244K 3.7G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
tmpfs tmpfs 3.7G 12K 3.7G 1% /tmp
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 745M 28K 744M 1% /run/user/999
/dev/sda1 vfat 511M 3.6M 508M 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 57G 7.1G 47G 14% /mnt/boot-sav/sda2
/dev/sda4 ext4 45G 420M 42G 1% /mnt/boot-sav/sda4
=================== fdisk -l:
Disk /dev/loop0: 2.6 GiB, 2769027072 bytes, 5408256 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: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C785BFF9-E47E-40ED-832E-717311CF4C93
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 121051135 120000512 57.2G Linux filesystem
/dev/sda3 121051136 139048959 17997824 8.6G Linux swap
/dev/sda4 139048960 234440703 95391744 45.5G Linux filesystem
Disk /dev/sdb: 7.5 GiB, 8002732032 bytes, 15630336 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/zram0: 1.8 GiB, 1950380032 bytes, 476167 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 1.8 GiB, 1950380032 bytes, 476167 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
/boot/efi added in sda2/fstab
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg
chroot /mnt/boot-sav/sda2 apt-get -y --force-yes update
Purge the GRUB of sda2
cp: impossible d'évaluer '/mnt/boot-sav/sda2/etc/default/grub': Aucun fichier ou dossier de ce type
grub-efi-amd64-signed available
Lecture des listes de paquets…
Construction de l'arbre des dépendances…SET@_progressbar1.pulse()
Lecture des informations d'état…
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
libudev1:i386
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common secureboot-db
Paquets suggérés :
multiboot-doc grub-emu desktop-base
Les NOUVEAUX paquets suivants seront installés :
grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed secureboot-db
Les paquets suivants seront mis à jour :
grub-common grub2-common
2 mis à jour, 4 nouvellement installés, 0 à enlever et 265 non mis à jour.
Il est nécessaire de prendre 3 243 ko dans les archives.
Après cette opération, 6 583 ko d'espace disque supplémentaires seront utilisés.
Réception de:1 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.14 [511 kB]
Réception de:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.14 [1 705 kB]
Réception de:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.14 [661 kB]
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.14 [65,9 kB]
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-signed amd64 1.66.14+2.02~beta2-36ubuntu3.14 [296 kB]
Réception de:6 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 secureboot-db amd64 1.1 [2 740 B]
3 243 ko réceptionnés en 4s (806 ko/s)
Téléchargement achevé et dans le mode téléchargement uniquement
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
=================== sda2/etc/grub.d/ :
drwxr-xr-x 3 root root 4096 nov. 17 00:00 grub.d
total 8
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
drwxr-xr-x 4 root root 4096 août 4 15:54 backup
/boot/efi detected in the fstab of sda2: UUID=AC7D-DA00 (sda1)
shim-signed available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 nov. 17 00:03 grub.d
drwxr-xr-x 3 root root 4096 nov. 17 00:00 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 oct. 12 22:48 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 oct. 12 22:48 10_linux
-rwxr-xr-x 1 root root 11082 oct. 12 22:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 oct. 12 22:48 30_os-prober
-rwxr-xr-x 1 root root 1418 oct. 12 22:48 30_uefi-firmware
-rwxr-xr-x 1 root root 214 oct. 12 22:48 40_custom
-rwxr-xr-x 1 root root 216 oct. 12 22:48 41_custom
-rw-r--r-- 1 root root 483 oct. 12 22:48 README
=================== sda2/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"
/boot/efi detected in the fstab of sda2: UUID=AC7D-DA00 (sda1)
Unhide GRUB boot menu in sda2/etc/default/grub
=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 nov. 17 00:03 grub.d
drwxr-xr-x 3 root root 4096 nov. 17 00:00 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 oct. 12 22:48 00_header
-rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 oct. 12 22:48 10_linux
-rwxr-xr-x 1 root root 11082 oct. 12 22:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 oct. 12 22:48 30_os-prober
-rwxr-xr-x 1 root root 1418 oct. 12 22:48 30_uefi-firmware
-rwxr-xr-x 1 root root 214 oct. 12 22:48 40_custom
-rwxr-xr-x 1 root root 216 oct. 12 22:48 41_custom
-rw-r--r-- 1 root root 483 oct. 12 22:48 README
=================== sda2/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"
/boot/efi detected in the fstab of sda2: UUID=AC7D-DA00 (sda1)
*******lspci -nnk | grep -iA3 vga
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo [1002:9874] (rev 87)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo [1002:1871]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.14,grub-install (GRUB) 2.
chroot /mnt/boot-sav/sda2 efibootmgr -v
BootCurrent: 0007
Timeout: 20 seconds
BootOrder: 0000,0002,0003,0004,0005,0007,0006
Boot0000* ubuntu HD(1,GPT,7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* UEFI: IPv4 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0003* UEFI: IPv6 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* UEFI: IPv4 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0005* UEFI: IPv6 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0006* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0007* UEFI: VerbatimSTORE N GO 5.00 PciRoot(0x0)/Pci(0x10,0x0)/USB(7,0)/CDROM(1,0xb90,0x4700)..BO
chroot /mnt/boot-sav/sda2 uname -r
Kernel: 4.10.0-30-generic
Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sda2
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/sda1
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/mmx64.efi
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/MokManager.efi
chroot /mnt/boot-sav/sda2 efibootmgr -v
BootCurrent: 0007
Timeout: 20 seconds
BootOrder: 0000,0002,0003,0004,0005,0007,0006
Boot0000* ubuntu HD(1,GPT,7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* UEFI: IPv4 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0003* UEFI: IPv6 P1 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/MAC(98f2b3e86eb8,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* UEFI: IPv4 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0005* UEFI: IPv6 P2 HP Ethernet 1Gb 2-port 332i Adapter - NIC PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x1)/MAC(98f2b3e86eb9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0006* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0007* UEFI: VerbatimSTORE N GO 5.00 PciRoot(0x0)/Pci(0x10,0x0)/USB(7,0)/CDROM(1,0xb90,0x4700)..BO
chroot /mnt/boot-sav/sda2 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-30-generic
Found initrd image: /boot/initrd.img-4.10.0-30-generic
Found linux image: /boot/vmlinuz-4.4.0-98-generic
Found initrd image: /boot/initrd.img-4.4.0-98-generic
File descriptor 9 (/proc/31981/mounts) leaked on lvs invocation. Parent PID 32012: /bin/sh
File descriptor 63 (pipe:[81546]) leaked on lvs invocation. Parent PID 32012: /bin/sh
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Que dois-je faire pour que l'ordinateur démarre sous Ubuntu automatiquement ?
D'avance merci pour votre aide.
Ash
Dernière modification par AshKusa (Le 17/11/2017, à 01:40)
Hors ligne
#4 Le 17/11/2017, à 12:13
- ikewdu
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Salut
L'explication de la présence de "fichiers Microsoft" est ici :
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
Ce ne sont que des copies du fichier shimx64.efi. En principe, c'est ce fichier qu'on utilise avec le boot-secure activé, ce qui n'est pas le cas chez toi. Essaie de l'activer dans l'UEFI, et refais une tentative sans rien changer.
Car, ton Linux est installé correctement, puisque l'entrée Ubuntu apparaît en tête de liste en NVRAM
BootOrder: 0000,0002,0003,0004,0005,0007,0006
Boot0000* ubuntu HD(1,GPT,7e3bc072-0589-4cb1-97f4-3a7c2d02a0ed,0x800,0x100000)/File(EFIubuntushimx64.efi)
Sinon, les HP sont souvent plombés en UEFI pour booter sur "Windows boot manager". Tu peux essayer de "ruser" en utilisant cette entrée Windows fantôme pour faire croire à HP qu'il lance un Windows :
sudo efibootmgr -c -d -p 1 /dev/sda -L "Windows Boot Manager" -l \EFI\Microsoft\Boot\bootmgfw.efi
Sans garantie que ça règle ton problème. Sinon, une autre piste consiste à faire démarrer ton Linux avec /EFI/Boot/bootx64.efi . ?? propose ça assez souvent, et il t'indiquera sans aucun doute comment procéder si mon idée n'a pas fonctionné.
Dernière modification par ikewdu (Le 17/11/2017, à 12:21)
Hors ligne
#5 Le 17/11/2017, à 14:49
- AshKusa
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Bonjour !
Essaie de l'activer dans l'UEFI
[...]Sinon, une autre piste consiste à faire démarrer ton Linux avec /EFI/Boot/bootx64.efi
Comment fait-on cela ?
Au démarrage, après avoir choisi f11, on me propose :
UEFI IPV4 P1 HP Ethernet
UEFI IPV6 P1 HP Ethernet
UEFI IPV4 P2 HP Ethernet
UEFI IPV6 P2 HP Ethernet
Ubuntu (Kingston...)
Windows Manager
et enter set up.
Si je choisis Ubuntu, là GRUB se lance et propose :
Ubuntu
Advanced options for Ubuntu
EFI/ubuntu/mmx64.efi
EFI/ubuntu/MokManager.efi
et system setup
Dans le BIOS, le DD Kingston est bien le 1 dans la séquence de boot.
D'avance merci pour votre aide !
Dites moi si d'autres infos peuvent être utiles.
Ash
Hors ligne
#6 Le 17/11/2017, à 15:14
- AshKusa
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Re bonjour,
Je viens de redémarrer pour la 6.000ème fois au moins et là, cette fois, ça démarre bien sous ubuntu en passant par Grub (bref, normalement)
Je n'ai pas l'impression d'avoir changé quoi que ce soit depuis mon dernier post, mais là, ça marche.
Je passe le message en [résolu] mais si quelqu'un a une explication, je suis preneuse !
Bonne journée tout le monde et merci de votre aide !
Ash
Hors ligne
#7 Le 17/11/2017, à 17:46
- ??
Re : [RESOLU] Grub ne s'installe pas - ubuntu 16-04-3 sur HPE MicroSvrGen10
Bonjour.
Comme tu as réussi à booter avec la fonctionnalité F11, on peut tenter de leurrer facilement le bios de HP.
Si cela marche, tu éviteras l'utilisation de la touche F11.
Voici une proposition
sudo mkdir /boot/efi/EFI/Boot
sudo cp -v /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Boot/Bootx64.efi
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne