reinstall of precise breaks grub with invalid arch independent ELF magic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Precise |
Expired
|
High
|
Unassigned |
Bug Description
I did an over the top install of precise without formatting the drive to preserve the home partition. I can now not boot the computer and can't reinstall grub.
ubuntu@ubuntu:~$ mkdir target
ubuntu@ubuntu:~$ sudo mount /dev/sda1 target
ubuntu@ubuntu:~$ ls target/
bin etc lib lost+found proc selinux usr
boot home lib32 media root srv var
cdrom initrd.img lib64 mnt run sys vmlinuz
dev initrd.img.old libnss3.so opt sbin tmp
ubuntu@ubuntu:~$ sudo mount -o bind /proc target/proc
ubuntu@ubuntu:~$ sudo mount -o bind /dev target/dev
ubuntu@ubuntu:~$ sudo mount -o bind /sys target/sys
ubuntu@ubuntu:~$ sudo chroot target
root@ubuntu:/# grub-install /dev/sda
Installation finished. No error reported.
root@ubuntu:/# exit
ubuntu@ubuntu:~$
reboot, same error, grub rescue prompt with invalid arch independent ELF format.
The computer was installed as 64bit 11.10, upgraded to 12.04 and updated frequently. I broke unity a bit and decided to try the full reinstall process from a live USB. The computer is a core i3 laptop, with a 320GB drive, default partitioning /dev/sda1 is big and all the data /dev/sda5 is swap. Installing precise 64bit from daily live CD image.
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → High |
tags: | added: iso-testing precise qa-manual-testing |
tags: | added: rls-mgr-p-tracking |
Status changed to 'Confirmed' because the bug affects multiple users.