Re: "Illegal Instruction" error in grub_script_comments

2016-10-30 Thread Matthew Whitehead
Lennart, I was able to make some progress installing GRUB and Legacy GRUB onto my ancient 80486 computer. Right now I have Legacy GRUB installed as the primary boot loader on the MBR. From there I can boot GRUB via 'kernel /grub2/core.img'. However, once I try to load a kernel it reports "ca

Re: "Illegal Instruction" error in grub_script_comments

2016-10-20 Thread Andrei Borzenkov
19.10.2016 18:32, Matthew Whitehead пишет: > Lennart, > I think I found the problem. I don't know what kernel.img does, but I'm > guessing it is an essential part of grub2, loading after the 1st and 2nd > stage loaders? I disassembled the binary using 'objdump -D -b binary -m i386 > kernel.img

Re: "Illegal Instruction" error in grub_script_comments

2016-10-19 Thread Matthew Whitehead
Lennart, tell me how can I run this under gdb and I'll find where the exception is. I'm pretty sure I cannot do it while the system is booting from disk, but is there a userland way to do it? - Matthew ___ Grub-devel mailing list Grub-devel@gnu.org

Re: "Illegal Instruction" error in grub_script_comments

2016-10-19 Thread Lennart Sorensen
On Wed, Oct 19, 2016 at 11:32:08AM -0400, Matthew Whitehead wrote: > Lennart, > I think I found the problem. I don't know what kernel.img does, but I'm > guessing it is an essential part of grub2, loading after the 1st and 2nd > stage loaders? I disassembled the binary using 'objdump -D -b bina

Re: "Illegal Instruction" error in grub_script_comments

2016-10-18 Thread Lennart Sorensen
On Mon, Oct 17, 2016 at 02:34:16PM -0400, tedheadster wrote: > I am building the older grub2-1.98+20100804 under the similarly old Debian > 'squeeze' distribution. However, I bet the error persists with newer > version. This is because I am building it on a true Intel 80486 and I don't > thing the

Re: "Illegal Instruction" error in grub_script_comments

2016-10-17 Thread Colin Watson
On Mon, Oct 17, 2016 at 02:34:16PM -0400, tedheadster wrote: > I am building the older grub2-1.98+20100804 under the similarly old Debian > 'squeeze' distribution. However, I bet the error persists with newer > version. This is because I am building it on a true Intel 80486 and I don't > thing the