Monday, February 29, 2016

grub2 - Boot problem, Neither Ubuntu nor Windows boots

I bought a new laptop with Windows 8 pre-installed and I tried to make it dual boot like my windows vista laptop with Ubuntu. Turns out because of some boot sector changes its really complicated now!



Ubuntu installed fine, but it wouldn't boot up windows anymore.

After reading a new threads on here about people with the same problem, I Installed and ran the Boot repair software (https://help.ubuntu.com/community/Boot-Repair)



After going through the instructions, I rebooted my computer and it gave me a "Grub Rescue" screen saying



 error: invalid arch independent ELF magic.
grub rescue>


I am running Ubuntu from the live cd now...and have tried to fix that problem by running




sudo mount /dev/sda1 /mnt 
sudo grub-install --root-directory=/mnt /dev/sda


This ended up booting in the "grub" window where it allows me to type some rudimentary commands.



Can anyone help me fix my computer and get back to
1. Ubuntu booting up!
2. Dual boot with my windows which is still installed




Here is the pastebin that Boot-repair gave me to write down after the installation:
http://paste.ubuntu.com/5835513

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...