[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

> 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 Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

Reply to: