PDA

View Full Version : [SOLVED] 14.04 standard installation boot issues



iansan
February 11th, 2016, 05:59 PM
I re-installed Ubuntu 14.04 to a single drive with standard/straightforward options (encrypt home directory, use LVM) and it does not boot from grub. There were no additional partitions before installation. When booting from grub I get the black screen saying "This is not a proper boot device, please insert boot media and restart." If I use the boot menu from my BIOS there are multiple identically-named Ubuntu options called "Ubuntu (P1:...)" and one of these boots while the other does not.

I used Boot Repair's recommended repair but it did not fix this issue, it only gave me more boot choices that don't work. Here's the BootInfo summary:


Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]


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

sda2: __________________________________________________ ________________________

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

sda3: __________________________________________________ ________________________

File system: crypto_LUKS
Boot sector type: Unknown
Boot sector info:

ubuntu-vg-root: __________________________________________________ ______________

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

ubuntu-vg-swap_1: __________________________________________________ ____________

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

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 500,118,191 500,118,191 ee GPT


GUID Partition Table detected.

Partition 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 1,550,335 499,712 Data partition (Linux)
/dev/sda3 1,550,336 500,117,503 498,567,168 Data partition (Linux)

"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/mapper/sda3_crypt OKShR3-OTu1-bieY-4J58-ENvk-Lx15-v54HNo LVM2_member
/dev/mapper/ubuntu--vg-root 23e167d6-2be1-4f32-8f79-bff4825464f8 ext4
/dev/sda1 FA16-1082 vfat
/dev/sda2 4621a0d7-3f45-42f5-ba31-e0bf1035a102 ext2
/dev/sda3 8ef483a1-074f-4e1e-94b0-4be7050d8763 crypto_LUKS
/dev/sr0 iso9660 Ubuntu 14.04.3 LTS amd64

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

total 0
lrwxrwxrwx 1 root root 9 Feb 11 08:21 ata-HL-DT-ST_DVDRAM_GH24NS90_K3FC73H2621 -> ../../sr0
lrwxrwxrwx 1 root root 9 Feb 11 08:23 ata-OCZ-VERTEX4_OCZ-U7IJXFH0S09HEFG3 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 08:21 ata-OCZ-VERTEX4_OCZ-U7IJXFH0S09HEFG3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 08:21 ata-OCZ-VERTEX4_OCZ-U7IJXFH0S09HEFG3-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 11 08:21 ata-OCZ-VERTEX4_OCZ-U7IJXFH0S09HEFG3-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-name-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-name-ubuntu--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-uuid-CRYPT-LUKS1-8ef483a1074f4e1e94b04be7050d8763-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-uuid-LVM-Eg3CONfEg4O9TAHICU2cI4eC6QRNGrOCYkK5ZSEJKV29nGGKc0 u8RKCEITGKazyE -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 11 08:23 dm-uuid-LVM-Eg3CONfEg4O9TAHICU2cI4eC6QRNGrOCcv6m1j8m5Ax33rtCMF kc8lWZjcp7Bl1U -> ../../dm-1
lrwxrwxrwx 1 root root 9 Feb 11 08:21 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root 9 Feb 11 08:23 wwn-0x5e83a970a21831f3 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11 08:21 wwn-0x5e83a970a21831f3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11 08:21 wwn-0x5e83a970a21831f3-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 11 08:21 wwn-0x5e83a970a21831f3-part3 -> ../../sda3

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

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

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

Device Mount_Point Type Options

/dev/mapper/ubuntu--vg-root / ext4 (rw,errors=remount-ro)
/dev/sda1 /boot/efi vfat (rw)
/dev/sda2 /boot ext2 (rw)
/dev/sr0 /media/me/Ubuntu 14.04.3 LTS amd64 iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8, mode=0400,dmode=0500,uhelper=udisks2)


============================= sda2/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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
font="/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
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-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
linux /vmlinuz-3.19.0-49-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
initrd /initrd.img-3.19.0-49-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-23e167d6-2be1-4f32-8f79-bff4825464f8' {
menuentry 'Ubuntu, with Linux 3.19.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-49-generic-advanced-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.19.0-49-generic ...'
linux /vmlinuz-3.19.0-49-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.19.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-49-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-49-generic-recovery-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.19.0-49-generic ...'
linux /vmlinuz-3.19.0-49-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.19.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-advanced-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.19.0-25-generic ...'
linux /vmlinuz-3.19.0-25-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.19.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-recovery-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.19.0-25-generic ...'
linux /vmlinuz-3.19.0-25-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.19.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-77-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-77-generic-advanced-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.13.0-77-generic ...'
linux /vmlinuz-3.13.0-77-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.13.0-77-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-77-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-77-generic-recovery-23e167d6-2be1-4f32-8f79-bff4825464f8' {
recordfail
load_video
insmod gzio
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 4621a0d7-3f45-42f5-ba31-e0bf1035a102
else
search --no-floppy --fs-uuid --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
fi
echo 'Loading Linux 3.13.0-77-generic ...'
linux /vmlinuz-3.13.0-77-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.13.0-77-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/MokManager.efi" {
search --fs-uuid --no-floppy --set=root FA16-1082
chainloader (${root})/EFI/ubuntu/MokManager.efi
}

menuentry "efi/EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 4621a0d7-3f45-42f5-ba31-e0bf1035a102
chainloader (${root})/efi/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 ###
--------------------------------------------------------------------------------

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

Unknown BootLoader on sda3

00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai|
00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............|
00000040 00 00 00 00 00 00 00 00 73 68 61 31 00 00 00 00 |........sha1....|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@|
00000070 84 fe b7 01 11 b5 34 59 19 f6 05 37 c9 af 5c 11 |......4Y...7..\.|
00000080 7c 66 db 15 c0 55 0d 4b 97 e1 e5 ed 8b 8a 2a 6f ||f...U.K......*o|
00000090 f2 04 ee f3 62 c1 09 a3 a5 0a 2d b5 c9 03 54 d7 |....b.....-...T.|
000000a0 6a 02 0e 92 00 01 0c 11 38 65 66 34 38 33 61 31 |j.......8ef483a1|
000000b0 2d 30 37 34 66 2d 34 65 31 65 2d 39 34 62 30 2d |-074f-4e1e-94b0-|
000000c0 34 62 65 37 30 35 30 64 38 37 36 33 00 00 00 00 |4be7050d8763....|
000000d0 00 ac 71 f3 00 04 2c 5f 84 4c 06 9f b5 3f 0b 1b |..q...,_.L...?..|
000000e0 e8 fa 07 b0 ce 7d a1 6a bd 5b 0c 3a 79 c4 3a 8c |.....}.j.[.:y.:.|
000000f0 b3 fc 66 f7 88 36 5a 7b 00 00 00 08 00 00 0f a0 |..f..6Z{........|
00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................|
00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................|
00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................|
00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................|
000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................|
000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200

Unknown BootLoader on ubuntu-vg-root


Unknown BootLoader on ubuntu-vg-swap_1



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

File descriptor 9 (/proc/8899/mounts) leaked on lvs invocation. Parent PID 17058: bash
File descriptor 63 (pipe:[27804]) leaked on lvs invocation. Parent PID 17058: bash
File descriptor 9 (/proc/8899/mounts) leaked on lvchange invocation. Parent PID 17682: bash
File descriptor 63 (pipe:[27804]) leaked on lvchange invocation. Parent PID 17682: bash
skip_dev_dir: Couldn't split up device name ubuntu-vg-root
Volume group "ubuntu-vg-root" not found
Skipping volume group ubuntu-vg-root
hexdump: /dev/mapper/ubuntu-vg-root: No such file or directory
hexdump: /dev/mapper/ubuntu-vg-root: No such file or directory
File descriptor 9 (/proc/8899/mounts) leaked on lvchange invocation. Parent PID 17682: bash
File descriptor 63 (pipe:[27804]) leaked on lvchange invocation. Parent PID 17682: bash
skip_dev_dir: Couldn't split up device name ubuntu-vg-swap_1
Volume group "ubuntu-vg-swap_1" not found
Skipping volume group ubuntu-vg-swap_1
hexdump: /dev/mapper/ubuntu-vg-swap_1: No such file or directory
hexdump: /dev/mapper/ubuntu-vg-swap_1: No such file or directory

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-02-11__08h23 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa35
BLKID BEFORE LVM ACTIVATION:
/dev/sda1: UUID="FA16-1082" TYPE="vfat"
/dev/sda2: UUID="4621a0d7-3f45-42f5-ba31-e0bf1035a102" TYPE="ext2"
/dev/sda3: UUID="8ef483a1-074f-4e1e-94b0-4be7050d8763" TYPE="crypto_LUKS"
/dev/sr0: LABEL="Ubuntu 14.04.3 LTS amd64" TYPE="iso9660"
/dev/mapper/sda3_crypt: UUID="OKShR3-OTu1-bieY-4J58-ENvk-Lx15-v54HNo" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="23e167d6-2be1-4f32-8f79-bff4825464f8" TYPE="ext4"
MODPROBE
VGSCAN
File descriptor 9 (/proc/8899/mounts) leaked on vgscan invocation. Parent PID 8907: /bin/bash
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/8899/mounts) leaked on vgchange invocation. Parent PID 8907: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/8899/mounts) leaked on lvscan invocation. Parent PID 8907: /bin/bash
LVSCAN:
ACTIVE '/dev/ubuntu-vg/root' [221.78 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [15.95 GiB] inherit
Is there RAID on this computer? no
File descriptor 9 (/proc/8899/mounts) leaked on lvs invocation. Parent PID 10690: /bin/sh
boot-repair is executed in installed-session (Ubuntu 14.04.3 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/vmlinuz-3.19.0-49-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash
Set sda as corresponding disk of mapper/ubuntu--vg-root
Set sda as corresponding disk of mapper/ubuntu--vg-root
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/mapper/sda3_crypt doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

=================== os-prober:
/dev/mapper/ubuntu--vg-root:The OS now in use - Ubuntu 14.04.3 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="FA16-1082" TYPE="vfat"
/dev/sda2: UUID="4621a0d7-3f45-42f5-ba31-e0bf1035a102" TYPE="ext2"
/dev/sda3: UUID="8ef483a1-074f-4e1e-94b0-4be7050d8763" TYPE="crypto_LUKS"
/dev/sr0: LABEL="Ubuntu 14.04.3 LTS amd64" TYPE="iso9660"
/dev/mapper/sda3_crypt: UUID="OKShR3-OTu1-bieY-4J58-ENvk-Lx15-v54HNo" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="23e167d6-2be1-4f32-8f79-bff4825464f8" TYPE="ext4"

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.

mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 10 23:31 grub.d
drwxr-xr-x 2 root root 4096 Feb 10 23:28 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Dec 17 07:00 00_header
-rwxr-xr-x 1 root root 6058 May 13 2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 Dec 17 07:00 10_linux
-rwxr-xr-x 1 root root 10412 Dec 17 07:00 20_linux_xen
-rwxr-xr-x 1 root root 346 Feb 10 23:31 25_custom
-rwxr-xr-x 1 root root 11692 Dec 17 07:00 30_os-prober
-rwxr-xr-x 1 root root 1416 Dec 17 07:00 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 17 07:00 40_custom
-rwxr-xr-x 1 root root 216 Dec 17 07:00 41_custom
-rw-r--r-- 1 root root 483 Dec 17 07:00 README




=================== /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=FA16-1082 (sda1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=4621a0d7-3f45-42f5-ba31-e0bf1035a102 (sda2)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/Boot/bootx64.efi

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0003,0001,0000,0004,0005,0006
Boot0000 ubuntu HD(1,800,100000,ec967df2-f3fd-4511-ac4a-ec29c12c98a6)File(EFIubuntushimx64.efi)
Boot0001 Hard Drive BIOS(2,0,00)AMGOAMNO........o.O.C.Z.-.V.E.R.T.E.X.4....................A.............. .............>..Gd-.;.A..MQ..L.C.O.-.Z.7.U.J.I.F.X.0.H.0.S.H.9.F.E.3.G......AMBO
Boot0002* CD/DVD Drive BIOS(3,0,00)AMGOAMNO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.9.0....................A............ ...............>..Gd-.;.A..MQ..L.3.K.C.F.3.7.2.H.2.6. .1. . . . . . . . ......AMBO
Boot0003* UEFI: Built-in EFI Shell Vendor(5023b95c-db26-429b-a648-bd47664c8012,)AMBO
Boot0004 ubuntu HD(1,800,100000,ec967df2-f3fd-4511-ac4a-ec29c12c98a6)File(EFIUbuntugrubx64.efi)
Boot0005 UEFI OS HD(1,800,100000,ec967df2-f3fd-4511-ac4a-ec29c12c98a6)File(EFIBOOTBOOTX64.EFI)
Boot0006 UEFI: HL-DT-ST DVDRAM GH24NS90 ACPI(a0341d0,0)PCI(1f,2)03120a000400ffff0000CD-ROM(1,7c6fa,11c0)AMBO

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


=================== PARTITIONS & DISKS:
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, .
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, /boot/efi.
sda2 : sda, 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, /boot.
sda3 : 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/sda3.

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


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

Model: ATA OCZ-VERTEX4 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot
2 538MB 794MB 256MB ext2
3 794MB 256GB 255GB


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

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


Error: /dev/mapper/ubuntu--vg-swap_1: unrecognised disk label

Error: /dev/mapper/sda3_crypt: unrecognised disk label

Model: HL-DT-ST DVDRAM GH24NS90 (scsi)
Disk /dev/sr0: 4700MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac

Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 4175MB 4185MB 9306kB EFI

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

BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA OCZ-VERTEX4;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:794MB:256MB:ext2::;
3:794MB:256GB:255GB:::;

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

Error: /dev/mapper/ubuntu--vg-swap_1: unrecognised disk label

Error: /dev/mapper/sda3_crypt: unrecognised disk label

BYT;
/dev/sr0:4700MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GH24NS90;
1:8192B:24.6kB:16.4kB::Apple:;
2:4175MB:4185MB:9306kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 238.5G
sda1 part vfat 512M
sda2 part ext2 244M
sda3 part crypto_LUKS 237.8G
dm-0 crypt LVM2_member 237.8G
dm-1 lvm ext4 221.8G
dm-2 lvm 16G
sr0 rom iso9660 4.4G Ubuntu 14.04.3 LTS amd64

KNAME ROTA RO RM STATE MOUNTPOINT
sda 0 0 0 running
sda1 0 0 0 /boot/efi
sda2 0 0 0 /boot
sda3 0 0 0
dm-0 0 0 0 running
dm-1 0 0 0 running /
dm-2 0 0 0 running
sr0 1 0 1 running /media/me/Ubuntu 14.04.3 LTS amd64


=================== mount:
/dev/mapper/ubuntu--vg-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda2 on /boot type ext2 (rw)
/dev/sda1 on /boot/efi type vfat (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
/home/me/.Private on /home/me type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryp tfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig =f6f2ae29891fe62a,ecryptfs_fnek_sig=4282ef335e8436 b4)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=me)
/dev/sr0 on /media/me/Ubuntu 14.04.3 LTS amd64 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8, mode=0400,dmode=0500,uhelper=udisks2)


=================== ls:
/sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-2 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 input kmsg kvm log lp0 mapper mcelog mei0 mem memory_bandwidth net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control sda3_crypt ubuntu--vg-root ubuntu--vg-swap_1
ls: cannot access : No such file or directory

=================== 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 82 10 16 fa 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

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/mapper/sda3_crypt doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

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

Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 7.8G 12K 7.8G 1% /dev
tmpfs tmpfs 1.6G 1.3M 1.6G 1% /run
/dev/mapper/ubuntu--vg-root ext4 219G 4.6G 203G 3% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 7.9G 152K 7.9G 1% /run/shm
none tmpfs 100M 32K 100M 1% /run/user
/dev/sda2 ext2 237M 141M 84M 63% /boot
/dev/sda1 vfat 511M 7.1M 504M 2% /boot/efi
/home/me/.Private ecryptfs 219G 4.6G 203G 3% /home/me
/dev/sr0 iso9660 1006M 1006M 0 100% /media/me/Ubuntu 14.04.3 LTS amd64

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

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 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
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 500118191 250059095+ ee GPT

Disk /dev/mapper/sda3_crypt: 255.3 GB, 255264292864 bytes
255 heads, 63 sectors/track, 31034 cylinders, total 498563072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/ubuntu--vg-root: 238.1 GB, 238131609600 bytes
255 heads, 63 sectors/track, 28951 cylinders, total 465100800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/ubuntu--vg-swap_1: 17.1 GB, 17129537536 bytes
255 heads, 63 sectors/track, 2082 cylinders, total 33456128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to sign-grub enable-lvm) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options: sda2/boot, sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems use-standard-efi-file rename-ms-efi


=================== Advice in case of suggested repair
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?


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

oldfred
February 11th, 2016, 07:32 PM
I really do not know LVM nor encryption.
But you are booting with UEFI and separate /boot partition.
If running updates with Boot-Repair you may need to manually mount your LVM and encrypted partition(s) so it asks for pass-phase first.

What brand/model system?
Some modify UEFI to use description as part of UEFI boot. That is not allowed per UEFI spec, but of course those systems only allow "Windows" as description. There are several work arounds.

Report of this, did not show the little * next to ubuntu entries for shim & grub efi boot files. That is the active flag, but I have not seen that missing before.
You do also show you have a fallback/hard drive boot entry using bootx64.efi. Most systems make bootx64.efi as just a copy of Windows efi boot file.

If only booting Ubuntu, we can rename ubuntu entry for shim to "Windows" and it seems to work. For dual boot or a backup way to boot we also copy shimx64.efi into /EFI/Boot and rename to bootx64.efi and can boot hard drive entry.

Post this to see latest, is shown in report.
sudo efibootmgr -v

Details on efibootmgr
http://linux.die.net/man/8/efibootmgr
http://linux.dell.com/cgi-bin/gitweb/gitweb.cgi?p=efibootmgr.git;a=blob_plain;f=README; hb=HEAD

Commands to copy shim to /EFI/Boot are in link in my signature (somewhere), if you want to read ahead. Or I can post details, depending on brand/model system and what you prefer.

iansan
February 12th, 2016, 01:51 AM
Thanks for the reply oldfred. I don't know encryption or LVM either. The installer automatically selects LVM when you choose the "Encrypt home folder" option. My motherboard is using the option "Legacy+UEFI" which sounds like it tries to support both.

System details (I built it):
Motherboard: MSI Z77A-G43
CPU: Intel i5-3570K
HD: OCZ Vertex 4 SSD 256GB

I use dual boot with Windows but unplug the Windows drive during Ubuntu installation. I honestly am not particular about how this gets fixed, I just wanted to use encryption if it wouldn't be a headache (it wasn't when I installed 12.04). Whatever the quickest solution is is what I'll go with, even if that means a single unencrypted partition.

I noticed during formatting the drive that "Encrypted ext4" is an option, maybe I'll try reformatting with that and not selecting the "Encrypt home folder" option during installation.

Bucky Ball
February 12th, 2016, 04:18 AM
Thread moved to Installation & Upgrades.

Encrypting partitions and LVM are not really standard, straightforward options. ;)

Geoffrey_Arndt
February 12th, 2016, 04:42 AM
+1 for Bucky's post . . . especially as there are several other safer and simpler encryption options for those files and directories you need it for (7zip/AES, GPG/Twofish, etc.). Am not a fan of whole disk encryption, especially if the drive starts to fail.

iansan
February 12th, 2016, 08:52 AM
I meant standard/straightforward in the sense that encryption and LVM are top-level options in the installer. I wasn't in an advanced options menu or anything like that. I'm surprised that these options are presented as part of the standard installation process.

I finally got this to work after several re-installations, followed by Boot Repair. This was most likely caused by a grub bug where it isn't found on larger hard drives when installed in the root partition (which is the default). I created the partitions I wanted using all available space (minus 1MB which is untouchable) with gparted. Installation went fine but I couldn't boot (same message "This is not a proper boot device, please insert boot media and restart.")

I then created a boot partition and reinstalled. Same issue ("This is not a proper boot device, please insert boot media and restart."). I used Boot Repair to try to fix it and got the message "GPT detected. Please create a BIOS-Boot partition (> 1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again." So in gparted I reduced the swap partition by 1MB, left this new 1MB partition unformatted, set that flag, and ran Boot Repair. I was then able to boot into the installation.

It seems like the key is the tiny bios_grub partition, and I didn't want a boot partition so I'm tempted to wipe it all and reconfigure the partitions.

Bucky Ball
February 12th, 2016, 11:14 AM
Excellent you have solved it. Thanks for sharing. To spread the word, please mark the thread as solved (see link in my signature). This will not close the thread, just help others. Good luck. ;)

oldfred
February 12th, 2016, 04:36 PM
With gpt partitioning you need either the ESP - efi system partition for UEFI boot, or an unformatted 1 or 2MB unformatted partition with bios_grub flag for BIOS boot.
ESP should be near beginning of drive especially on some of these very large drives. And bios_grub can be anywhere on drive, but I would not put it at end of a multi-TB drive either.

I converted drives to gpt with my old BIOS system, but started adding both the ESP & bios_grub partition to all new or reformatted drives at start of drive, so I could move drive to a new UEFI system.

Only if gpt - all partitions in gpt are primary (no logicals):
gpt: 300MB to 500MB efi FAT32 w/boot flag (for UEFI boot or future use for UEFI, you only can have one per drive, so if already existing do not attempt another)
gpt: 1 or 2 MB No Format w/bios_grub flag (for BIOS boot not required for UEFI)


Windows only creates a 100MB ESP which still has room for Ubuntu, but it is not large. If later you want rEFInd and maybe experiment with other systems, better to be generous.

iansan
February 13th, 2016, 07:55 AM
I did another installation, this time without the /boot partition and it worked as well. When using the installer to make your partitions the terms used are slightly different than in gparted (of course!). Using the installer you don't choose the format type, only the partition type, and the bios_grub equivalent was something along the lines of "reserved boot area". Hope this helps.