<SOLVED>Dual Install Nadia and Win8 - Mint boots, Win8 won't

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

<SOLVED>Dual Install Nadia and Win8 - Mint boots, Win8 won't

Postby davamy on Wed Dec 05, 2012 4:34 pm

I bought a new desktop from gateway and got windows 8 b/c that was the cheapest deal they had. I knew I would be running Nadia mostly anyways and so didn't care that much. Little did I know what a headache UEFI, Secure Boot, and Win8 would be trying to install Mint 14 - especially considering I am a newbie to linux. This forum was a huge help and I finally got it working with the new Mint 14.1 respins.

Only problem is that now Nadia boots right up and WIndows 8 won't. To be specific, I never even have the chance to select it. There are still a handful of programs I need to run on Windows (namely my tax software and some software to connect with my office's secure network). Anyway - I THOUGHT I installed the Mint bootloader to SDA6. Windows EFI boot partition seems to be SDA2.

Of course I didn't make a Windows Rescue disk first b/c - well, I just didn't.

Now I'm not sure what to do. I hope someone ought there smarter and more experienced than me can offer some help.

Here is the boot script info in case it helps. And thanks in advance for taking the time to look at this!

David
Code: Select all
                Boot Info Script 0.61      [1 April 2012]


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

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/Boot/bootx64.efi /efi/linuxmint/grubx64.efi

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /Windows/System32/winload.exe

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

============================ 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 / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       821,247       819,200 Windows Recovery Environment (Windows)
/dev/sda2         821,248     1,435,647       614,400 EFI System partition
/dev/sda3       1,435,648     1,697,791       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,697,792   379,693,055   377,995,264 Data partition (Windows/Linux)
/dev/sda5     379,693,056   413,251,583    33,558,528 Windows Recovery Environment (Windows)
/dev/sda6     413,251,584   460,126,584    46,875,001 Data partition (Windows/Linux)
/dev/sda7     460,126,585   475,751,585    15,625,001 Swap partition (Linux)
/dev/sda8     475,751,586   976,773,070   501,021,485 Data partition (Windows/Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        B27841E07841A3C7                       ntfs       RECOVERY
/dev/sda2        DA42-138A                              vfat       ESP
/dev/sda4        62A643EFA643C271                       ntfs       Gateway
/dev/sda5        24E045ABE0458450                       ntfs       Push Button Reset
/dev/sda6        7110a2ec-2e2a-4be5-b0dc-534d4d641e6b   ext4       
/dev/sda7        221ba7b4-5624-47d8-9998-af793a4b9b51   swap       
/dev/sda8        99510d17-0733-4fea-a198-25a51895f23d   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda2        /boot/efi                vfat       (rw)
/dev/sda6        /                        ext4       (rw,errors=remount-ro)
/dev/sda8        /home                    ext4       (rw)


=========================== sda6/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
set default="0"

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,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
else
  search --no-floppy --fs-uuid --set=root 7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
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
  set timeout=5
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 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda6)' --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='hd0,gpt6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
   else
     search --no-floppy --fs-uuid --set=root 7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
   fi
   linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=7110a2ec-2e2a-4be5-b0dc-534d4d641e6b ro   
   initrd   /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda6) -- recovery mode' --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='hd0,gpt6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
   else
     search --no-floppy --fs-uuid --set=root 7110a2ec-2e2a-4be5-b0dc-534d4d641e6b
   fi
   echo   'Loading Linux 3.5.0-17-generic ...'
   linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=7110a2ec-2e2a-4be5-b0dc-534d4d641e6b ro recovery nomodeset
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.5.0-17-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+ ###
### 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 ###
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 ###
--------------------------------------------------------------------------------

=============================== sda6/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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=7110a2ec-2e2a-4be5-b0dc-534d4d641e6b /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=DA42-138A  /boot/efi       vfat    defaults        0       1
# /home was on /dev/sda8 during installation
UUID=99510d17-0733-4fea-a198-25a51895f23d /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=221ba7b4-5624-47d8-9998-af793a4b9b51 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 201.363483429 = 216.212393984  boot/grub/grub.cfg                             1
 198.896030426 = 213.562986496  boot/initrd.img-3.5.0-17-generic               2
 217.654918671 = 233.705189376  boot/vmlinuz-3.5.0-17-generic                  1
 198.896030426 = 213.562986496  initrd.img                                     2
 198.896030426 = 213.562986496  initrd.img.old                                 2
 217.654918671 = 233.705189376  vmlinuz                                        1

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

Unknown BootLoader on sda2

00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 5e 1b  |.X.MSDOS5.0...^.|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 0c 00  |........?.......|
00000020  00 60 09 00 51 02 00 00  00 00 00 00 02 00 00 00  |.`..Q...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 8a 13 42 da 4e  4f 20 4e 41 4d 45 20 20  |..)..B.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200
Last edited by davamy on Fri Dec 07, 2012 8:29 pm, edited 1 time in total.
davamy
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 05, 2012 4:18 pm

Linux Mint is funded by ads and donations.
 

Re: Dual install of Nadia and Win8 - Nadia boots but not Win

Postby davamy on Thu Dec 06, 2012 4:31 pm

Here's some followup info in case it's helpful. I burned a reFIND boot disk onto a CD and I can boot from the CD and it allows me to boot into either Windows 8 or Mint 14. Once inside windows I opened up EasyBCD 2.2 and retrieved the following from the bootloader.

Code: Select all
There are a total of 3 entries listed in the bootloader.

Default: Windows 8
Timeout: 30 seconds
EasyBCD Boot Device: C:\

Entry #1
Name: UEFI: Slimtype DVD A  DS8A8SH
BCD ID: {db749193-4013-11e2-bec2-806e6f6e6963}
Device: Unknown
Bootloader Path:

Entry #2
Name: linuxmint
BCD ID: {db749192-4013-11e2-bec2-806e6f6e6963}
Device: \Device\HarddiskVolume2
Bootloader Path: \EFI\linuxmint\grubx64.efi

Entry #3
Name: Windows 8
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.efi


I still can't boot into Windows 8 w/o the CD. Not sure what the next step to take is. I may install reFIND on the machine but I want to hold off on that for a little while - hoping that one of the forum members will have a tidier solution before I going mucking it up and do something I won't know how to recover from.

Thanks again for taking the time to read this.
davamy
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 05, 2012 4:18 pm

Re: Dual install of Nadia and Win8 - Nadia boots but not Win

Postby davamy on Fri Dec 07, 2012 8:24 pm

Alright, finally got this solved. I found a solution on the following web pages. I'm gonna mark this thread as solved. The following info is to help anyone else out who runs into the same problem.

http://superuser.com/questions/415198/m ... k-together
https://bugs.launchpad.net/ubuntu/+sour ... bug/807801

The part I needed was:

Code: Select all
The GRUB menu can be unhidden by commenting out the two lines regarding GRUB_HIDDEN in /etc/default/grub and running update-grub as root.

Next, the entry for windows can be manually added by appending the following lines to /etc/grub.d/40_custom:
menuentry "Windows" {
    search --fs-uuid --no-floppy --set=root YOUR-EFI-PARTITIONS-UUID-HERE
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}
run update-grub as root again.

Find your EFI partitions UUID by running 'ls -la /dev/disk/by-uuid/'. As the EFI partition is a FAT32 partition, the UUID is of the form XXXX-XXXX. If you have more than one FAT partition, you can verify if one is the EFI partition by checking the partition map with gdisk (not installed by default). Run gdisk on the device, 'sudo gdisk /dev/DEVICE', press 'p' to print the partition table, and then 'q' to quit. DON'T make any changes to the partition table. The EFI partition will have the code type 'EF00' and most likely a name/label that says it is a EFI system partition.



Thanks again,
David
davamy
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 05, 2012 4:18 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 21 guests