Re: 64 Bit Support?

2007-06-17 Thread Constantine Kousoulos
Stefan Reinauer wrote: The problem might be that Grub2 locks out existing operating systems, if it does not support switching to long mode itself. I read rumours only, so I might be completely wrong. Is anyone booting non-Linux OSes like FreeBSD, NetBSD, OpenBSD, OpenSolaris, etc with GRUB2 yet

long mode

2007-06-10 Thread Constantine Kousoulos
Hi, Does Grub2 set up long mode when loading an elf64 image or do we have to do it manually if we need such a thing? Thanks, Constantine ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

boot on amd64

2007-06-07 Thread Constantine Kousoulos
Hello all, I 'm building a (non linux) kernel natively on i386 and on amd64. My linker script defines the first section to be one called 'boot'. This is where i put multiboot headers so that they are within the first 8 bytes of the kernel image. Grub2 succesfully retrieves the headers from th

Re: multiboot header error

2007-05-31 Thread Constantine Kousoulos
Since i didn't get any feedback, i was forced to use the force and go to the source. I found out a few amazing things. First of all, there is a serious inconsistency between the next version of the Multiboot Specification and the current code. The spec mentions: "[..] The header must start with a

Re: multiboot header error

2007-05-30 Thread Constantine Kousoulos
Here is a sample kernel, built as elf64, that simply refuses to boot. It consists of only two files: boot.S and multiboot.h. It does absolutely nothing and it is a cut-down version of the kernel found at http://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Example-OS-code or in gru

multiboot header error

2007-05-29 Thread Constantine Kousoulos
After successfully installing GRUB2 from cvs (thanks Jerone!), i decided to further test it on my amd64 machine. At first, i built the sample kernel from http://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Example-OS-code using the '-m32' gcc flag and by marking boot.S with the '.

Re: installing on x86_64

2007-05-29 Thread Constantine Kousoulos
Jerone, thanks to your instructions grub2 was installed automagically!! The only thing that wasn't set up automatically was grub.cfg but this is a minor issue to resolve. Are there any objections to replace the wiki's inaccurate instructions at the section "TestingOnX86/Installing GRUB 2 int

Re: installing on x86_64

2007-05-29 Thread Constantine Kousoulos
Thank you for your reply. After so much time, i had totally given up on grub2. I have a debian-amd64/unstable system running on a turion64 processor with gcc 4.1.3, autoconf 2.61 and automake 1.10. I will try again to install grub2 using your instructions and report back. Constantine ___

installing on x86_64

2007-05-22 Thread Constantine Kousoulos
Hello, I fetched the latest sources from cvs and tried to install grub2. I followed the guide at the wiki http://grub.enbug.org/TestingOnX86. 'configure --prefix=/boot/grub2': works ok. 'make': ok 'sudo make install': complaints about missing file utils/grub.d/README. easy to overcome. 'sudo

booting elf64 images

2007-04-28 Thread Constantine Kousoulos
Hello, I'm trying to make an experimental kernel multiboot compatible on amd64 and make it run in long mode. This kernel currently compiles and boots on i386 using Grub Legacy. However, it seems that Grub Legacy cannot boot elf64 images. Does GRUB2 support elf64 images without problems?? T