Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016] ============================= Boot Info Summary: =============================== => No boot loader is installed in the MBR of /dev/sdb. => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for (,msdos1)/boot/grub. It also embeds following components: modules --------------------------------------------------------------------------- fat part_msdos biosdisk --------------------------------------------------------------------------- sdb1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /Boot/bootx64.efi /ubuntu/shimx64.efi /EFI/Boot/bootx64.efi /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bootx64.efi /EFI/Microsoft/Boot/bootmgfw.efi /EFI/Microsoft/Boot/bootx64.efi sdb2: __________________________________________________________________________ File system: ext2 Boot sector type: - Boot sector info: Operating System: Boot files: sdb3: __________________________________________________________________________ File system: LVM2_member Boot sector type: - Boot sector info: sdc1: __________________________________________________________________________ File system: vfat Boot sector type: SYSLINUX 6.03 20151222............................................@.....2....0............A20 gate n Boot sector info: Syslinux looks at sector 3146718 of /dev/sdc1 for its second stage. SYSLINUX is installed in the /boot/syslinux directory. No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg /boot/syslinux/syslinux.cfg /EFI/BOOT/grubx64.efi /boot/grub/i386-pc/core.img /boot/syslinux/ldlinux.sys hddvg-hdd_swap: ________________________________________________________________ File system: swap Boot sector type: - Boot sector info: hddvg-vmachs: __________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: ubuntu-vg-root: ________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 16.04.3 LTS Boot files: /etc/fstab sda: ___________________________________________________________________________ File system: LVM2_member Boot sector type: - Boot sector info: ============================ Drive/Partition Info: ============================= Drive: sdb _____________________________________________________________________ Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Partition Boot Start Sector End Sector # of Sectors Id System /dev/sdb1 1 500,118,191 500,118,191 ee GPT GUID Partition Table detected. Partition Attrs Start Sector End Sector # of Sectors System /dev/sdb1 2,048 1,050,623 1,048,576 EFI System partition /dev/sdb2 1,050,624 2,050,047 999,424 Data partition (Linux) /dev/sdb3 2,050,048 500,117,503 498,067,456 Logical Volume Manager (LVM) partition (Linux) Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set Drive: sdc _____________________________________________________________________ Disk /dev/sdc: 58.4 GiB, 62742792192 bytes, 122544516 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/sdc1 * 2,048 67,112,959 67,110,912 b W95 FAT32 "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/loop0 2017-02-15-21-44-13-00 iso9660 Ubuntu 16.04.2 LTS amd64 /dev/loop1 squashfs /dev/mapper/hddvg-hdd_swap 9d4a22eb-7199-49ad-839f-e97ec4cba869 swap /dev/mapper/hddvg-vmachs d6a3808b-3fd4-4f94-aca2-0963e274c43c ext4 /dev/mapper/ubuntu--vg-root 805c4690-48aa-4f55-8af7-1400c0c1b913 ext4 /dev/sda 7dXeje-NcdM-khqK-qsBf-emdh-eT0E-v5eH0w LVM2_member /dev/sdb1 DC41-3203 vfat /dev/sdb2 4696d681-fb4c-4c20-a34a-d53d0eac555e ext2 /dev/sdb3 E7L7GQ-47z0-k233-ynZy-903F-yApz-S4zBy6 LVM2_member /dev/sdc1 3AFC-E8E4 vfat MULTISYSTEM ========================= "ls -l /dev/disk/by-id" output: ====================== total 0 lrwxrwxrwx 1 root root 9 Sep 3 22:05 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NYAG206476 -> ../../sdb lrwxrwxrwx 1 root root 10 Sep 3 22:05 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NYAG206476-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Sep 3 22:05 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NYAG206476-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Sep 3 22:05 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NYAG206476-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 9 Sep 3 22:05 ata-TOSHIBA_MQ01ABD100_15URTV8PT -> ../../sda lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-name-hddvg-hdd_swap -> ../../dm-0 lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-name-hddvg-vmachs -> ../../dm-1 lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-name-ubuntu--vg-root -> ../../dm-2 lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-uuid-LVM-54tCoAyvtniqKn0w6K20V4YQUZ0B1QHpDIr350Bgc3WSn14N72jl8zQ54lGoP3ja -> ../../dm-1 lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-uuid-LVM-54tCoAyvtniqKn0w6K20V4YQUZ0B1QHpLVm47bPElcLAE7WXRicdantXDbdMwftC -> ../../dm-0 lrwxrwxrwx 1 root root 10 Sep 3 22:05 dm-uuid-LVM-9azkNWCQhSP4Wp9Fa1DPA0jjNECcJ3C2CVZmzf16mE1zHnynldvFVFRjis7nPgeG -> ../../dm-2 lrwxrwxrwx 1 root root 9 Sep 3 22:05 lvm-pv-uuid-7dXeje-NcdM-khqK-qsBf-emdh-eT0E-v5eH0w -> ../../sda lrwxrwxrwx 1 root root 10 Sep 3 22:05 lvm-pv-uuid-E7L7GQ-47z0-k233-ynZy-903F-yApz-S4zBy6 -> ../../sdb3 lrwxrwxrwx 1 root root 9 Sep 3 22:05 usb-SanDisk_Extreme_AA010414151510272893-0:0 -> ../../sdc lrwxrwxrwx 1 root root 10 Sep 3 22:05 usb-SanDisk_Extreme_AA010414151510272893-0:0-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 Sep 3 22:05 wwn-0x5000039601d0a224 -> ../../sda lrwxrwxrwx 1 root root 9 Sep 3 22:05 wwn-0x5002538844584d30 -> ../../sdb lrwxrwxrwx 1 root root 10 Sep 3 22:05 wwn-0x5002538844584d30-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Sep 3 22:05 wwn-0x5002538844584d30-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Sep 3 22:05 wwn-0x5002538844584d30-part3 -> ../../sdb3 ========================= "ls -R /dev/mapper/" output: ========================= /dev/mapper: control hddvg-hdd_swap hddvg-vmachs ubuntu--vg-root ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /cdrom iso9660 (ro,noatime) /dev/loop1 /rofs squashfs (ro,noatime) /dev/mapper/ubuntu--vg-root /mnt/sysimage ext4 (rw,relatime,data=ordered) /dev/sdb2 /mnt/sysimage/boot ext2 (rw,relatime,block_validity,barrier,user_xattr,acl) /dev/sdc1 /isodevice vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) =========================== sdc1/boot/grub/menu.lst: =========================== -------------------------------------------------------------------------------- # This is a sample menu.lst file. You should make some changes to it. # The old install method of booting via the stage-files has been removed. # Please install GRLDR boot strap code to MBR with the bootlace.com # utility under DOS/Win9x or Linux. timeout 30 default /default #convert -resize 640x480 -colors 14 /media/multisystem/boot/splash/splash.png /media/multisystem/boot/splash/splash.xpm.gz splashimage=/boot/splash/splash.xpm.gz #color blue/green yellow/red white/magenta white/magenta foreground=0033FF background=FF3300 #http://diddy.boot-land.net/grub4dos/Grub4dos.htm #http://www.boot-land.net/forums/index.php?showforum=66 #http://diddy.boot-land.net/grub4dos/files/syntax.htm #Ne supprimez pas ce marqueur! / Do not remove this marker! #MULTISYSTEM_START #MULTISYSTEM_STOP #Ne supprimez pas ce marqueur! / Do not remove this marker! #http://diddy.boot-land.net/grub4dos/files/syntax.htm title Chainloader into GRUB 2 find --set-root /boot/grub/boot.img chainloader /boot/grub/boot.img boot #title Chainloader into Syslinux #map (hd0) (hd0) #map (hd0) (hd0) #chainloader (hd0,0)+1 #rootnoverify (hd0,0) ##Autre solution pour chainer Syslinux ##faire une copie du mbr de la clé USB ##dd if=/dev/sd?1 of=/media/multisystem/syslinux.mbr bs=512 count=1 #title Chainloader into Syslinux #find --set-root --ignore-floppies --ignore-cd /syslinux.mbr #map (hd0) (hd0) #map (hd0) (hd0) #map --rehook #find --set-root --ignore-floppies --ignore-cd /syslinux.mbr #chainloader /syslinux.mbr ##Autre solution pour chainer Syslinux #title Chainloader into Syslinux #find --set-root /boot/syslinux/ldlinux.sys #chainloader /boot/syslinux/ldlinux.sys ##Autre solution pour chainer Syslinux #title Chainloader into Syslinux #find --set-root --ignore-floppies --ignore-cd /boot/syslinux/redir.img #kernel /boot/syslinux/memdisk #initrd /boot/syslinux/redir.img #http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/ title FreeDos kernel /boot/syslinux/memdisk initrd /boot/img/fdboot.img title find and load NTLDR of Windows NT/2K/XP fallback 1 find --set-root --ignore-floppies --ignore-cd /ntldr map () (hd0) map (hd0) () map --rehook find --set-root --ignore-floppies --ignore-cd /ntldr chainloader /ntldr savedefault --wait=2 title find and load BOOTMGR of Windows VISTA/SEVEN fallback 2 find --set-root --ignore-floppies --ignore-cd /bootmgr map () (hd0) map (hd0) () map --rehook find --set-root --ignore-floppies --ignore-cd /bootmgr chainloader /bootmgr savedefault --wait=2 title find and load CMLDR, the Recovery Console of Windows NT/2K/XP fallback 3 find --set-root --ignore-floppies --ignore-cd /cmldr map () (hd0) map (hd0) () map --rehook find --set-root --ignore-floppies --ignore-cd /cmldr chainloader /cmldr ##################################################################### # write string "cmdcons" to memory 0000:7C03 in 2 steps: ##################################################################### # step 1. Write 4 chars "cmdc" at 0000:7C03 write 0x7C03 0x63646D63 # step 2. Write 3 chars "ons" and an ending null at 0000:7C07 write 0x7C07 0x00736E6F savedefault --wait=2 title find and load IO.SYS of Windows 9x/Me fallback 4 find --set-root /io.sys chainloader /io.sys savedefault --wait=2 title find and boot 0PE.ISO fallback 5 find --set-root /0PE/0PE.ISO map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff) map --hook chainloader (0xff) savedefault --wait=2 title find and boot MicroPE.ISO fallback 6 find --set-root /boot/MicroPE.ISO map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff) map --hook chainloader (0xff) savedefault --wait=2 title find and boot ubcd.iso fallback 8 find --set-root /ubcd.iso map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff) map --hook chainloader (0xff) savedefault --wait=2 title commandline commandline title reboot reboot title halt halt -------------------------------------------------------------------------------- =========================== sdc1/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- #insmod gpt #insmod pc #insmod gfxmenu # #insmod videotest insmod tga insmod png insmod gfxterm insmod lspci #insmod vbeinfo insmod vbe insmod ntfs insmod chain insmod biosdisk insmod font #http://grub.enbug.org/ThemeFormat #http://grub.gibibit.com/Theme_format#colors #http://code.google.com/p/burg/wiki/InstallUbuntu #http://code.google.com/p/burg/downloads/list #http://ubuntuforums.org/showthread.php?t=1195275 #pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub #GRUB_HIDDEN_TIMEOUT=10 #0 par defaut #GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine #sudo update-grub #echo -n "Press ESC to see the menu... " #if sleep --verbose --interruptible 5 ; then #set timeout=10 #fi set default=0 set timeout=10 set fallback=1 search --no-floppy --fs-uuid --set=root 3AFC-E8E4 set root=${root} #http://grub.enbug.org/gfxterm if loadfont /boot/polices/unicode.pf2 ; then set gfxmode=640x480 if terminal_output gfxterm ; then true ; else # For backward compatibility with versions of terminal.mod that don't # understand terminal_output terminal gfxterm fi fi if background_image /boot/splash/splash.png ; then #text no sel/fond ecran set color_normal=white/black #1 #text sel/fond ecran sel set color_highlight=green/white #1 else set menu_color_normal=white/black #2 set menu_color_highlight=green/white #2 set color_normal=white/magenta #2 set color_highlight=green/white #2 fi # # #Pour activer le thème graphique multisystem décommentez les 4 lignes ci-dessous #set gfxmode=640x480 #set theme=($root)/boot/grub/themes/multisystem/theme.txt #export theme #loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2 # # #Ne supprimez pas ce marqueur! / Do not remove this marker! #MULTISYSTEM_START #MULTISYSTEM_MENU_DEBUT|19-05-2017-21:54:13-588871266|ubuntu-16.04.2-desktop-amd64.iso|multisystem-ubuntu|1482Mio| menuentry "ubuntu-16.04.2-desktop-amd64.iso" { search --set -f "/ubuntu-16.04.2-desktop-amd64.iso" loopback loop "/ubuntu-16.04.2-desktop-amd64.iso" linux (loop)/casper/vmlinuz.efi root=UUID=3AFC-E8E4 maybe-ubiquity debian-installer/language=en keyboard-configuration/layoutcode= iso-scan/filename=/ubuntu-16.04.2-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash -- initrd (loop)/casper/initrd.lz } #MULTISYSTEM_MENU_FIN|19-05-2017-21:54:13-588871266|ubuntu-16.04.2-desktop-amd64.iso|multisystem-ubuntu|1482Mio| #MULTISYSTEM_STOP #Ne supprimez pas ce marqueur! / Do not remove this marker! menuentry "______________Grub4Dos______________" { echo } #http://grub4dos.sourceforge.net/ #http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial menuentry "Grub4Dos" { linux /boot/grub.exe --config-file=/boot/grub/menu.lst } menuentry "______________Syslinux______________" { echo } #solution tordue, mais qui passe partout ... #menuentry "Syslinux" { #search --set -f /boot/syslinux/redir.img # linux16 /boot/syslinux/memdisk # initrd16 /boot/syslinux/redir.img #} #http://syslinux.zytor.com menuentry "Syslinux" { search --set -f "/boot/syslinux/ldlinux.sys" drivemap -s (hd0) $root chainloader +1 } #Autre solution pour chainer Syslinux via une copie du mbr #dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1 #menuentry "Syslinux" { #search --set -f "/boot/img/syslinux.mbr" #drivemap -s (hd0) $root #chainloader /boot/img/syslinux.mbr #} menuentry "______________UTIL______________" { echo } ## for debugging set debug=efi #menuentry "0-testfakebios" { # hexdump -s 0xc0000 (mem) # fakebios # hexdump -s 0xc0000 (mem) ## deliberate error to get wait for key # xxx #} #How to test GRUB 2 on Macbook #http://grub.enbug.org/TestingOnMacbook # #http://wiki.gentoo.org/wiki/GRUB2 # #menuentry "Windows 7 BIOS/MBR" { # insmod part_msdos # insmod ntldr # insmod ntfs # ntldr (hd0,msdos1)/bootmgr #} #menuentry "Windows XP BIOS/MBR" { # insmod part_msdos # insmod ntldr # insmod ntfs # ntldr (hd0,msdos1)/ntldr #} # #chainer un autre grub #menuentry "grub.cfg auf /dev/sdb1" { # configfile (hd1,1)/boot/grub/grub.cfg #} #menuentry "Chain other configfile" { #configfile /boot/grub/grub-xxx.cfg #} # #menuentry "Return default menu" { #chainloader /boot/grub/boot.img #} #chainer win ou autre OS #menuentry "Chainer UUID de la partition" { #insmod=ntfs #set root=(hd0,1) #search --no-floppy --fs-uuid --set=root xxx-xxx # drivemap -s (hd0) $root # chainloader +1 #} #Booter une iso avec memdisk #menuentry "FreeBSD" { # search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso" # linux16 /boot/syslinux/memdisk iso raw # initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso #} #http://www.plop.at/en/bootmanagerdl.html menuentry "PLoP Boot Manager" { linux16 /boot/img/plpbt } #http://www.supergrubdisk.org/ #http://developer.berlios.de/project/showfiles.php?group_id=10921 #SG2D (Floppy, CD & USB in one) #super_grub_disk_hybrid-1.98s1.iso menuentry "Super Grub2 Disk" { search --set -f /boot/img/sgdh.iso linux16 /boot/syslinux/memdisk initrd16 /boot/img/sgdh.iso } menuentry "Super Grub Disk" { search --set -f /boot/img/sgdfr.img linux16 /boot/syslinux/memdisk initrd16 /boot/img/sgdfr.img } menuentry "Smart Boot Manager" { search --set -f /boot/img/sbootmgr.dsk linux16 /boot/syslinux/memdisk initrd16 /boot/img/sbootmgr.dsk } #Site: http://boot.kernel.org/index.html #Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn menuentry "BKO (boot.kernel.org)" { search --set -f /boot/img/gpxe.lkrn linux16 /boot/img/gpxe.lkrn } #http://www.memtest.org/#downiso menuentry "memtest86+" { linux16 /boot/img/memtest86+.bin } menuentry "vbeinfo" { vbeinfo read } menuentry "lspci" { lspci read } menuentry "gfxpayload 640x480" { set gfxpayload=640x480 echo gfxpayload=${gfxpayload} press enter read } menuentry "gfxpayload 800x600" { set gfxpayload=800x600 echo gfxpayload=${gfxpayload} press enter read } menuentry "gfxpayload 1024x768" { set gfxpayload=1024x768 echo gfxpayload=${gfxpayload} press enter read } menuentry "gfxpayload 1280x1024" { set gfxpayload=1280x1024 echo gfxpayload=${gfxpayload} press enter read } menuentry "Reboot" { insmod reboot reboot } -------------------------------------------------------------------------------- ======================= sdc1/boot/syslinux/syslinux.cfg: ======================= -------------------------------------------------------------------------------- default /boot/syslinux/vesamenu.c32 prompt 0 timeout 40 ontimeout 0 MENU TITLE MultiSystem LiveUSB MENU DEFAULT 0 MENU BACKGROUND /boot/splash/splash.png #Ne supprimez pas ce marqueur! / Do not remove this marker! #MULTISYSTEM_START #MULTISYSTEM_STOP #Ne supprimez pas ce marqueur! / Do not remove this marker! label 0 MENU LABEL PLoP Boot Manager KERNEL /boot/img/plpbt label 1 MENU LABEL Grub2 kernel /boot/syslinux/chain.c32 file=/boot/grub/boot.img label 2 MENU LABEL Grub4Dos kernel /boot/grub.exe LABEL 3 MENU LABEL Hardware Detection Tool KERNEL /boot/syslinux/hdt.c32 #Exemple pour booter un iso avec version recente de memdisk #label 4 #MENU LABEL boot iso #KERNEL /boot/syslinux/memdisk #APPEND iso raw initrd=/g4u.iso #LABEL 5 #KERNEL /boot/syslinux/memdisk #APPEND initrd=freebsd.img floppy #LABEL 6 #MENU LABEL Chainer win #KERNEL /boot/syslinux/chain.c32 ntldr=/ntldr #LABEL 7 #MENU LABEL Chainer partition 2 #kernel /boot/syslinux/chain.c32 #append hd0 2 -------------------------------------------------------------------------------- =================== sdc1: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/menu.lst 1 ?? = ?? boot/grub/grub.cfg 1 ?? = ?? boot/grub/i386-pc/core.img 1 ================= sdc1: Location of files loaded by Syslinux: ================== GiB - GB File Fragment(s) ?? = ?? boot/syslinux/syslinux.cfg 1 ?? = ?? boot/syslinux/ldlinux.sys 1 ?? = ?? boot/syslinux/chain.c32 1 ?? = ?? boot/syslinux/hdt.c32 1 ?? = ?? boot/syslinux/ifplop.c32 1 ?? = ?? boot/syslinux/ldlinux.c32 1 ?? = ?? boot/syslinux/libcom32.c32 1 ?? = ?? boot/syslinux/libutil.c32 1 ?? = ?? boot/syslinux/menu.c32 1 ?? = ?? boot/syslinux/reboot.c32 1 ?? = ?? boot/syslinux/vesamenu.c32 1 ============== sdc1: Version of COM32(R) files used by Syslinux: =============== boot/syslinux/chain.c32 : not a COM32/COM32R module boot/syslinux/hdt.c32 : not a COM32/COM32R module boot/syslinux/ifplop.c32 : not a COM32/COM32R module boot/syslinux/ldlinux.c32 : not a COM32/COM32R module boot/syslinux/libcom32.c32 : not a COM32/COM32R module boot/syslinux/libutil.c32 : not a COM32/COM32R module boot/syslinux/menu.c32 : not a COM32/COM32R module boot/syslinux/reboot.c32 : not a COM32/COM32R module boot/syslinux/vesamenu.c32 : not a COM32/COM32R module ========================== ubuntu-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). # # /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sdb2 during installation #UUID=4696d681-fb4c-4c20-a34a-d53d0eac555e /boot ext2 defaults 0 2 # /boot/efi was on /dev/sdb1 during installation #UUID=DC41-3203 /boot/efi vfat umask=0077 0 1 UUID=9d4a22eb-7199-49ad-839f-e97ec4cba869 none swap sw 0 0 UUID=d6a3808b-3fd4-4f94-aca2-0963e274c43c /vmachs ext4 errors=remount-ro 0 0 UUID=DC41-3203 /boot/efi vfat defaults 0 1 -------------------------------------------------------------------------------- ============== ubuntu-vg-root: Location of files loaded by Grub: =============== GiB - GB File Fragment(s) 0.037859917 = 0.040651776 vmlinuz 9 0.065390587 = 0.070212608 vmlinuz.old 10 0.218639374 = 0.234762240 initrd.img 17 0.474609375 = 0.509607936 initrd.img.old 17 =============================== StdErr Messages: =============================== File descriptor 9 (/proc/15340/mounts) leaked on lvs invocation. Parent PID 10860: bash File descriptor 63 (pipe:[63381]) leaked on lvs invocation. Parent PID 10860: bash File descriptor 9 (/proc/15340/mounts) leaked on lvchange invocation. Parent PID 12117: bash File descriptor 63 (pipe:[63381]) leaked on lvchange invocation. Parent PID 12117: bash File descriptor 9 (/proc/15340/mounts) leaked on lvchange invocation. Parent PID 12117: bash File descriptor 63 (pipe:[63381]) leaked on lvchange invocation. Parent PID 12117: bash File descriptor 9 (/proc/15340/mounts) leaked on lvchange invocation. Parent PID 12117: bash File descriptor 63 (pipe:[63381]) leaked on lvchange invocation. Parent PID 12117: bash ADDITIONAL INFORMATION : =================== log of boot-repair 2017-09-03__22h05 =================== boot-repair version : 4ppa40 boot-sav version : 4ppa40 glade2script version : 3.2.3~ppa1 boot-sav-extra version : 4ppa40 BLKID BEFORE LVM ACTIVATION: /dev/sdb1: UUID="DC41-3203" TYPE="vfat" PARTUUID="b38ca33e-f22b-4bb9-bf7b-1a12bbbe8c7a" /dev/sdc1: LABEL="MULTISYSTEM" UUID="3AFC-E8E4" TYPE="vfat" PARTUUID="003657be-01" /dev/loop0: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos" /dev/sdb2: UUID="4696d681-fb4c-4c20-a34a-d53d0eac555e" TYPE="ext2" PARTUUID="202aae82-e8bd-4dc0-8b9d-f057f8988cfd" /dev/sdb3: UUID="E7L7GQ-47z0-k233-ynZy-903F-yApz-S4zBy6" TYPE="LVM2_member" PARTUUID="124d7f5b-d1c2-4301-906a-effa1921412a" /dev/loop1: TYPE="squashfs" /dev/sda: UUID="7dXeje-NcdM-khqK-qsBf-emdh-eT0E-v5eH0w" TYPE="LVM2_member" /dev/mapper/hddvg-hdd_swap: UUID="9d4a22eb-7199-49ad-839f-e97ec4cba869" TYPE="swap" /dev/mapper/hddvg-vmachs: UUID="d6a3808b-3fd4-4f94-aca2-0963e274c43c" TYPE="ext4" /dev/mapper/ubuntu--vg-root: UUID="805c4690-48aa-4f55-8af7-1400c0c1b913" TYPE="ext4" MODPROBE VGSCAN File descriptor 9 (/proc/15340/mounts) leaked on vgscan invocation. Parent PID 15352: /bin/bash Reading all physical volumes. This may take a while... Found volume group "hddvg" using metadata type lvm2 Found volume group "ubuntu-vg" using metadata type lvm2 VGCHANGE File descriptor 9 (/proc/15340/mounts) leaked on vgchange invocation. Parent PID 15352: /bin/bash 2 logical volume(s) in volume group "hddvg" now active 1 logical volume(s) in volume group "ubuntu-vg" now active File descriptor 9 (/proc/15340/mounts) leaked on lvscan invocation. Parent PID 15352: /bin/bash LVSCAN: ACTIVE '/dev/hddvg/hdd_swap' [16.00 GiB] inherit ACTIVE '/dev/hddvg/vmachs' [512.00 GiB] inherit ACTIVE '/dev/ubuntu-vg/root' [221.60 GiB] inherit Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. Is there RAID on this computer? no File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 17456: grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 17456: grub-probe Error: /dev/sda: unrecognised disk label Error: /dev/sda: unrecognised disk label boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64) CPU op-mode(s): 32-bit, 64-bit BOOT_IMAGE=(loop)/casper/vmlinuz.efi root=UUID=3AFC-E8E4 maybe-ubiquity debian-installer/language=en keyboard-configuration/layoutcode= iso-scan/filename=/ubuntu-16.04.2-desktop-amd64.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash -- ls: cannot access '/home/usr/.config': No such file or directory [dmraid -sa -c] no [dmraid -sa -c] raid [dmraid -sa -c] disks Set sda as corresponding disk of mapper/hddvg-vmachs [dmraid -sa -c] no [dmraid -sa -c] raid [dmraid -sa -c] disks Set sda as corresponding disk of mapper/ubuntu--vg-root =================== os-prober: /dev/mapper/ubuntu--vg-root:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux =================== blkid: /dev/sdb1: UUID="DC41-3203" TYPE="vfat" PARTUUID="b38ca33e-f22b-4bb9-bf7b-1a12bbbe8c7a" /dev/sdc1: LABEL="MULTISYSTEM" UUID="3AFC-E8E4" TYPE="vfat" PARTUUID="003657be-01" /dev/loop0: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos" /dev/sdb2: UUID="4696d681-fb4c-4c20-a34a-d53d0eac555e" TYPE="ext2" PARTUUID="202aae82-e8bd-4dc0-8b9d-f057f8988cfd" /dev/sdb3: UUID="E7L7GQ-47z0-k233-ynZy-903F-yApz-S4zBy6" TYPE="LVM2_member" PARTUUID="124d7f5b-d1c2-4301-906a-effa1921412a" /dev/loop1: TYPE="squashfs" /dev/sda: UUID="7dXeje-NcdM-khqK-qsBf-emdh-eT0E-v5eH0w" TYPE="LVM2_member" /dev/mapper/hddvg-hdd_swap: UUID="9d4a22eb-7199-49ad-839f-e97ec4cba869" TYPE="swap" /dev/mapper/hddvg-vmachs: UUID="d6a3808b-3fd4-4f94-aca2-0963e274c43c" TYPE="ext4" /dev/mapper/ubuntu--vg-root: UUID="805c4690-48aa-4f55-8af7-1400c0c1b913" TYPE="ext4" [dmraid -sa -c] no [dmraid -sa -c] raid [dmraid -sa -c] disks Set sda as corresponding disk of mapper/ubuntu--vg-root 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS. /dev/sda: device contains a valid 'LVM2_member' signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions sfdisk: failed to dump partition table: Success =================== No kernel in /isodevice/boot: grub grub.exe img kexec-loader.lst multisystem.bs.save polices splash syslinux /isodevice/boot/grub/menu.lst detected =================== /mnt/sysimage/etc/grub.d/ : drwxr-xr-x 2 root root 4096 Aug 31 08:53 grub.d total 80 -rwxr-xr-x 1 root root 9791 Jan 13 2017 00_header -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux -rwxr-xr-x 1 root root 11082 Jan 13 2017 20_linux_xen -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+ -rwxr-xr-x 1 root root 11692 Jan 13 2017 30_os-prober -rwxr-xr-x 1 root root 1418 Jan 13 2017 30_uefi-firmware -rwxr-xr-x 1 root root 214 Jan 13 2017 40_custom -rwxr-xr-x 1 root root 216 Jan 13 2017 41_custom -rw-r--r-- 1 root root 483 Jan 13 2017 README =================== /mnt/sysimage/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 mapper/ubuntu--vg-root: UUID=DC41-3203 (sdb1) /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=4696d681-fb4c-4c20-a34a-d53d0eac555e (sdb2) =================== efibootmgr -v BootCurrent: 100D Timeout: 1 seconds BootOrder: 100D,0009,000A,000B,000C,0007,0008 Boot0007 Onboard NIC (IPV4) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO Boot0008 Onboard NIC (IPV6) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv6([::]:<->[::]:,0,0)..BO Boot0009* Hard Drive BBS(HD,,0x0)..GO..NO........q.S.a.n.D.i.s.k. .E.x.t.r.e.m.e. .0.0.0.1....................A.............................>..Gd-.;.A..MQ..L.A.A.0.1.0.4.1.4.1.5.1.5.1.0.2.7.2.8.9.3........BO Boot000A* USB BBS(USB,,0x0)..GO..NO..........P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2....................A..................1.N........>.;......V..Gd-.;.A..MQ..L.P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2........BO Boot000B* Removable Drive BBS(Floppy,,0x0)..GO..NO........~.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0....................A..................1.N........>.;......B..Gd-.;.A..MQ..L.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0........BO Boot000C* PCMCIA Device BBS(PCMCIA,,0x0)..GO..NO........o.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t.........................rN.D+..,............@..Gd-.;.A..MQ..L.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t........BO =================== UEFI/Legacy mode: BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com) =================== PARTITIONS & DISKS: sdb1 : sdb, 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/sysimage/boot/efi. sdc1 : sdc, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, 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, /isodevice. sdb2 : sdb, is-sepboot, grubenv-ok nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/sysimage/boot. mapper/hddvg-vmachs : 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, not-far, /mnt/boot-sav/mapper/hddvg-vmachs. mapper/ubuntu--vg-root : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-has-goodBOOT, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /mnt/sysimage. sdb : GPT, no-BIOS_boot, has-correctEFI, not-usb, no-os, 2048 sectors * 512 bytes sdc : not-GPT, BIOSboot-not-needed, has-no-EFIpart, liveusb, no-os, 2048 sectors * 512 bytes sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes =================== parted -l: Model: ATA TOSHIBA MQ01ABD1 (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: unknown Disk Flags: Model: ATA SAMSUNG SSD PM85 (scsi) Disk /dev/sdb: 256GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 538MB 537MB fat32 boot, esp 2 538MB 1050MB 512MB ext2 3 1050MB 256GB 255GB lvm Model: SanDisk Extreme (scsi) Disk /dev/sdc: 62.7GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 34.4GB 34.4GB primary fat32 boot Model: Linux device-mapper (linear) (dm) Disk /dev/mapper/hddvg-hdd_swap: 17.2GB Sector size (logical/physical): 512B/4096B Partition Table: loop Disk Flags: Number Start End Size File system Flags 1 0.00B 17.2GB 17.2GB linux-swap(v1) Model: Linux device-mapper (linear) (dm) Disk /dev/mapper/hddvg-vmachs: 550GB Sector size (logical/physical): 512B/4096B Partition Table: loop Disk Flags: Number Start End Size File system Flags 1 0.00B 550GB 550GB ext4 Model: Linux device-mapper (linear) (dm) Disk /dev/mapper/ubuntu--vg-root: 238GB Sector size (logical/physical): 512B/512B Partition Table: loop Disk Flags: Number Start End Size File system Flags 1 0.00B 238GB 238GB ext4 =================== parted -lm: BYT; /dev/sda:1000GB:scsi:512:4096:unknown:ATA TOSHIBA MQ01ABD1:; BYT; /dev/sdb:256GB:scsi:512:512:gpt:ATA SAMSUNG SSD PM85:; 1:1049kB:538MB:537MB:fat32::boot, esp; 2:538MB:1050MB:512MB:ext2::; 3:1050MB:256GB:255GB:::lvm; BYT; /dev/sdc:62.7GB:scsi:512:512:msdos:SanDisk Extreme:; 1:1049kB:34.4GB:34.4GB:fat32::boot; BYT; /dev/mapper/hddvg-hdd_swap:17.2GB:dm:512:4096:loop:Linux device-mapper (linear):; 1:0.00B:17.2GB:17.2GB:linux-swap(v1)::; BYT; /dev/mapper/hddvg-vmachs:550GB:dm:512:4096:loop:Linux device-mapper (linear):; 1:0.00B:550GB:550GB:ext4::; BYT; /dev/mapper/ubuntu--vg-root:238GB:dm:512:512:loop:Linux device-mapper (linear):; 1:0.00B:238GB:238GB:ext4::; =================== lsblk: KNAME TYPE FSTYPE SIZE LABEL loop1 loop squashfs 1.4G sdb disk 238.5G sdb2 part ext2 488M sdb3 part LVM2_member 237.5G dm-2 lvm ext4 221.6G sdb1 part vfat 512M loop0 loop iso9660 1.5G Ubuntu 16.04.2 LTS amd64 sdc disk 58.4G sdc1 part vfat 32G MULTISYSTEM sda disk LVM2_member 931.5G dm-1 lvm ext4 512G dm-0 lvm swap 16G KNAME ROTA RO RM STATE MOUNTPOINT loop1 1 1 0 /rofs sdb 0 0 0 running sdb2 0 0 0 /mnt/sysimage/boot sdb3 0 0 0 dm-2 0 0 0 running /mnt/sysimage sdb1 0 0 0 /mnt/sysimage/boot/efi loop0 1 0 0 /cdrom sdc 1 0 1 running sdc1 1 0 1 /isodevice sda 1 0 0 running dm-1 1 0 0 running /mnt/boot-sav/mapper/hddvg-vmachs dm-0 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=8141772k,nr_inodes=2035443,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=1631472k,mode=755) /dev/sdc1 on /isodevice type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/loop0 on /cdrom type iso9660 (ro,noatime) /dev/loop1 on /rofs type squashfs (ro,noatime) aufs on / type aufs (rw,noatime,si=31d0425cc5648af1) 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/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/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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) 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/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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19743) 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) tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1631472k,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/mapper/ubuntu--vg-root on /mnt/sysimage type ext4 (rw,relatime,data=ordered) /dev/sdb2 on /mnt/sysimage/boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl) /dev/sdb1 on /mnt/sysimage/boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/mapper/hddvg-vmachs on /mnt/boot-sav/mapper/hddvg-vmachs type ext4 (rw,relatime,data=ordered) =================== ls: /sys/block/dm-0 (filtered): alignment_offset badblocks 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 badblocks 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-2 (filtered): alignment_offset badblocks 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 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 /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 sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent /sys/block/sdc (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 sdc1 size slaves stat subsystem trace uevent /dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse hddvg hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-20 i2c-21 i2c-22 i2c-23 i2c-24 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sdb sdb1 sdb2 sdb3 sdc sdc1 sg0 sg1 sg2 shm snapshot snd stderr stdin stdout ubuntu-vg uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero ls /dev/mapper: control hddvg-hdd_swap hddvg-vmachs ubuntu--vg-root =================== hexdump -n512 -C /dev/sdb1 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 03 32 41 dc 4e 4f 20 4e 41 4d 45 20 20 |..).2A.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 =================== hexdump -n512 -C /dev/sdc1 00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 40 20 00 |.X.SYSLINUX..@ .| 00000010 02 00 00 00 00 f8 00 00 20 00 40 00 00 08 00 00 |........ .@.....| 00000020 00 08 00 04 ff 1f 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 e4 e8 fc 3a 4d 55 4c 54 49 53 59 53 54 |..)...:MULTISYST| 00000050 45 4d 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 |EMFAT32 ..1...| 00000060 bc 76 7b 52 06 57 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.| 00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.| 00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....|| 00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u| 000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s| 000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G| 000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.| 000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.| 000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...| 000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...| 00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...| 00000110 01 74 05 c6 06 46 7d 00 66 b8 de 03 30 00 66 ba |.t...F}.f...0.f.| 00000120 00 00 00 00 bb 00 80 e8 0e 00 66 81 3e 1c 80 8c |..........f.>...| 00000130 ad 7f 68 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |..hut...f..`{f..| 00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j| 00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r| 00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F| 00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.|| 00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....| 00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........| 000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{| 000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..| 000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......| 000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e| 000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............| 000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.| 00000200 =================== df -Th: Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 7.8G 0 7.8G 0% /dev tmpfs tmpfs 1.6G 9.8M 1.6G 1% /run /dev/sdc1 vfat 32G 18G 14G 57% /isodevice /dev/loop0 iso9660 1.5G 1.5G 0 100% /cdrom /dev/loop1 squashfs 1.4G 1.4G 0 100% /rofs aufs aufs 7.8G 128M 7.7G 2% / tmpfs tmpfs 7.8G 34M 7.8G 1% /dev/shm tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup tmpfs tmpfs 7.8G 1.4M 7.8G 1% /tmp tmpfs tmpfs 1.6G 96K 1.6G 1% /run/user/999 /dev/mapper/ubuntu--vg-root ext4 218G 7.2G 200G 4% /mnt/sysimage /dev/sdb2 ext2 473M 185M 264M 42% /mnt/sysimage/boot /dev/sdb1 vfat 511M 3.4M 508M 1% /mnt/sysimage/boot/efi /dev/mapper/hddvg-vmachs ext4 504G 222G 257G 47% /mnt/boot-sav/mapper/hddvg-vmachs =================== fdisk -l: Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 Disk /dev/loop0: 1.5 GiB, 1554186240 bytes, 3035520 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: 0x15e2543d Device Boot Start End Sectors Size Id Type /dev/loop0p1 * 0 3035519 3035520 1.5G 0 Empty /dev/loop0p2 14432 19295 4864 2.4M ef EFI (FAT-12/16/32) Disk /dev/loop1: 1.4 GiB, 1497772032 bytes, 2925336 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: 931.5 GiB, 1000204886016 bytes, 1953525168 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 Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: C3A1FA70-B7C8-473F-B55F-01D1B70FB538 Device Start End Sectors Size Type /dev/sdb1 2048 1050623 1048576 512M EFI System /dev/sdb2 1050624 2050047 999424 488M Linux filesystem /dev/sdb3 2050048 500117503 498067456 237.5G Linux LVM Disk /dev/sdc: 58.4 GiB, 62742792192 bytes, 122544516 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: 0x003657be Device Boot Start End Sectors Size Id Type /dev/sdc1 * 2048 67112959 67110912 32G b W95 FAT32 Disk /dev/mapper/hddvg-hdd_swap: 16 GiB, 17179869184 bytes, 33554432 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 Disk /dev/mapper/hddvg-vmachs: 512 GiB, 549755813888 bytes, 1073741824 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 Disk /dev/mapper/ubuntu--vg-root: 221.6 GiB, 237938671616 bytes, 464723968 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. /boot detected. Please check the options. =================== Default settings of Boot Repair The default repair of the Boot-Repair utility would purge (in order to sign-grub enable-raid enable-lvm) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options: sdb1/boot/efi, Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi =================== Final advice in case of suggested repair Please do not forget to make your BIOS boot on sda (1000GB) disk! =================== User settings The settings chosen by the user will purge (in order to sign-grub enable-raid enable-lvm) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options: sdb1/boot/efi, Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi /boot removed in mapper/ubuntu--vg-root/fstab /boot/efi added in mapper/ubuntu--vg-root/fstab mapper/ubuntu--vg-root/boot/efi not empty Mount sdb1 on /mnt/sysimage/boot/efi ls sdb1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw chroot /mnt/sysimage apt-get -y --force-yes update Purge the GRUB of mapper/ubuntu--vg-root grub-efi-amd64-signed available 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. 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/sysimage" dpkg --configure -ansudo chroot "/mnt/sysimage" apt-get install -fynsudo chroot "/mnt/sysimage" apt-get install -y --force-yes dmraidnsudo chroot "/mnt/sysimage" dmraid -aynsudo chroot "/mnt/sysimage" apt-get install -y --force-yes lvm2nsudo chroot "/mnt/sysimage" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed* =================== No kernel in /isodevice/boot: grub grub.exe img kexec-loader.lst multisystem.bs.save polices splash syslinux /isodevice/boot/grub/menu.lst detected =================== /mnt/sysimage/etc/grub.d/ : drwxr-xr-x 2 root root 4096 Sep 3 22:08 grub.d total 4 -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+ /boot/efi detected in the fstab of mapper/ubuntu--vg-root: UUID=DC41-3203 (sdb1) shim-signed available linux-signed-generic available Then type: sudo chroot "/mnt/sysimage" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic =================== No kernel in /isodevice/boot: grub grub.exe img kexec-loader.lst multisystem.bs.save polices splash syslinux /isodevice/boot/grub/menu.lst detected =================== /mnt/sysimage/etc/grub.d/ : drwxr-xr-x 2 root root 4096 Sep 3 22:09 grub.d drwxr-xr-x 2 root root 4096 Sep 3 22:08 grub.d.bak total 76 -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom -rw-r--r-- 1 root root 483 Jun 21 04:11 README =================== /mnt/sysimage/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 mapper/ubuntu--vg-root: UUID=DC41-3203 (sdb1) Unhide GRUB boot menu in mapper/ubuntu--vg-root/etc/default/grub =================== No kernel in /isodevice/boot: grub grub.exe img kexec-loader.lst multisystem.bs.save polices splash syslinux /isodevice/boot/grub/menu.lst detected =================== /mnt/sysimage/etc/grub.d/ : drwxr-xr-x 2 root root 4096 Sep 3 22:09 grub.d drwxr-xr-x 2 root root 4096 Sep 3 22:08 grub.d.bak total 76 -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom -rw-r--r-- 1 root root 483 Jun 21 04:11 README =================== /mnt/sysimage/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 mapper/ubuntu--vg-root: UUID=DC41-3203 (sdb1) *******lspci -nnk | grep -iA3 vga 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) DeviceName: Onboard IGD Subsystem: Dell 4th Gen Core Processor Integrated Graphics Controller [1028:0688] Kernel driver in use: i915 ******* grub-install --version grub-install (GRUB) 2.02~beta2-36ubuntu3.12,grub-install (GRUB) 2. chroot /mnt/sysimage efibootmgr -v BootCurrent: 100D Timeout: 1 seconds BootOrder: 0000,100D,0009,000A,000B,000C,0007,0008 Boot0000* ubuntu HD(1,GPT,b38ca33e-f22b-4bb9-bf7b-1a12bbbe8c7a,0x800,0x100000)/File(EFIubuntushimx64.efi) Boot0007 Onboard NIC (IPV4) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO Boot0008 Onboard NIC (IPV6) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv6([::]:<->[::]:,0,0)..BO Boot0009* Hard Drive BBS(HD,,0x0)..GO..NO........q.S.a.n.D.i.s.k. .E.x.t.r.e.m.e. .0.0.0.1....................A.............................>..Gd-.;.A..MQ..L.A.A.0.1.0.4.1.4.1.5.1.5.1.0.2.7.2.8.9.3........BO Boot000A* USB BBS(USB,,0x0)..GO..NO..........P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2....................A..................1.N........>.;......V..Gd-.;.A..MQ..L.P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2........BO Boot000B* Removable Drive BBS(Floppy,,0x0)..GO..NO........~.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0....................A..................1.N........>.;......B..Gd-.;.A..MQ..L.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0........BO Boot000C* PCMCIA Device BBS(PCMCIA,,0x0)..GO..NO........o.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t.........................rN.D+..,............@..Gd-.;.A..MQ..L.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t........BO chroot /mnt/sysimage uname -r Kernel: 4.8.0-36-generic Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of mapper/ubuntu--vg-root 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 sdb1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw ls sdb2/efi: /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/grub.cfg /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/fw /EFI/ubuntu ls sdb2: abi-4.10.0-33-generic abi-4.4.0-93-generic abi-4.8.0-36-generic config-4.10.0-33-generic config-4.4.0-93-generic config-4.8.0-36-generic efi grub grub.bak initrd.img-4.10.0-33-generic initrd.img-4.4.0-93-generic initrd.img-4.8.0-36-generic lost+found memtest86+.bin memtest86+.elf memtest86+_multiboot.bin System.map-4.10.0-33-generic System.map-4.4.0-93-generic System.map-4.8.0-36-generic vmlinuz-4.10.0-33-generic vmlinuz-4.4.0-93-generic vmlinuz-4.4.0-93-generic.efi.signed vmlinuz-4.8.0-36-generic . Please report this message to boot.repair@gmail.com cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/ubuntu/shimx64.efi df /dev/sdb1 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb) df /dev/sdb1 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb) df /dev/sdb1 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/EFI/Boot/bootx64.efi (& .grb) ls sdb1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi ls sdb1: EFI ubuntu . Please report this message to boot.repair@gmail.com Add /mnt/sysimage/boot/efi efi entries in /mnt/sysimage/etc/grub.d/25_custom Adding custom /mnt/sysimage/boot/efi/EFI/ubuntu/fwupx64.efi Adding custom /mnt/sysimage/boot/efi/EFI/ubuntu/mmx64.efi df /dev/sdb2 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/Microsoft/Boot/bootmgfw.efi (& .grb) df /dev/sdb2 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/Microsoft/Boot/bootx64.efi (& .grb) df /dev/sdb2 cp /mnt/sysimage/boot/efi/EFI/ubuntu/shimx64.efi /mnt/sysimage/boot/efi/Boot/bootx64.efi (& .grb) ls sdb2/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/grub.cfg /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/fw /EFI/Microsoft/Boot /EFI/Boot/bootx64.efi.grb /EFI/Boot/bootx64.efi /ubuntu/shimx64.efi /Microsoft/Boot /EFI/ubuntu /EFI/Microsoft /EFI/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi ls sdb2: abi-4.10.0-33-generic abi-4.4.0-93-generic abi-4.8.0-36-generic config-4.10.0-33-generic config-4.4.0-93-generic config-4.8.0-36-generic efi grub grub.bak initrd.img-4.10.0-33-generic initrd.img-4.4.0-93-generic initrd.img-4.8.0-36-generic lost+found memtest86+.bin memtest86+.elf memtest86+_multiboot.bin System.map-4.10.0-33-generic System.map-4.4.0-93-generic System.map-4.8.0-36-generic vmlinuz-4.10.0-33-generic vmlinuz-4.4.0-93-generic vmlinuz-4.4.0-93-generic.efi.signed vmlinuz-4.8.0-36-generic . Please report this message to boot.repair@gmail.com Add /mnt/sysimage/boot efi entries in /mnt/sysimage/etc/grub.d/25_custom Adding custom /mnt/sysimage/boot/efi/EFI/ubuntu/fwupx64.efi Adding custom /mnt/sysimage/boot/efi/EFI/ubuntu/mmx64.efi 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 chroot /mnt/sysimage efibootmgr -v BootCurrent: 100D Timeout: 1 seconds BootOrder: 0000,100D,0009,000A,000B,000C,0007,0008 Boot0000* ubuntu HD(1,GPT,b38ca33e-f22b-4bb9-bf7b-1a12bbbe8c7a,0x800,0x100000)/File(EFIubuntushimx64.efi) Boot0007 Onboard NIC (IPV4) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO Boot0008 Onboard NIC (IPV6) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(34e6d769a4d6,0)/IPv6([::]:<->[::]:,0,0)..BO Boot0009* Hard Drive BBS(HD,,0x0)..GO..NO........q.S.a.n.D.i.s.k. .E.x.t.r.e.m.e. .0.0.0.1....................A.............................>..Gd-.;.A..MQ..L.A.A.0.1.0.4.1.4.1.5.1.5.1.0.2.7.2.8.9.3........BO Boot000A* USB BBS(USB,,0x0)..GO..NO..........P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2....................A..................1.N........>.;......V..Gd-.;.A..MQ..L.P.1.:. .S.A.M.S.U.N.G. .S.S.D. .P.M.8.5.1. .M...2. .2.2.8.0. .2........BO Boot000B* Removable Drive BBS(Floppy,,0x0)..GO..NO........~.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0....................A..................1.N........>.;......B..Gd-.;.A..MQ..L.P.0.:. .T.O.S.H.I.B.A. .M.Q.0.1.A.B.D.1.0.0........BO Boot000C* PCMCIA Device BBS(PCMCIA,,0x0)..GO..NO........o.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t.........................rN.D+..,............@..Gd-.;.A..MQ..L.Q.u.a.l.c.o.m.m. .A.t.h.e.r.o.s. .B.o.o.t........BO chroot /mnt/sysimage update-grub Generating grub configuration file ... File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5106: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5106: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5106: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5106: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5145: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5145: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5145: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5145: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5181: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5181: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5181: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5181: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5215: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5215: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5215: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5215: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5335: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5335: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 5335: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 5335: /usr/sbin/grub-probe Found linux image: /boot/vmlinuz-4.10.0-33-generic Found initrd image: /boot/initrd.img-4.10.0-33-generic Found linux image: /boot/vmlinuz-4.8.0-36-generic Found initrd image: /boot/initrd.img-4.8.0-36-generic Found linux image: /boot/vmlinuz-4.4.0-93-generic Found initrd image: /boot/initrd.img-4.4.0-93-generic File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 6108: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 6108: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 6108: /usr/sbin/grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 6108: /usr/sbin/grub-probe File descriptor 9 (/proc/15340/mounts) leaked on lvs invocation. Parent PID 6234: /bin/sh File descriptor 63 (pipe:[63381]) leaked on lvs invocation. Parent PID 6234: /bin/sh File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 6527: grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 6527: grub-probe File descriptor 9 (/proc/15340/mounts) leaked on vgs invocation. Parent PID 6527: grub-probe File descriptor 63 (pipe:[63381]) leaked on vgs invocation. Parent PID 6527: grub-probe Adding boot menu entry for EFI firmware configuration Unhide GRUB boot menu in sdc1/boot/grub/grub.cfg Unhide GRUB boot menu in mapper/ubuntu--vg-root/boot/grub/grub.cfg Boot successfully repaired. You can now reboot your computer. Please do not forget to make your BIOS boot on sda (1000GB) disk!