grub error "symbol not found: grub_env_export"
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
grub error "symbol not found: grub_env_export"
Hi everybody, i need some help here
after updating and reboot my pc, there some message appear on grub menu, said "error: symbol not found: grub_env_export" and then it goes to "grub rescue>"
i don't know why it happened, how i do fix it, please help me
i love my lmde n dont want to lose it
after updating and reboot my pc, there some message appear on grub menu, said "error: symbol not found: grub_env_export" and then it goes to "grub rescue>"
i don't know why it happened, how i do fix it, please help me
i love my lmde n dont want to lose it
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: grub error "symbol not found: grub_env_export"
Here's what I'd try. This is not from me. Was bored and googled a lil for ya while taking a break. It's from a ubuntu forum. But should still apply and sounded like a poss solution for ya. Might want to hold off a sec until some better learned Mint users look it over and give a go ahead ... or nay say.
Oops, posted the wrong link ... Here's the one I meant to post.
http://ubuntuforums.org/showthread.php?t=1677888
(update) Success ? Might help some other folks out with this fix if it's resolved your problem.
Here's the link to the original buntu thread. I mean so much of buntu is debian ... So should be a-ok.
I got the same error this past weekend all I did was boot from the live CD and chrooted my Natty / using the following commands:
sudo mount /dev/sdXx /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo chroot /mnt
Once at the prompt I reinstall grub:
Code:
grub-install /dev/sda
and then updated grub
Code:
update-grub
then Ctrl-D twice to exit, and reboot.
Oops, posted the wrong link ... Here's the one I meant to post.
http://ubuntuforums.org/showthread.php?t=1677888
(update) Success ? Might help some other folks out with this fix if it's resolved your problem.
Last edited by lmintnewb on Tue Apr 26, 2011 11:15 am, edited 1 time in total.
Re: grub error "symbol not found: grub_env_export"
thanks for your reply lmintnewb, i'll try it
Re: grub error "symbol not found: grub_env_export"
Thank you so much, this worked perfect for me. I thought I would add to this for the real Linux beginners like me. I hope it is ok that I do this?
For the other newbee's like myself. On the first part, "sudo mount /dev/sdXX /mnt" remember that the XX is the hard disk drive you want to work on. Mine is a 500gb SATA ll drive (only one in computer) so it would be "sda1" or "a1" instead of "xx". I used the "Disk Utility" under "System tools" to see what the name of my hdd was.
Under the part "I reinstall grub" that has the "code: grub-install /dev/sda and then updated grub" In the terminal just type this part "grub-install /dev/sda" and remember that if your installing this to a different hdd then you need to put that location in (not SDA) but whatever hdd you mounted in the commands prior to this.
Same for the "update-grub" just type that 1 line in not the rest of it. Plus, you must be connected to the Internet with the computer your doing this on. Booting up with the DVD Linux mint (debian) you used to install the first time.
Thanks again for this information.
For the other newbee's like myself. On the first part, "sudo mount /dev/sdXX /mnt" remember that the XX is the hard disk drive you want to work on. Mine is a 500gb SATA ll drive (only one in computer) so it would be "sda1" or "a1" instead of "xx". I used the "Disk Utility" under "System tools" to see what the name of my hdd was.
Under the part "I reinstall grub" that has the "code: grub-install /dev/sda and then updated grub" In the terminal just type this part "grub-install /dev/sda" and remember that if your installing this to a different hdd then you need to put that location in (not SDA) but whatever hdd you mounted in the commands prior to this.
Same for the "update-grub" just type that 1 line in not the rest of it. Plus, you must be connected to the Internet with the computer your doing this on. Booting up with the DVD Linux mint (debian) you used to install the first time.
Thanks again for this information.
Re: grub error "symbol not found: grub_env_export"
Glad it helped someone. Was wondering about that Xx myself. Hope I didn't get the OP in trouble and it's appreciated that you helped by offering clarification for anyone else who needs it. More than welcome to add anything that helps folks who encounter this issue in the future.
Re: grub error "symbol not found: grub_env_export"
Unfortunately in my case it asks for a password. I've tried not entering a password, entering "mint", entering "lmde". and entering my root password but in each case it tells me it is the wrong password and suggesting I try againlmintnewb wrote:Here's what I'd try. This is not from me. Was bored and googled a lil for ya while taking a break. It's from a ubuntu forum. But should still apply and sounded like a poss solution for ya. Might want to hold off a sec until some better learned Mint users look it over and give a go ahead ... or nay say.
I got the same error this past weekend all I did was boot from the live CD and chrooted my Natty / using the following commands:
sudo mount /dev/sdXx /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo chroot /mnt
Once at the prompt I reinstall grub:
Code:
grub-install /dev/sda
and then updated grub
Code:
update-grub
then Ctrl-D twice to exit, and reboot.
Any advise will be very much appreciated. At present I am just using the LMDE LiveDVD.
Re: grub error "symbol not found: grub_env_export"
Oooh...my experience, yesterday, to fix this problem isn't easy, considering I am a newbie but fortunately in the end I managed to save my LMDE and it works as usual. thank you very muchlmintnewb wrote:Glad it helped someone. Was wondering about that Xx myself. Hope I didn't get the OP in trouble and it's appreciated that you helped by offering clarification for anyone else who needs it. More than welcome to add anything that helps folks who encounter this issue in the future.
Re: grub error "symbol not found: grub_env_export"
Glad OP ... newb myself. Just seemed like the right solution. Though not confident with the terminal yet either. Tenfoot ... that's out of my league. Hopefully one of the mint guru's will come along and lend a hand. At which point in the process is it asking for a PW ? If I were in your situation. Think I'd download and burn a livecd to try. Know of no reason why a livecd would ask for a password and the fix described in that post was used with a livecd. Either way, good luck with resolving it. Glad ya saved your lmde partition OP.
Re: grub error "symbol not found: grub_env_export"
tenfoot:
try your user password? check caps lock also.... :p
although it didnt ask for me.. from the live dvd.
try your user password? check caps lock also.... :p
although it didnt ask for me.. from the live dvd.
Re: grub error "symbol not found: grub_env_export"
Tried my user password but still the same error message And, yes, I am running LMDE from the Live CD. And CapsLock is OFF and NumLock is ON.slnner wrote:tenfoot:
try your user password? check caps lock also.... :p
although it didnt ask for me.. from the live dvd.
It's all getting very frustrating. Fortunately, I do have a laptop, so I can access all my data, and I copy my config files across. And, what is very strange, is that I did all the upgrades to the laptop (some 582 since I last used it) and all is sweet - even though the same Grub upgrade was done. The only difference is that the laptop is a 32bit and the desktop is 64bit.
Any further suggestions will be appreciated.
Re: grub error "symbol not found: grub_env_export"
Seems like the main issue is restoring or reinstalling grub2. Can't swear it'll fix ya up. But there's no shortage of ways to do that. Plenty of util's to do the job. Seems odd a live disc asking for a pw ?
Betting if you reinstall grub it'll clear things up. But am not certain about that. One way or the other.
Betting if you reinstall grub it'll clear things up. But am not certain about that. One way or the other.
Re: grub error "symbol not found: grub_env_export"
O.K. I'm quite willing to reinstall Grub2 but how do I do it, please? The questions that come to mind are:
Can I do it from the LiveDVD? If so, please can you outline the procedure, in simple terms, 'cos I'm not entirely confident that I'd do it correctly, otherwise.
Do I have to boot my computer without the LiveDVD and get the dreaded error message again, and then type commands to reinstall Grub2.
It's all a "hall of mirrors" to me
Can I do it from the LiveDVD? If so, please can you outline the procedure, in simple terms, 'cos I'm not entirely confident that I'd do it correctly, otherwise.
Do I have to boot my computer without the LiveDVD and get the dreaded error message again, and then type commands to reinstall Grub2.
It's all a "hall of mirrors" to me
Re: grub error "symbol not found: grub_env_export"
This guy mentions one way to do it.
http://forums.linuxmint.com/viewtopic.p ... ub#p414938
That http://www.supergrubdisk.org/ is one utility to help ya do it. Between the forum search bar and google you should have no problem finding instructions that are a perfect fit. Just saying, would be just easy for ya to research it a lil bit as it would be for me to run around looking for a how to.
And here's a thread (how to) all about the topic. Looked pretty in-depth. There's so many ways to get er done. Just a matter of you finding one that's right for you. These are good places to start though.
http://forums.linuxmint.com/viewtopic.p ... b2#p332793
http://forums.linuxmint.com/viewtopic.p ... ub#p414938
That http://www.supergrubdisk.org/ is one utility to help ya do it. Between the forum search bar and google you should have no problem finding instructions that are a perfect fit. Just saying, would be just easy for ya to research it a lil bit as it would be for me to run around looking for a how to.
And here's a thread (how to) all about the topic. Looked pretty in-depth. There's so many ways to get er done. Just a matter of you finding one that's right for you. These are good places to start though.
http://forums.linuxmint.com/viewtopic.p ... b2#p332793
Re: grub error "symbol not found: grub_env_export"
in the LiveDVD, open the terminal and dotenfoot wrote:Unfortunately in my case it asks for a password. I've tried not entering a password, entering "mint", entering "lmde". and entering my root password but in each case it tells me it is the wrong password and suggesting I try againlmintnewb wrote:Here's what I'd try. This is not from me. Was bored and googled a lil for ya while taking a break. It's from a ubuntu forum. But should still apply and sounded like a poss solution for ya. Might want to hold off a sec until some better learned Mint users look it over and give a go ahead ... or nay say.
I got the same error this past weekend all I did was boot from the live CD and chrooted my Natty / using the following commands:
sudo mount /dev/sdXx /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo chroot /mnt
Once at the prompt I reinstall grub:
Code:
grub-install /dev/sda
and then updated grub
Code:
update-grub
then Ctrl-D twice to exit, and reboot.
Any advise will be very much appreciated. At present I am just using the LMDE LiveDVD.
Code: Select all
sudo su
Re: grub error "symbol not found: grub_env_export"
Thanks a lot! I thought I was going to have to to do a reinstall, but like almost always, there's someone else with the same problem.
Re: grub error "symbol not found: grub_env_export"
For those of you who followed the partitioning guide here (http://www.linuxbsdos.com/2010/09/18/di ... nt-debian/) and thus have your boot on /sda1 and your root on /sda3, there are a few clarifications. You should first mount to /dev/sda3 (where the sdXx is on the instructions). Once you chroot into that environment, you have to mount your boot partition:
mount /dev/sda1 /boot
and then you can continue with 'grub-install /dev/sda' and 'update-grub.'
mount /dev/sda1 /boot
and then you can continue with 'grub-install /dev/sda' and 'update-grub.'
Re: grub error "symbol not found: grub_env_export"
Thank you so much for this discussion thread.
In case anyone receives an error message about "line 35" in "mint-fortune" after "chroot /mnt" , don't worry. It's nothing important and can be ignored. (It's a minor error regarding the little fortune displayed when you log into a new terminal. It won't interfere with the grub installation.)
In case anyone receives an error message about "line 35" in "mint-fortune" after "chroot /mnt" , don't worry. It's nothing important and can be ignored. (It's a minor error regarding the little fortune displayed when you log into a new terminal. It won't interfere with the grub installation.)