[Bug 756564] Re: After Maverick to Natty upgrade, grub won't boot and displays "symbol not found : 'grub_env_export'"

ybdjkfd 756564 at bugs.launchpad.net
Thu May 26 21:06:18 UTC 2011


Followed these steps from mitchelln and
http://karuppuswamy.com/wordpress/2010/06/02/how-to-chroot-to-ubuntu-
using-live-cd-to-fix-grub-rescue-prompt/ to repair my natty RAID1
upgrade:

# Boot from LiveCD
# Made a directory to mount the root filesystem to
sudo mkdir /media/internal
# -- Going to chroot into our RAID1 system
# Notice the following is not the whole RAID drive nor the swap, just where the root filesystem exists (specific to my system)
sudo mount /dev/mapper/[partition where the root filesystem is on the RAID] /media/internal
# i.e. sudo mount /dev/mapper/isw_[some-id]_RAID1p5 /media/internal
sudo mount --bind /dev /media/internal/dev
sudo mount --bind /proc /media/internal/proc
sudo mount --bind /sys /media/internal/sys
sudo chroot /media/internal
# May not be there
apt-get purge dmraid
apt-get install dmraid
# I believe here it is the whole RAID disk, not just the partition
grub-install  /dev/mapper/isw_[some-id]_RAID1
update-grub2
reboot

That was it.  Unfortunately, I do have an error that appears on the
splash screen relating to skip the mounting process or the similar, but
once skipped my login screen came up and system is operational.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/756564

Title:
  After Maverick to Natty upgrade, grub won't boot and displays "symbol
  not found : 'grub_env_export'"

Status in “grub2” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: grub2

  It's pretty much all in the title, but Grub2 messed up after the upgrade from 10.10 to 11.04. During the install, i watched carefully the configuration procedure, it ran fine.
  I then just rebooted, and there it was: grub simply said:
  error: symbol not found: 'grub_env_export'
  grub rescue>

  (btw: grub rescue doesn't even return me a help menu on "help")




More information about the foundations-bugs mailing list