Successful install but unable to boot on win 8 nor mint?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Successful install but unable to boot on win 8 nor mint?

Postby JaZZyCooL on Fri Apr 12, 2013 11:54 pm

hey guys,
I just installed my Linuxmint 14 on my windows 8. Using the following steps

1) Created three partitions
Code: Select all
sda 8 - EXT4 /boot
sda 9 - Swap area
sda10 - EXT4 /

2) clicked on the sda 8 and pressed install
3) After installation opened boot-repair and choose the following options:
Code: Select all
OS to boot by default - sda10 (Linux now in use)
separate /boot/efi - sda8
separate /boot/partition - sda3 (That is my efi file system for windows 8)

4) After this I pressed apply and followed the commands at last pressing forward.
5) After completion, It showed me this message
Code: Select all
http://paste2.org/FIIEX1Cs

Please do not forget to make BIOS boot on sda3/EFI/Linuxmint/grubx64.efi file!

(I ignored this message because I didn't know what its instructing me to do)

6) Now, as told by my friend on this forum, I copied bootmgfw.efi and paste it into my sda8/EFI/Microsoft (I created the folder microsoft)
7) Rebooted my computer

For the first time I was able to boot into Linuxmint, I did nothing and just shutdown my computer started again to test my windows 8. I got the following message
Code: Select all
error: Can't find command 'drivemap'
error: EFI file path

Press any key to continue...

Now I again tried going back to Linuxmint but unable to as soon as I click 'Linuxmint' the screen blacksout and gets stuck where it is.

Can anyone please help me find the solution as I am getting the same problem after 3 installations with continous recoveries.

Your help is highly appreciated.
JaZZyCooL
Level 2
Level 2
 
Posts: 55
Joined: Thu Dec 06, 2012 5:37 pm

Linux Mint is funded by ads and donations.
 

Re: Successful install but unable to boot on win 8 nor mint?

Postby catweazel on Sat Apr 13, 2013 2:23 am

You may find this helpful: https://help.ubuntu.com/community/UEFI
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1655
Joined: Fri Oct 12, 2012 9:44 pm

Re: Successful install but unable to boot on win 8 nor mint?

Postby JaZZyCooL on Sat Apr 13, 2013 3:38 am

I got everything except where it says "Please do not forget to make your BIOS in the path provided"
JaZZyCooL
Level 2
Level 2
 
Posts: 55
Joined: Thu Dec 06, 2012 5:37 pm

Re: Successful install but unable to boot on win 8 nor mint?

Postby catweazel on Sat Apr 13, 2013 3:41 am

JaZZyCooL wrote:I got everything except where it says "Please do not forget to make your BIOS in the path provided"

We're not on the same page then. I can't find that phrase anywhere.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1655
Joined: Fri Oct 12, 2012 9:44 pm

Re: Successful install but unable to boot on win 8 nor mint?

Postby JaZZyCooL on Sat Apr 13, 2013 11:16 am

Yeah! actually I posted the wrong phrase anyways, after all that also I am not getting, because I followed the same steps.
JaZZyCooL
Level 2
Level 2
 
Posts: 55
Joined: Thu Dec 06, 2012 5:37 pm

Re: Successful install but unable to boot on win 8 nor mint?

Postby JaZZyCooL on Sat Apr 13, 2013 11:50 am

The
Code: Select all
 sda 8 - EXT4 /boot
Was this file to be created in EXT4 format or FAT32. I think I have messed up on that.
JaZZyCooL
Level 2
Level 2
 
Posts: 55
Joined: Thu Dec 06, 2012 5:37 pm

Re: How-to: Dual boot Windows 8 and Mint 14 - both (U)EFI!

Postby srs5694 on Sat Apr 13, 2013 12:37 pm

According to the grub.cfg file in your Boot Repair output, you should have a total of seven Windows entries:

  • efi/EFI/Boot/bootx64.efi -- This option launches the EFI fallback boot loader, which can be anything, but Windows installs a copy of its boot loader to this location. OTOH, the Boot Repair utility may copy GRUB to this location, so this option might just re-launch GRUB. Given that backups of bootx64.efi seem to exist, my guess is that this will actually re-launch GRUB.
  • Windows UEFI recovery bkpbootmgfw.efi -- This one is probably a backup of the Windows boot loader created by Boot Repair. It should probably launch Windows.
  • Windows Boot UEFI recovery -- This is probably a backup of the fallback boot loader created by Boot Repair. It will probably boot Windows.
  • Windows UEFI recovery LrsBootmgr.efi -- A Google suggests that this is a Lenovo-specific boot loader to get into a Lenovo recovery tool.
  • Windows Boot UEFI recovery bkpbootx64.efi -- This is another backup of bootx64.efi, but on another partition.
  • Windows Recovery Environment (loader) (on /dev/sda3) -- This is an entry for a BIOS-mode boot of Windows. As such, this entry is 100% useless on an EFI system.
  • Windows 8 (loader) (on /dev/sda5) -- This is another 100% useless BIOS-mode entry that shouldn't even be present in your menu.

Based on your description, you seem to have attempted to launch Windows via the last (or possibly the next-to-last) entry; but as I've said, those entries are completely useless on an EFI-mode installation. That's why they failed. I recommend you try the other entries. If one of them works, you can use it. If one of them works, you can ignore the other entries; or there are GRUB configuration tools to help you unclutter the GRUB menu, but I'm not very familiar with them, so I can't give you more specifics.

Alternatively, you could install my rEFInd boot manager, which can replace GRUB. rEFInd is sometimes more reliable than GRUB in launching Windows, so if you have no luck getting any of the Windows options to boot from GRUB, rEFInd is definitely worth trying. If you install the Debian package, rEFInd should appear when you reboot and give you options to boot Linux or Windows. Given the number of options provided by Lenovo to begin with, the installation of GRUB, and the multiplication of options created by Boot Repair, though, the rEFInd menu is likely to be cluttered. You can unclutter it by deleting unused boot loader files or by using the "dont_scan_files", "dont_scan_dirs", and "dont_scan_volumes" options in refind.conf. Renaming /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi to /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi should produce a Windows entry that has a Microsoft logo in rEFInd.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: How-to: Dual boot Windows 8 and Mint 14 - both (U)EFI!

Postby JaZZyCooL on Sun Apr 14, 2013 6:39 pm

srs5694 wrote:According to the grub.cfg file in your Boot Repair output, you should have a total of seven Windows entries:

  • efi/EFI/Boot/bootx64.efi -- This option launches the EFI fallback boot loader, which can be anything, but Windows installs a copy of its boot loader to this location. OTOH, the Boot Repair utility may copy GRUB to this location, so this option might just re-launch GRUB. Given that backups of bootx64.efi seem to exist, my guess is that this will actually re-launch GRUB.
  • Windows UEFI recovery bkpbootmgfw.efi -- This one is probably a backup of the Windows boot loader created by Boot Repair. It should probably launch Windows.
  • Windows Boot UEFI recovery -- This is probably a backup of the fallback boot loader created by Boot Repair. It will probably boot Windows.
  • Windows UEFI recovery LrsBootmgr.efi -- A Google suggests that this is a Lenovo-specific boot loader to get into a Lenovo recovery tool.
  • Windows Boot UEFI recovery bkpbootx64.efi -- This is another backup of bootx64.efi, but on another partition.
  • Windows Recovery Environment (loader) (on /dev/sda3) -- This is an entry for a BIOS-mode boot of Windows. As such, this entry is 100% useless on an EFI system.
  • Windows 8 (loader) (on /dev/sda5) -- This is another 100% useless BIOS-mode entry that shouldn't even be present in your menu.

Based on your description, you seem to have attempted to launch Windows via the last (or possibly the next-to-last) entry; but as I've said, those entries are completely useless on an EFI-mode installation. That's why they failed. I recommend you try the other entries. If one of them works, you can use it. If one of them works, you can ignore the other entries; or there are GRUB configuration tools to help you unclutter the GRUB menu, but I'm not very familiar with them, so I can't give you more specifics.

Alternatively, you could install my rEFInd boot manager, which can replace GRUB. rEFInd is sometimes more reliable than GRUB in launching Windows, so if you have no luck getting any of the Windows options to boot from GRUB, rEFInd is definitely worth trying. If you install the Debian package, rEFInd should appear when you reboot and give you options to boot Linux or Windows. Given the number of options provided by Lenovo to begin with, the installation of GRUB, and the multiplication of options created by Boot Repair, though, the rEFInd menu is likely to be cluttered. You can unclutter it by deleting unused boot loader files or by using the "dont_scan_files", "dont_scan_dirs", and "dont_scan_volumes" options in refind.conf. Renaming /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi to /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi should produce a Windows entry that has a Microsoft logo in rEFInd.


Thanks a lot sir, that really helped me a lot with finding how to boot in both of those, is there any way I change the format of the grub menu, it's too messy for someone else to figure out the correct option to boot.
JaZZyCooL
Level 2
Level 2
 
Posts: 55
Joined: Thu Dec 06, 2012 5:37 pm

Re: Successful install but unable to boot on win 8 nor mint?

Postby srs5694 on Sun Apr 14, 2013 10:13 pm

As I say, I'm not very familiar with GRUB configuration tools. I think one of them is called "GRUB Configurator," but I've never used it. IMHO, rEFInd is easier to configure, since it auto-detects boot loaders at boot time. That means that you can just delete or rename files to get rid of them in the menu; or you can use the "dont_scan_*" options in refind.conf, as noted in my previous post.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Yahoo [Bot] and 27 guests