PDA

View Full Version : Post Upgrade Grub no longer has Windows 7 Adding it results in Invalid Signature



fred_bernhardt
May 12th, 2015, 09:43 PM
Last week I upgraded to Mint 17.1. Upgrade to Mint worked fine, but Grub no longer showed Windows as an option. I've read several threads and have been able to readd that option, but when I try it I receive "Invalid Signature". fdisk -l shows there is a valid partion, but grub-mkconfig responds with "No Volume Groups Found"


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 identifier: 0x50b0cda5

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 732669951 366333952 7 HPFS/NTFS/exFAT
/dev/sda2 732669952 771969023 19649536 c W95 FAT32 (LBA)
/dev/sda3 771973118 976771071 102398977 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 771973120 967282687 97654784 83 Linux
/dev/sda6 967284736 976771071 4743168 82 Linux swap / Solaris

And Bootinfo looks like this

Boot Info Script 0.61 [1 April 2012]


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

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .

sda1: __________________________________________________ ________________________

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

sda2: __________________________________________________ ________________________

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

sda3: __________________________________________________ ________________________

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

sda5: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 17 Qiana
Boot files: /boot/grub/grub.cfg /etc/fstab

sda6: __________________________________________________ ________________________

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

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 732,669,951 732,667,904 7 NTFS / exFAT / HPFS
/dev/sda2 732,669,952 771,969,023 39,299,072 c W95 FAT32 (LBA)
/dev/sda3 771,973,118 976,771,071 204,797,954 5 Extended
/dev/sda5 771,973,120 967,282,687 195,309,568 83 Linux
/dev/sda6 967,284,736 976,771,071 9,486,336 82 Linux swap / Solaris


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/sda5 c89d3e1a-f255-439a-96e0-a07ed4c2df34 ext4
/dev/sda6 e398c8ff-6017-4eb7-92ad-1700353d432a swap

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

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro)


=========================== sda5/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c89d3e1a-f255-439a-96e0-a07ed4c2df34
else
search --no-floppy --fs-uuid --set=root c89d3e1a-f255-439a-96e0-a07ed4c2df34
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 17 MATE 64-bit, 3.11.0-12-generic (/dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c89d3e1a-f255-439a-96e0-a07ed4c2df34
else
search --no-floppy --fs-uuid --set=root c89d3e1a-f255-439a-96e0-a07ed4c2df34
fi
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=c89d3e1a-f255-439a-96e0-a07ed4c2df34 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.11.0-12-generic
}
menuentry 'Linux Mint 17 MATE 64-bit, 3.11.0-12-generic (/dev/sda5) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c89d3e1a-f255-439a-96e0-a07ed4c2df34
else
search --no-floppy --fs-uuid --set=root c89d3e1a-f255-439a-96e0-a07ed4c2df34
fi
echo 'Loading Linux 3.11.0-12-generic ...'
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=c89d3e1a-f255-439a-96e0-a07ed4c2df34 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.11.0-12-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c89d3e1a-f255-439a-96e0-a07ed4c2df34
else
search --no-floppy --fs-uuid --set=root c89d3e1a-f255-439a-96e0-a07ed4c2df34
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 c89d3e1a-f255-439a-96e0-a07ed4c2df34
else
search --no-floppy --fs-uuid --set=root c89d3e1a-f255-439a-96e0-a07ed4c2df34
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

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

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

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

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

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c89d3e1a-f255-439a-96e0-a07ed4c2df34 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=e398c8ff-6017-4eb7-92ad-1700353d432a none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda5: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


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

Unknown BootLoader on sda1

00000000 ed be 15 99 09 18 4a 93 13 3a 78 c0 8b 70 a9 87 |......J..:x..p..|
00000010 41 ce d5 29 d1 6d 66 2c 37 9c e1 83 28 48 5c af |A..).mf,7...(H\.|
00000020 64 97 ac 7a 53 a0 28 d2 0f ae 73 c6 63 df 56 0e |d..zS.(...s.c.V.|
00000030 11 a0 87 dc b0 1e 47 c9 51 25 a4 5f 04 ef f1 f4 |......G.Q%._....|
00000040 ed ac 4a 12 05 5e f0 5c 94 46 e0 2d 6f e3 ca 30 |..J..^.\.F.-o..0|
00000050 01 07 e6 1c bf 57 b7 39 6b 48 37 3c dc 14 ef df |.....W.9kH7<....|
00000060 7d f5 b8 14 4c 19 1e 62 43 cf c8 9d 68 d0 06 e8 |}...L..bC...h...|
00000070 96 29 f7 66 0a a7 dc 61 8c a9 cd 63 27 c2 36 b0 |.).f...a...c'.6.|
00000080 86 02 9a 16 aa e6 14 46 98 69 12 d0 34 16 16 b2 |.......F.i..4...|
00000090 a9 e2 65 c0 ae 42 d9 41 82 0b 0d 1f f7 7a 54 66 |..e..B.A.....zTf|
000000a0 4e 3a d0 10 02 3c d6 95 8d 42 e6 19 f9 12 c1 78 |N:...<...B.....x|
000000b0 ff 89 6b 15 3b 3a 06 e2 5c d2 13 60 20 2b 68 ba |..k.;:..\..` +h.|
000000c0 7b 0d 77 23 a9 33 28 f9 fb e2 a6 10 f2 ed ec c0 |{.w#.3(.........|
000000d0 58 d5 17 00 aa 5f c7 cf 57 2e ad a5 37 f2 fe ee |X...._..W...7...|
000000e0 03 94 a3 cd 2b 3e 07 48 8a 57 53 59 38 8b 9c dc |....+>.H.WSY8...|
000000f0 1c a2 4b 55 5a 42 d7 f5 c2 fe cf ad 10 83 9b a2 |..KUZB..........|
00000100 3e dd c9 4c 13 62 6e 53 f2 09 f1 ac 18 3d b6 8f |>..L.bnS.....=..|
00000110 e1 3b 96 3c ec cf 86 ff 9f 47 21 1d 8b d3 29 7b |.;.<.....G!...){|
00000120 5e 52 88 52 ac 8b 52 94 32 58 27 a6 3b 00 33 8f |^R.R..R.2X'.;.3.|
00000130 e0 e3 75 95 0a bf 36 49 a6 63 07 1b 83 08 9d 7a |..u...6I.c.....z|
00000140 1b 9c f3 14 08 6d ba d3 b2 b0 0a af 1e 81 bf a7 |.....m..........|
00000150 c8 be 74 ab 1b 48 eb f3 d3 74 c8 c9 3d 74 e4 7d |..t..H...t..=t.}|
00000160 90 81 f7 9e 3a 71 1b b6 c5 9f 81 6f 14 2c df ce |....:q.....o.,..|
00000170 1a 47 86 ce 59 37 c6 d2 b2 db 94 8b 83 8f 27 27 |.G..Y7........''|
00000180 19 e6 26 64 4a c3 45 98 96 b6 dc b3 a0 3f 3f a5 |..&dJ.E......??.|
00000190 60 d9 d7 71 09 27 8a bb 43 0b ac de 6e 41 4d 31 |`..q.'..C...nAM1|
000001a0 67 47 37 d0 81 81 84 ba b1 09 01 03 f5 f6 62 10 |gG7...........b.|
000001b0 19 ce e9 b1 b8 d2 da 12 46 7c 50 73 b5 de 1c 7d |........F|Ps...}|
000001c0 2a b5 df 08 ac 83 62 38 26 a3 4b d7 4b c2 25 b7 |*.....b8&.K.K.%.|
000001d0 b7 20 9f 1f 03 b0 95 b3 8a 98 9b 7a a4 98 2c 96 |. .........z..,.|
000001e0 17 83 9a ec 53 47 ac 7f 61 b3 2b 6e 29 07 5e ae |....SG..a.+n).^.|
000001f0 92 e3 d1 64 1e 60 39 15 e0 05 7a f6 0a 02 c2 14 |...d.`9...z.....|
00000200

Unknown BootLoader on sda2

00000000 02 d9 1f 5b 96 11 6d a3 27 90 c3 e9 54 1f f4 29 |...[..m.'...T..)|
00000010 5d 3d 74 74 cc 36 c0 27 6a 3a d8 36 5e 49 34 88 |]=tt.6.'j:.6^I4.|
00000020 3a 11 5d 8d 97 e3 bb 18 d7 94 35 1e c8 c4 b6 98 |:.].......5.....|
00000030 5f 17 95 c1 39 d4 44 a6 08 fa 52 44 b3 1a a6 f5 |_...9.D...RD....|
00000040 86 d4 64 48 67 7a e3 cf 56 94 92 ab 73 55 f8 95 |..dHgz..V...sU..|
00000050 80 87 40 62 79 76 56 ea 03 b1 74 04 14 9b 82 fe |..@byvV...t.....|
00000060 22 ca 55 9a 9c 7b 4d a0 7f 96 3f 5e f9 da d4 6b |".U..{M...?^...k|
00000070 72 2a 16 62 45 91 ba 7a 1a a2 e2 97 0d 7f 34 72 |r*.bE..z......4r|
00000080 22 7a a1 ac 46 e5 25 78 8f cf 67 39 8d 05 b9 93 |"z..F.%x..g9....|
00000090 df a3 59 fa ca d3 f7 88 64 15 e7 6e c0 4b 60 9b |..Y.....d..n.K`.|
000000a0 79 1e f3 87 3d 5c 1e e4 2a c8 3b 3b 0d 00 36 18 |y...=\..*.;;..6.|
000000b0 a2 82 5e f7 c4 26 11 3f 60 a8 8a 36 08 0c 50 27 |..^..&.?`..6..P'|
000000c0 43 44 2f 5e 65 7b 28 6a 33 a7 06 3f 1c 35 f2 51 |CD/^e{(j3..?.5.Q|
000000d0 3b f7 91 bb 27 b2 2f 29 84 e4 50 9f c9 bc e6 36 |;...'./)..P....6|
000000e0 40 61 67 ba a4 ee 3d f8 a5 9b 55 d0 f4 f2 28 26 |@ag...=...U...(&|
000000f0 a5 5d 3e 8d e5 a6 6d 73 96 b9 30 e0 12 cb 31 6b |.]>...ms..0...1k|
00000100 b0 6d 87 6e e7 c7 34 f5 87 d2 d8 68 99 ff 65 3c |.m.n..4....h..e<|
00000110 95 d4 c5 70 ca 9a dc ad 4f c9 4c ec 29 37 fb ed |...p....O.L.)7..|
00000120 e2 f5 cb 69 af 9e 2a 69 ff 4f ce 61 c2 f0 f0 01 |...i..*i.O.a....|
00000130 4b a7 36 9c b8 37 c6 ff 6f 48 ee 6e 34 5a 6b 3e |K.6..7..oH.n4Zk>|
00000140 08 b7 37 45 66 f9 d0 ac e8 de 62 a9 ef 84 34 f3 |..7Ef.....b...4.|
00000150 8f 23 d3 a2 f6 cf b6 e1 bd 19 d9 6f 76 ba 81 2d |.#.........ov..-|
00000160 18 da 0b 15 3d 5e 0c 8c 76 17 46 4e 47 c3 fe 18 |....=^..v.FNG...|
00000170 bf 29 4d 5e d1 51 93 a8 65 31 66 0a 2c b7 7f 64 |.)M^.Q..e1f.,..d|
00000180 01 4e e1 8f 7b 7d a8 a5 63 42 f5 31 16 03 7e 1c |.N..{}..cB.1..~.|
00000190 aa 0f 9b 56 4d ba 31 bb 10 c8 57 a1 68 b7 82 fb |...VM.1...W.h...|
000001a0 0c 95 b3 90 e5 8e 80 b7 50 b0 c7 c0 ec db 35 2d |........P.....5-|
000001b0 1d 7d c5 3a 6a 4c bb 3b e3 83 97 b8 80 5f 83 0b |.}.:jL.;....._..|
000001c0 94 e3 2f f9 51 7f 5d e8 b0 e8 7e 1b f6 de 51 fc |../.Q.]...~...Q.|
000001d0 a9 e5 18 c8 87 1f 16 00 00 b1 41 3b 1e 1f 5e 9a |..........A;..^.|
000001e0 42 2f 6c d2 d3 3f 3a 24 22 57 25 28 c1 8c 17 fd |B/l..?:$"W%(....|
000001f0 df cf 78 36 04 a7 6b c8 1b 75 dd df c7 87 94 00 |..x6..k..u......|
00000200


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

cat: /tmp/BootInfo-3ij0pmqt/Tmp_Log: No such file or directory
No volume groups found

Any hints would be appreciated.

howefield
May 12th, 2015, 09:44 PM
Thread moved to the "MINT" forum.