so, let me start by describing the laptop initial configuration:
Sony vaio pro 13 (haswell) (very recent laptop)
then, before install steps:
I shrinked the drive to make space for the linux
I disabled the fast startup on the windows control panel > power options > system settings > shutdown settings
burn opensuse iso to usb stick
BIOS: changed the boot of windows to “unsecured” and changed the boot order so it would boot from the usb stick
opensuse 12.3 install steps:
… all good so far, boot from usb, opensuse 12.3 first install screen… all good…
… proceeding with the normal configuration options… and then
>>>>boot loader “grub uefi” (one partition for UEFI BOOT, other for SWAP and other for /)
… do installation!
… the install starts… it install everything without any problems and then and the end, asks for the normal reboot (just after installing the boot loader… and with the green progress bar at 100%).
this all seams normal, I press ok and reboot.
I go to the BIOS, change again the boot order and make the hard drive the first option.
… boot the laptop…
AND NOW THE PROBLEM: the laptop always boot into windows 8.1 without any screen for dual boot (no grub).
I’ve read dozens of post everywhere about this… but still, I cannot find a way to solve this.
Please, can anyone help me on this? What am I doing wrong? I really want/need the opensuse… but I need to keep the windows because there are two or three software packages that I need to use from time to time on windows… and so I really need the dual boot.
IMHO you are not doing anything wrong. The industry wide implementation of UEFI is not yet consistent, and hence at present time no GNU/Linux distribution is guaranteed to install the GNU/Linux on a UEFI system with secureboot/UEFI enabled. Instead for all GNU/Linux distros extra ‘hacking’ is typically required to varying degrees.
You note you ‘read dozen’s of posts’, but did you try any of the suggestions in the posts ?
What worked for me on my Toshiba Ultrabook, was (for an install from the openSUSE-12.3 Installation USB, and not the openSUSE-12.3 liveKDE USB, although I did need both) the following :
(1) first, completely backup to a USB stick the content EFI partition. This is necessary to ensure you can always put things back to the default values.
(2) second, install openSUSE-12.3 from the larger 12.3 Installation .iso (via USB). But have the liveUSB handy for hacking. I encountered the same boot problem you noted - always booting to Windows8.
(3) third, boot to Windows8, and go to “Advanced Startup Option > Advanced Startup > Restart Now” and check if openSUSE entry was present. It was present for me. If not present, then my next step does not make sense and hence don’t go further with what I post.
(4) fourth, in Windows8 terminal, I sent the command:
likely the above, and the following step-5 are separate methods for a solution. I do note that this step-4 did not solve the problem by itself and may not have been necessary.
(5) fifth, boot to the 12.3 KDE liveUSB and use that to access the EFI partition. In that UEFI partition, copy the /EFI/opensuse directory contents into the /EFI/Boot efi and rename the opensuse shim.efi to bootx64.efi, replacing the previous.efi. * [Note I had a backup of the original bootx64.efi on a separate USB stick] *
(6) I could reboot at this point to openSUSE and finish the install.
I have read of users with different PC (Asus I think) who needed to go the BIOS/UEFI-FIRMWARE change an innocuous setting. Save the change, and reboot to BIOS/UEFI-FIRMWARE. Change the setting back in BIOS/UEFI-FIRMWARE, save the change, and then reboot. At that point only did the BIOS/UEFI-FIRMWARE pick up the presence of the openSUSE boot options.
I have also read of Sony Pro users, who discovered that their Sony was hard coded to ignore the /EFI/opensuse and ignore the /EFI/boot but rather would only look at either the /EFI/Microsoft/Boot/ or the /EFI/sony/Boot and in there they needed in the /EFI/Microsoft/Boot/ to replace the /EFI/Microsoft/Boot/bootmgfw.efi with the openSUSE shim.efi, or in the /EFI/sony to replace the (?) bootx64.efi with the openSUSE shim.efi. I confess I would not try this myself unless I was 100% confident I could restore these files afterward, as they would break the Windows8 boot and require a liveUSB boot to restore the files from a USB backup (or require a Windows8 re-install/recovery).
I have a colleague with a Sony Vaio Pro Ultrabook, and I am hoping in the next month (possibly after openSUSE-13.1 GM is released) to help them put openSUSE on their Sony Via Pro Ultrabook. If the colleague is willing, I hope to post our experiences then.
And finally, we have a half dozen users in our openSUSE forum who are MORE knowledgeable than I on this subject (for example arvidjaar who posted above knows more on this subject than I) , and so possibly wait until they chime in on this thread, before you try the suggestions I posted above.
First, just a reminder, this laptop doesn’t have a cd/dvd drive … so everyting needs to be done with usb stick.
1 - @robin_listas, in the EUFI BIOS there nothing about the opensuse loader that I can see
2 - @arvidjaar, I’m going to try to boot with a live usb and then I will put here the output of the command
3 - @oldcpu,
- yes, I’m going to do a backup… just in case…
- opensuse entry not present in the uefi bios… as far as i can tell
so now I not sure what to do and I don’t want to brick the laptop
now I'm going to boot from the live usb.. I will post later my findings..
Did you do anything between this post and the previous ?
Did you backup the EFI partition content like I recommended ? [my point (1)].
After you restore your Windows8 booting, I again recommend you pause in your efforts and give our volunteer experts on UEFI some time to chime in and post suggestions. These openSUSE forums are a volunteer effort. Those participating are not paid for their efforts so sometimes it can take a few days to garner an appropriate response.
Anyway, after you get the Sony Vaio Pro 13 back and running with Windows-8.1 I do have some ideas. But geting Windows-8.1 running 1st is a pre-requisite for my ideas, assuming you want Windows to run in a dual boot.
1st (and do NOT skip this step) - create a dedicated Windows-8 recovery USB stick. I did that with my Toshiba Ultrabook (with UEFI). If you had done this with your Sony, you would not need to worry about not booting from a recovery partition (and not need to contact Sony support), as all the needed data to re-install is on the recovery USB stick. Windows-8 provides the functionality for creating such. Apologies for not proposing this earlier, but I confess I had thought having an external USB-stick (or external DVD for PC’s with external or internal DVD drives) backup was something everyone did independent of any GNU/Linux efforts - so I didn’t even think to mention it.
2nd (and do NOT skip this step) - backup the UEFI partition and store on another USB stick. This was the very 1st thing I suggested previous and it is very important to provide additional less drastic (than a full Windows-8 recovery) options if things go wrong.
I found your post searching for info to make a dual boot on the same laptop, i did a backup of the whole disk with acronis for all the partitions and a backup cd just in case something like this, i was thinking only to touch the last two partitions, resizing the 4th one and erasing the 5th, to make some space.
Dont know much about Uefi, sorry i hope that you can recover your lap
the good news: I have my laptop again with w8 (clean install)… now I have 25GB more of hard drive! (due to the lost of the recovery partition) … so, not everything was bad
the bad news… I still don’t know how to solve the initial problem, dual boot with opensuse.
I need a working laptop (because I need to work on it!) and so I cannot be doing “try…catch” with opensuse installs and hacking stuff to the bios/boot/uefi … So, unfortunately, for now I will have to live with w8 only, until someone posts a step-by-step trustworthy tutorial on how to put this laptop with w8/opensuse dual boot.
I would like to do it… but I don’t have the time nor the patience to be installing and formatting everyday…
Thank you all for your help! Hope to see some solution for this soon.
On Tue 22 Oct 2013 01:06:02 PM CDT, ru1marante wrote:
the good news: I have my laptop again with w8 (clean install)… now I
have 25GB more of hard drive! (due to the lost of the recovery
partition) … so, not everything was bad
the bad news… I still don’t know how to solve the initial problem, dual
boot with opensuse.
I need a working laptop (because I need to work on it!) and so I cannot
be doing “try…catch” with opensuse installs and hacking stuff to the
bios/boot/uefi … So, unfortunately, for now I will have to live with
w8 only, until someone posts a step-by-step trustworthy tutorial on how
to put this laptop with w8/opensuse dual boot.
I would like to do it… but I don’t have the time nor the patience to be
installing and formatting everyday…
Thank you all for your help! Hope to see some solution for this soon.
If you boot from a live cd what is the partition layout like now? Have
you updated the system to windows 8.1 yet? If not I would suggest
sorting that out first. Does the system have a DVD drive?
On my HP 2000 system I removed the DVD and installed a HDD caddy for
additional drive space.
What are the applications you need to run, crossover may be an option
to install/run the. It is wine, but has additional features/tools.
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
I understand the sentiment … for example I waited > 1 year before I updated the OS in my Android Tablet from v.4.0.3 to a newer Android OS version for similar reasons. I wanted a ‘foolproof’ guide, and of course a ‘foolproof’ step-by-step tutorial/guide with the exact level of hand-holding that I wanted never appeared. But eventually a guide with sufficient level for me to understand did appear, and the possible impact if I bricked my Tablet lessened (after some reading and after my taking LOTS of precautions), and I was then able to take the chance (which with hindsight turned out to be next to no chance of bricking, given my conservative nature and given my reading, and given my knowledge/precautions).
I think thou, that the wording ‘foolproof’ is more accurate than ‘trustworthy’. We all can be trusted to try our best, … we are all ‘trustworthy’ … but whether we can think of every possibility, especial given the VAST diversity in UEFI implementations amongst the various laptop/desktop manufacturers is not likely. The manufacturers can not be relied on to have a common implementation of UEFI. That difference will currently break GNU/Linux installs for every GNU/Linux distro to varying degrees.
wrt your Sony Vaio Pro 13, if my colleague ends up installing openSUSE-12.3 or 13.1 successfully , I’ll endeavor to post what I learn. What I post thou, may not be a step-by-step tutorial. It will be as ‘trustyworthy’ as I can make but it most definitely won’t be ‘foolproof’. It won’t even come close wrt ‘foolproof’. I anticipate problems wrt the windows8 boot, but I am also fully confident to be able to recovery from an unplanned damage to the boot.
Before starting an installation, as Malcomlewis has aluded by his questions, it is likely 100% ESSENTIAL that you provide some information to reduce/minimize risk wrt any installation effort.
now… when I said “trustworthy” step-by-step tutorial on how to get dual boot w8/opensuse without getting into trouble, what I meant was in fact, some help on the steps on how to do it from someone that was already brave enough to try-catch-debug until it was really done on this same laptop. I was not saying/calling no one untrustworthy. It was just a bad choice of words… and English is not my native language, so sometimes I just don’t express myself well.
About the recovery of my laptop, I’m going to put here the steps because it may help someone with the same problem:
So, my laptop was unbootable and unrecoverable because I lost the 25GB recovery partition (somehow) during my trials on installing opensuse. (and because I was stupid and did not did a full backup before starting the opensuse install…)
Steps to recover (clean install of Window 8):
1 - download Windows 8 iso image (it is critical to download the exact same version that came with the laptop… in my case Windows 8 - see point 12 about this)
2 - prepare a ubs stick to be bootable (instructions here: Using DISKPART to create a Bootable USB of Windows 8 | PowerBiz Solutions)
3 - extract the iso image to the usb stick
4 - download from Sony Web Site (support) the minimum necessary drivers to put all the computer devices working (I will put a list of the files below) - put this file on another usb stick
5 - with the laptop turned off, press the assist button to go into the UEFI bios (set bios mode = UEFI and boot mode = SECURE)
6 - exit the bios (saving the settings) and then select boot from usb external device (the usb stick with Windows must be already connected) (see points 1, 2 and 3)
7 - windows installations will begin (fallow the steps… next, next next… as usual… during this process, when prompted for windows partition where to install the Windows, delete all the present partitions and then create two partitions (one for windows and another one for the future installation of Linux ) - windows will automatically create other two small partitions (one for UEFI and other for recovery command-line tools)
8 - everything should go smoothly and you will end up with a clean installation of Windows 8
9 - remove the usb stick and plugin the other one (with the drivers)
10 - install all the drivers (a reboot after each one is recommended… you know how it is with windows…)
11 - by now you should have a working laptop!
12 - now, and only now, connect your laptop to the network (internet) and you can see that your windows will instantly be activated (this happens because windows reads your windows-product-key from the UEFI bios… and this is also why during the installation you will not be asked for the product key - nice!)
13 - now, update the windows several times until there are no more updates available (with the usual reboots in the middle) (don’t update the apps from the store even if you get warnings about apps that need to be updated)
14 - go to the windows app store and you should see that the windows 8.1 upgrade is available (do so if you wish)
15 - now, and only now, install your favorite anti-virus software (it is important to leave the anti-virus to the end because it can cause interference with the previous steps… do a full scan just to check that you are fine )
And, this is how I recovered my laptop.
at least 25GB more of disk (no recovery partition on the disk)
no “garbage” software installed (those software packages that came with the laptop… office and anti-virus trials, stupid games and other stuff…)
List of necessary drivers (see point 4):
At this point it is a good idea to make a full backup of the windows (there are several software packages that can do this… don’t forger to include all the partitions on the backup - windows + UEFI + recovery) so you can recover if something goes wrong in the future… and so you don’t need to do this full process again.
Ok, that’s it! Hope this helps!
And please, if you have news on how to put opensuse dual booting with w8… let me know!!