LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub2 ./configure error (https://www.linuxquestions.org/questions/linux-newbie-8/grub2-configure-error-818247/)

nwtlnxqstns 07-06-2010 07:32 AM

grub2 ./configure error
 
Hi,

I have mandriva 2007 install on my desktop. I tried to update to grub2. When I run the ./configure I got the following error message. THanks.

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?....guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?...ig.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 2.6.17-13mdvlegacy
uname -s = Linux
uname -v = #1 SMP Fri Mar 23 19:05:24 UTC 2007

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 2.6.17-13mdvlegacy
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Fri Mar 23 19:05:24 UTC 2007
configure: error: cannot guess build type; you must specify one


###############################################

output from config-guess


./config.guess: unable to guess system type

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?....guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?...ig.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 2.6.17-13mdvlegacy
uname -s = Linux
uname -v = #1 SMP Fri Mar 23 19:05:24 UTC 2007

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 2.6.17-13mdvlegacy
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Fri Mar 23 19:05:24 UTC 2007

saikee 07-07-2010 04:59 PM

Just a long shot. Linux after kernel 2.6.28 (about 2009) started to detect hard disks by libATA. Your 2007 Mandriva with a 2.6.17 kernel is really too old for Grub2. It is possible Grub2 may depend on newer components unavailable from your old kernel.

How about installing the new Mandriva 2010 RC2 which has a 2.6.33 kernel.

Alternatively you can stick with Grub1 which can do everything Grub2 can except booting beyond 1.3TB position of a hard disk and the ability to cope with hard disks partitioned by the gpt scheme.

aus9 07-07-2010 07:57 PM

I no longer use MDV but try this

http://mirror.internode.on.net/pub/m...009.1.i586.rpm

2) did you try to compile using install instructions in file?
ftp://alpha.gnu.org/gnu/grub/grub-1.98.tar.gz

Kenny_Strawn 07-07-2010 08:41 PM

Created a RPM- and YUM-based version of this script that should work with Mandriva and build Kernel 2.6.35:

http://5ykx2q.bay.livefilestore.com/...ownload&psid=1


All times are GMT -5. The time now is 05:25 PM.