x86-64 Grub question
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)
x86-64 Grub question
when you install grub on an ISO when running a 64 bit OS does Grub enter long mode for you? Where can I find more info on what Grub does?
Grub legacy conforms to the Multiboot Specification and does not enter long mode for you. Grub2 might (read as I don't know) do this, but it is not yet stable.
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)
- kristian@Kristian:~/Documents/Decipher/Source/Kernel$ ld linker.ld kernel.o startkernel.o
ld: i386 architecture of input file `kernel.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `startkernel.o' is incompatible with i386:x86-64 output
kristian@Kristian:~/Documents/Decipher/Source/Kernel$ ld linker.ld kernel.o startkernel.o
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
To emulate i386 on 64 bit:
gcc: -m32
nasm: -f elf32
gas: --32
ld: -m elf_i386
Those are the options for the commands.
(you may have to re-compile)
-JL
gcc: -m32
nasm: -f elf32
gas: --32
ld: -m elf_i386
Those are the options for the commands.
(you may have to re-compile)
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
- crazygray1
- Member
- Posts: 168
- Joined: Thu Nov 22, 2007 7:18 pm
- Location: USA,Hawaii,Honolulu(Seriously)