I've run into this issue after installing Lubuntu 14.04 32 bit on an old laptop upgraded with a new 64GB SSD:the disk had first been partitioned with only a primary root partition (ext4) and swap, the installation process apparently went normally,then after installing the system I did get this error message on boot: error: attempt to read or write outside of disk 'hd0'. Entering rescue mode... grub rescue>
from that I was able to boot the system following this advice http://askubuntu.com/questions/397485/what-to-do-when-i-get-an-attempt-to-read-or-write-outside-of-disk-hd0-error basically with grub rescue > set root=(hd0,<root partition>) grub rescue > set prefix=(hd0,<root partition>)/boot/grub grub rescue > insmod normal grub rescue > normal I was able to boot the system but then it was not possible to reinstall grub from the running system with the usual sudo grub-install /dev/sdX command. As a next step,following the advice from the same link posted above,I've reformatted the drive with a dedicated boot primary partition and a primary root partition (still ext4) plus swap and installed grub to the boot partition during the installation process:now I'm getting the [Grubenv] error: malformed file, press any key to continue message but the system boots most of the times either by hitting a key or waiting for the message to time out,except for some times when I see another "READ ERROR" message and I have power off and then on again the laptop. This was a clean install on a new SSD in single boot mode (no other OS and no other partitions are present on the disk) and furthermore I've tried also Mint 17 (based off Ubuntu 14.04 as well) and got stuck in the same situation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311247 Title: [Grubenv] error: malformed file, press any key to continue To manage notifications about this bug go to: https://bugs.launchpad.net/grub/+bug/1311247/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs