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

grub compilation problems on OpenBSD 3.1



 I would like to use grub to multiboot my laptop. 
(W98+OBSD3.1) on a sony VAIO. In trying to build grub0.91  
& 0.92 I have the same issue: I get stuck at:  
  
asm.S:53: Error: Unknown pseudo-op:  `.code16'  
I ended up commenting out the section in configure when I 
couldn't get configure to work past this issue. However, I 
now can't make grub. 
 
 I have seen lots of references to the issue being an  
issue of inserting addr 32 and data 32 in front of 16 bit  
intructions in the grub source code, but I am not sure I  
can tell which is the 16 bit code in grub. The workaround  
right now is a boot floppy created from grub on a linux  
system. However, I want to boot off the hard disk if I  
can. I also want to wean my dependence on a linux to work  
on OpenBSD.Is there a solution? A patched GAS? a patched 
GRUB source code?  
 
IS there an alternate boot loader which will work for 
OpenBSD + windows + , potentially linux? At this point I 
may want to test out some things in linux because of 
support related issues, so I need the possibility of 
triple booting once in a while. I know grub works for all 
3 because I used grub installed from linux in the MBR when 
I had linux on as well. 
 
Thanks. 
 
PS the same problems occured in OpenBSD 3.0. 

Len Zaifman
Environmental Medical Computer Consulting, Inc
emc2inc@sympatico.ca
(519)362-8506