Re: Pb with grub
On Sun, 19 Feb 2006 13:10:11 +0100, Ernest jw ter Kuile wrote: On Sunday 19 February 2006 11:54, Hamish Moffatt wrote: [texte cité caché] Of course you are right. I should have differentiated grub the boot loader and grub the CLI. Thx all for your help. I validate in my kernel : CONFIG_IA32_EMULATION Working. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sun, Feb 19, 2006 at 08:30:30AM +0100, Thierry wrote: Hi, I am in Testing, and i can not use grub anymore : /sbin/grub: /sbin/grub: cannot execute binary file Any idea ? file /sbin/grub ? ldd /sbin/grub? ls -l /sbin/grub? My results: [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching file /sbin/grub /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, statically linked, stripped (Interesting, since this IS my amd64 system.) [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching ldd /sbin/grub not a dynamic executable [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching ls -l /sbin/grub -rwxr-xr-x 1 root root 55 2006-02-16 10:48 /sbin/grub Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sun, 19 Feb 2006 09:40:15 +0100, Hamish Moffatt wrote: On Sun, Feb 19, 2006 at 08:30:30AM +0100, Thierry wrote: [texte cité caché] file /sbin/grub ? /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, statically linked, stripped ldd /sbin/grub? /usr/bin/ldd: line 171: /lib/ld-linux.so.2: Aucun fichier ou répertoire de ce type - means there is no file or folder of this type ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) ls -l /sbin/grub? -rwxr-xr-x 1 root root 55 2006-01-20 09:19 /sbin/grub My results: [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching file /sbin/grub /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, statically linked, stripped (Interesting, since this IS my amd64 system.) [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching ldd /sbin/grub not a dynamic executable [7:31pm] [EMAIL PROTECTED]:~/projects/geocaching ls -l /sbin/grub -rwxr-xr-x 1 root root 55 2006-02-16 10:48 /sbin/grub Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: Pb with grub
On Sun, Feb 19, 2006 at 10:18:10AM +0100, Thierry wrote: On Sun, 19 Feb 2006 09:40:15 +0100, Hamish Moffatt wrote: /sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, statically linked, stripped ldd /sbin/grub? /usr/bin/ldd: line 171: /lib/ld-linux.so.2: Aucun fichier ou répertoire de ce type - means there is no file or folder of this type ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) Ah. I guess you are missing your i386 ld.so, which is /lib/ld-linux.so.2 (a link to /lib/i486-linux/ld-2.3.2.so). You probably can't run any other i386 program either. Do you have the package ia32-libc6 properly installed? Incidentally, I think the grub package is buggy. It requires ia32-libc6, but it that package isn't essential and grub doesn't depend on it. Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sunday 19 February 2006 08:30, Thierry wrote: Hi, I am in Testing, and i can not use grub anymore : /sbin/grub: /sbin/grub: cannot execute binary file Never seen that before, however, here is my wild guess: As grub is compiled as a 32bit program, maybe you run a custom kernel which has 32bit elf code execution disabled ? kernel config parameter CONFIG_IA32_EMULATION determines if you can. Cheers, Ernest. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sunday 19 February 2006 11:00, Hamish Moffatt wrote: Ah. I guess you are missing your i386 ld.so, which is /lib/ld-linux.so.2 (a link to /lib/i486-linux/ld-2.3.2.so). You probably can't run any other i386 program either. Do you have the package ia32-libc6 properly installed? No, you don't need that. grub should runs quit fine as is. It is statically linked, and does not need any runtime linkage. I don't have (and most certainly don't want) ia32-libc6 either, and grub runs fine here. Incidentally, I think the grub package is buggy. It requires ia32-libc6, but it that package isn't essential and grub doesn't depend on it. grub runs before Linux, it should not depend on anything. Incidentally , to the original reporter : I suspect grub will work for you even if your kernel is not able to run 32bit code. This simply because grub runs before the kernel. Ernest. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sun, Feb 19, 2006 at 11:12:33AM +0100, Ernest jw ter Kuile wrote: On Sunday 19 February 2006 11:00, Hamish Moffatt wrote: Ah. I guess you are missing your i386 ld.so, which is /lib/ld-linux.so.2 (a link to /lib/i486-linux/ld-2.3.2.so). You probably can't run any other i386 program either. Do you have the package ia32-libc6 properly installed? No, you don't need that. grub should runs quit fine as is. It is statically linked, and does not need any runtime linkage. I don't have (and most certainly don't want) ia32-libc6 either, and grub runs fine here. OK. Must've been a false alarm due to running ldd on a statically-linked binary. grub runs before Linux, it should not depend on anything. No, that's wrong. /sbin/grub runs in user-space and requires the kernel, with 32-bit support. The grub boot loader, which is /boot/grub/*, runs before linux. Incidentally , to the original reporter : I suspect grub will work for you even if your kernel is not able to run 32bit code. This simply because grub runs before the kernel. But not /sbin/grub, which is what the original poster asked about. Hamish -- Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Pb with grub
On Sunday 19 February 2006 11:54, Hamish Moffatt wrote: No, that's wrong. /sbin/grub runs in user-space and requires the kernel, with 32-bit support. The grub boot loader, which is /boot/grub/*, runs before linux. Of course you are right. I should have differentiated grub the boot loader and grub the CLI. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]