Wednesday, April 29, 2015

ubuntu - Every windows 8 boot breaks grub


I have Windows 8 and Ubuntu 13.04 dual booting with UEFI and grub. (re-used the windows UEFI partition)
After I used boot-repair, everything seemed fine.
After I boot into Windows, however, I can't boot into Ubuntu anymore. Grub still allows me to select it, but the screen just goes blank and there are no error messages.


Here's the really weird part: If I have the liveUSB stick plugged in (but not being booted from), then Ubuntu boots. And after Ubuntu boots, I can remove the live USB stick and continue to boot normally into Ubuntu... until I boot into Windows 8. Then I need to have the live USB key to "unlock" the ability to boot into linux again.


I've heard of Dell's software writing to the EFI partition, but this is an Asus machine and I haven't heard of their shovelware doing that.


Answer



Seems like the answer might be in this other post: run the following in Windows 8 to prevent corruption on shutdown:


powercfg /h off

Unfortunately, I can't test it because EasyBCD broke the Windows bootloader, then EasyRE failed to repair Win8 but disabled my ability to boot linux. The break was so bad that Windows recovery drive can't do anything either. So thanks to neosmart, I went from a small problem with two OS's, to a machine that's less useful than a potato.


Rather than try to dig my way out of this mess, I think I'm just going to wipe the system and start from scratch. If it is applicable, I'll try the above command and report back.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...