Debian :: Serious Grub2, Symbol Grub_env_export Not Found?
May 4, 2011instead of normal grub menu I am greeted with an:
Code:
symbol "grub_env_export" not found
on debian_amd64 latest testing.
[code]....
instead of normal grub menu I am greeted with an:
Code:
symbol "grub_env_export" not found
on debian_amd64 latest testing.
[code]....
initially installed UNR 10.10 on a separate partition of my Acer One Netbook (Win XP) with a dual boot. An initial problem with the location of the Boot loader I had a setup which I was slowly getting used to. Last weekend I was given the option to update to the new 11.04 version. I accepted the offer and let the update system do it's job overnight, final booting into UNR 11.04 after about 18 hours.
The first job was to get into the basic desktop as I do not find Unity very helpful and on a netbook it takes up too much space. Once I the update was completed and my desktop was setup I needed to shutdown in order to do some work which required booting to Windows XP. I did not use Ubuntu again until this morning when I got to the office booted my computer up and was faced with the message,
error: symbol not found: 'grub_env_export'
grub rescue>
As a new user the message meant very little to me although clearly there was a GRUB bootloader problem. I did think that perhaps the words 'grub rescue' implied there was some simple command which would restore the boot loader but a search of the internet and Ubunti Forums showed not only that the solution was less than trivial for a newbie like myself, but that I was also not alone in having problems with the 11.04 upgrade. That was a very disappointing discovery as I had been impressed with UNR 10.10 despite a few issues with networking, printers and one invisible partition!
I used a bootable USB version of 10.10 to have a look at the problems and I tried to follow the instructions but I find it very confusing to know which partitions are which and what is the 'normal' system disk or where the boot loader resides. With my working UNR 10.10 version the internal partitions were /dev/sdaX whereas with the Bootable USB system they are sdbX so which do I use sda or sdb? I could mount the partitions with the disk utility but then when it came to following the instructions to mount the critical virtual file systems I had errors saying no such mount point which completely flummoxed me.
I eventually solved the problem by using Paragon Rescue Kit to restore the WinXP boot loader, but that means I can not boot into LINUX of course. I do find that LINUX does have a lot of 'hard to understand' command line instructions despite the fact that I started working with computers many years ago (IBM 360/44s!) since then I have worked with numerous operating systems including CP/M, MS-DOS, VMS, UNIX before having my IT brain scrambled by numerous flavours of W-----s! I had hoped to slowly move over to LINUX but this episode has been very disappointing.In order to get my UNR 11.04 system working again I guess I have two options,
1)I could use the UNR10.10 Bootable USB key to re-install the GRUB Loader, or
2)I can Download UNR 11.04 and make another bootable USB with 11.04 and then use that to install the latest 11.04 update.
after upgrading 10.10 to Natty 11.04 my Kubuntu 64-bit System won't boot anymore. During upgrade an error message appears, saying GRUB2 cannot be installed into a partition (something about bad idea and blocklist). First reboot shows this error message:
Code:
Error: symbol not found: 'grub_env_export'
I tried to repair GRUB2 by using a Live CD, mounting all needed partitions, chroot to my installed system and running update-grub2. This time no error message appears. Next reboot the system does hang, showing "Booting..." for minutes. Nothing happens.I'm using a partition boot loader (for Linux) since years on my Netbook / Notebook. Due to security reasons all partitions of the mobile device were encrypted. Unfortunately I also need an Windows system, so the first partition contains an Win 7 installation encrypted with Truecrypt.
Truecrypt needs to be installed into the MBR (as far as I do know and from my first tests some times ago). So I installed the Linux bootloader into the /boot partition (sda6).
Linux root partition is also encrypted using cryptsetup/Luks.How can I fix this problem, keep my Truecrypt/Windows system and boot the encrypted Linux system?
I have a Windows Vista-Ubuntu 11.04 dual-boot. However, I have lost the ability to boot Windows Vista. I can select Windows in the GRUB menu, but GRUB says
Quote:
error: symbol not found: 'grub_err_printed_errors'
I have repeatedly searched Google for any help, but have found nothing that applies to my situation. I need Windows because I have an iPod Touch with a tethered jailbreak and can't use it right now.
Environment: vim 7.3.154, Debian wheezy/sid I copy code snippet from the internet, trying to test some concepts for practice. However, there are digital number preceded, as below:
1.
2.
3.
[code]...
I try the following regular expression in vim, but that doesn't work as vim replies `Pattern not found.'
:g/^([1-9]|[1-9][0-9])./s///g
It seems that the alternation symbol does not work. What is the right symbol for alternation? Or the right syntax to remove digital number preceded?
My evil nemesis Grub2 has decided to make a move on me again! So I rebooted a few minutes ago and got this:
Welcome to Grub
error the symbol 'grub_env_find' not found
Entering rescue mode
Previously after doing aptitude upgrade, my pidgin seems broken with no gui shown. So I decided to download the latest source from pidgin website and build it from source, but I think I made situation worse because it then complained that ssl lib was needed. Then I removed the libpurple (e.g. aptitude purge libpurple0 libpurple-bin libpurple-dev) and reinstalled pidgin (aptitude install pidgin). Now it shows the error
pidgin: symbol lookup error: pidgin: undefined symbol: purple_media_element_info_get_type
I searched on the internet and can not find a solution. The clues on the internet says that's because the piding I use is the older version of libpurple. But I think I've removed all with purge and reinstalled it. Maybe some legacy binary is referenced. What or where it might be? Or where there may contain related information.
Saturday June 5, completely stable Ubuntu 9.2 system. Shut the system down cleanly and went on vacation for a week. Came home yesterday, booted the system, and it was running very slowly. I see at the bottom the Update Manager was open, and it had several updates available. Rebooted system and it immediately goes to a console with the error:
GRUB LOADING
error: the symbol 'grub_device_open' not found
grub rescue>
I have researched some about the grub rescue console, and it appears there are a lot of commands that do not work, such as ls. A 'set' tells me the following:
prefix=(hd0,1)/boot/grub
root=hd0,1
I'm at a loss as to where to go from here to get back into Ubuntu.
About 1 week ago, one of my PC's Hard Drives had stopped working. Because of that, I replaced the HD with a 2-set of Hard Disks from a earlier PC (whose Pentium 4 CPU failed). Because of a failed attempt in dual-booting with M$ WINDOW$, the MBR and Linux are separated between the hard drives. The computer booted up fine on first try (and even got into KDE), but it's internet didn't work (didn't even show eth0 on ifconfig). I decided to install some software via my old 8.04 LiveCD (I can't afford to format that PC for I have critical data on it, 0 DVDs, and no Flash drive), mounting it then chrooting it remembering to mount dev/pts sys and proc. Because the system was something old (Debian Squeeze from ~1 month ago), It had a kernel and GRUB upgrades which I missed among the ~600 others. Naturally, it failed to upgrade because of the missing /dev. Finally, I restarted my computer hoping for a upgraded PC with the programs. However, I instead got this:
Code:
| Sec. Slave Disk : LBA,SATA, 160GB
-----------------------------------------------------------------------------------
[code]....
I am running Ubuntu both native and on virtualbox on windows XP host. The problem apeared when upgraded from Ubuntu 9.10 to 10.04. System boots perfectly WinXP and Ubuntu. But the problem appears when I try to boot linux on virtual box. Following is the grub error:
GRUB loading.
error: the symbol 'grub_puts_' not found
grub rescue> _
I've tried to boot from alternate CD and "update-grub2" but the problem still appears.
On my office Notebook (which is absolutely the same HP nc6320) I've installed ubuntu 10.04 from scratch and it is working.
it doesn't load, it's just stuck on that screen:
Code:
GRUB loading.
error: the symbol 'grup_puts_' not found
grub rescue>
I just tried to upgrade to the latest release through the update manager.During the upgrade I told it to keep my old grub as I had issues the last time I upgraded.I dual boot XP and Ubuntu.When it told me to restart the computer I did and it boots to the following:
error: the symbol grub_xputs not found. grub rescue>
So I get a grub rescue prompt.What do I do now?
while i was upgrading ubuntu 10.10 to 11.04 when I restarting the PC I got this error
error: the symbol 'grub_putchar' not found"
I just installed Ubuntu 10.04 and everything was working fine. I also have Win XP installed and Ubuntu 9.10.I was able to boot any of these OS's with no problem.Without understanding the ramifications of my actions, I enlarged the Windows partition to incorporate the unallocated space at the beginning of my disk using Easeus Partition Master from within my Windows OS. Apparently, I wiped out my grub!I have been able to boot to my 2.6.31-14 kernel (Ubuntu 10.04) using commands from the grub rescue prompt.Upon successful boot into the system, I initiated the command: sudo update-grub and my system still reports Error: the symbol 'grub getcharwidth' not found.Here is my grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub[code]....
I know I must be close to resolution.
Apache doesn't start with libedit.so.0.0.34 ( from libedit0-3.0.snap20090923-4.1.x86_64 ).
Code:
[Tue Dec 15 16:20:51 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
/usr/sbin/httpd2-prefork: symbol lookup error: /usr/lib64/libedit.so.0: undefined symbol: tgetent
Solution: I copied /usr/lib64/libedit.so.0.0.27 from a previous install and symlinked /usr/lib64/libedit.so.0 to it.
ive made a slight mistake on my Ubuntu 9.10 64bit. I was trying to get Voodoo Motion Tracking software to work, and it was having trouble locating some Qt Libs, so I decided it was a good idea to move its included libs into /user/lib32 directory. Voodoo now works, but Skype instead comes up with:
Code:
skype: symbol lookup error: /usr/lib32/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv Skype was installed using their own provided 64bit .deb - it was previously working fine.
The most recent update impacted my thunderbird-3.0. When launched I get these error messages
/usr/lib/thunderbird-3.0.3pre/thunderbird-bin: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking
/usr/lib/thunderbird-3.0.3pre/thunderbird-bin: symbol lookup error: /usr/lib/libnssutil3.so.1d: undefined symbol: PL_ClearArenaPool
I can only assume the libnssutil3 library was upgraded and this broke the library call in the thunderbird-3.0.
I performed a yum update and now my yum is not working and I am unable to start my apache processes (in a dmz configuration).This is the error I am getting from yum.
yum clean
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in ?
import yum
[code]....
I'm running Ubuntu 10.10 and was looking for software to mix mp3's. I want to try mixxx (found here) I installed the most recent package by using the ppa of the project (as described here) Install seems to be ok (no error messages)But when I try to run mixxx from the menu nothing happens. Nothing. Running it from the terminal with the command
Code:
mixxx
I get this error message:
Quote:
mixxx: symbol lookup error: /usr/lib/libQtNetwork.so.4: undefined symbol: _ZN16QIODevicePrivate4peekEPcx
I have been reading this but could not resolve my issue: [URL]. The problem is as follows. I got a samsung laptop and there is some kind of recovery utility installed. After installing Ubuntu I get too windows grub entries, one is called Windows Vista (loader) on /dev/sda1 and the other one is Windows 7 (loader) on /dev/sda2. The latter is correct and the first one is something that I'd rather not have active at all in the grub menu. Both of them are of course created by 30_os-prober in /etc/grub.d. I figured that I would most likely prefer a custom entry for Windows 7 and remove the x flag from 30_os-prober. I tried to create a file 50_windows7 in a described manner:
#! /bin/sh -e
echo "Adding Windows 43_custom" >&2
menuentry "Windows Vista 43_custom" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 7cecddfbecddb01e
chainloader +1 }
Unfortunately during update-grub I get following:
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found Windows Vista (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Adding Windows 43_custom
/etc/grub.d/50_windows7: 4: menuentry: not found
I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run
Code:
ndiswrapper -l
i am getting the error
Code:
/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv
I recently downloaded grub2 source code for my F13 installation and it compiled and installed perfectly, but when I rebooted nothing had happened and grub was still version .97. Is there something I didn't do?
View 1 Replies View RelatedI have a Netbook Remix install on an SD card that won't boot. Grub2 in the recovery mode shows it fails finding the root files by using UUID. It's my first Grub2 install and I'm not sure how to go about debugging it. The machine boots the same version from a USB stick.
View 1 Replies View RelatedI recently installed Ubuntu Netbook Remix (10.04) on my brother's Acer Aspire One (751h) netbook, set up to dual boot with XP Professional. The initial install was successful, with both OS's booting correctly. However, after a series of updates and module builds (this machine has the Poulsbo chipset, still somewhat of a mess), Grub2 is now unable to boot XP, displaying the error "Operating system not found."
To be clear, grub works properly (aside from not booting XP), so the MBR is intact, although I've rerun grub-install to be safe. Restoring the windows MBR (using testdisk) boots XP happily, but of course ignores the ubuntu installation. I also had testdisk rebuild the NTFS boot sector, to no change - grub still doesn't work, the windows MBR does. Using the grub console, I can "root (hd0,1)" and see files on the XP partition, but "chainloader +1; boot" again fails with the same error. The ubuntu install can likewise mount the NTFS partition with no problems.
Given the fact that switching the MBR fixes the issue, I'm suspecting a Grub2 configuration problem. However, the simplicity of "root (hd0,1); chainloader +1; boot" leaves me stumped as to what that could be. Also, the error text "Operating system not found" is suspiciously identical to my BIOS's error message when attempting to boot from a non-bootable medium (as I found out while attempting to make a bootable usb stick with my mac).
To make a long story short:./usr/bin/mplayer: relocation error: /usr/bin/mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference
Debian-unstable. I tried to play some avi files with smplayer. I got an error message and searched the fscking web: http://www.mail-archive.com/pkg-multime ... 02393.html
[Code]...
I have had it with the frustration of trying to figure out how to successfully install grub on my own, so I am hitting the forums. What can you tell me about installing grub/grub2 (whichever is best -- I want something that works) to my single hard drive computer. Operating systems: Windows XP, xUbuntu 9.10 Hard drive: Samsung SATA 2, 1 TB Desired result: Menu that loads upon boot so that I can select which OS I would like to load without inserting media device or disk.
I thought this individual had the most straight forward and thorough tutorial (of any I have seen) on the subject but precluded at least one thing for me that I cannot afford to ignore: I don't seem to have a "stage1" that can be loaded by the grub shell. Trying to find it in /boot/grub/stage1 in the grub shell, I get... "Error 15: File not found" What I do have in that directory is 'grubenv'. When I boot up, it loads grub, but it comes up with an error message saying, "File not found". Then, all I get is the 'grub rescue' prompt: "grub rescue>".
Obviously, after spending hours on this thing, this is not the whole story. But there have been so many attempts to try fix it with one thing or another, that I cannot easily relate them all, if I could even remember each one.
I'm using Truecrypt to encrypt my Windows 7 OS. I also have unencrypted Ubuntu 10.04 installed on /dev/sda6 on the same hard drive. Since Truecrypt bootloader must be installed in MBR, I have GRUB2 installed on /dev/sda6, so I can use TC bootloader to load GRUB2. When I first install GRUB2 on /dev/sda6, I can use TC bootloader to load Ubuntu. But, if I boot into Windows via TC bootloader, and then later try to boot into Ubuntu, I get the message "no bootable partition found". I have to reinstall GRUB2 onto /dev/sda6, every time after I use windows in order to be able to boot into Ubuntu. It seems that starting Windows somehow overwrites GRUB2. Is there a fix for this?
View 1 Replies View RelatedReferring to the documentation here, there is nothing that seems to fit my problem.
I only have 1 operating system on my hard drive, I've removed Windows.
When it starts I get "error: file not found" -- but it boots anyway! I'm posting from within my Ubuntu install now. Everything (except Grub2) is working perfectly. So it can't be error 15.
It may decrease my boot time, and it's quite frustrating have that message, regardless if my system boots fine. My system is acting like I don't even have grub installed at all -- any command I try it doesn't recognise it "The program 'grub' is currently not installed."
I have been working on this for a week now, and I am still getting an error on boot up from GRUB 2.
It tells me "ALERT!! /dev/sda5 not found" basically. I've tried purging and reinstalling GRUB 2 (from within Ubuntu and from a Live CD) to no avail. I never had any boot problems running karmic (9.10); these problems appeared and have persisted upon upgrading to lucid (10.4, which included upgrading from GRUB Legacy, I believe), and then on to maverick (10.10).
This error takes about 20-30sec to crop up in the boot sequence, and then I am given an "(initram)" prompt. If I wait a few seconds and then type "exit," the system boots up quickly with no problems (aside from issues w/ plymouth, but that's for another thread).
I have included the "Results.txt" file generated by boot_info_script.
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for (,msdos1)/grub.
[Code].....
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...