I installed gentoo via stage 2 last night, and I've finally reached the point where I can supposedly boot into it. I used the dev-sources (2.6.1) kernel, so this might be the issue. My hardware is as follows:
-Athlon 900Mhz Slot A (used the -march=athlon for my make.conf file)
-Abit KA7
-256 meg RAM
-Geforce 256 DDR
I followed the gentoo handbook to the T, and when I got to this step under "Compiling the Kernel (Part 7)":
Code listing 36: Compiling the kernel
(For x86-based systems, 2.4 kernel)
# make dep && make bzImage modules modules_install
(For other systems, 2.4 kernel)
# make dep && make vmlinux modules modules_install
(For amd64-based systems, 2.6 kernel)
# make bzImage modules modules_install
(For other systems, 2.6 kernel)
# make && make modules_install <-- I chose this option, since I was planning on using the 2.6.1 kernel
Then:
(For x86-based systems)
# cp arch/i386/boot/bzImage /boot/kernel-2.4.22
# cp System.map /boot/System.map-2.4.22
(For amd64-based systems)
# cp arch/x86_64/boot/bzImage /boot/kernel-2.4.22
(For other systems) <---------- I did this option
# cp vmlinux /boot/kernel-2.4.22
# cp System.map /boot/System.map-2.4.22
Now, when I try to boot using grub, it gives me "Error 13: Invalid or unsupported executable format". I researched this and this indicates it can't find an executable linux file, like vmlinux. However, following the commands I posted before, shouldn't it? I have the gentoo handbook's same file system configuration:
/dev/hda1 = /boot
/dev/hda2 = /swap
/dev/hda3 = /
The two lines I can change in grub are:
root(hd0,0)
kernel (hd0,0)/kernel-2.6.1 root=/dev/hda3 vga=788
Any ideas are greatly appreciated. Thanks.
-Athlon 900Mhz Slot A (used the -march=athlon for my make.conf file)
-Abit KA7
-256 meg RAM
-Geforce 256 DDR
I followed the gentoo handbook to the T, and when I got to this step under "Compiling the Kernel (Part 7)":
Code listing 36: Compiling the kernel
(For x86-based systems, 2.4 kernel)
# make dep && make bzImage modules modules_install
(For other systems, 2.4 kernel)
# make dep && make vmlinux modules modules_install
(For amd64-based systems, 2.6 kernel)
# make bzImage modules modules_install
(For other systems, 2.6 kernel)
# make && make modules_install <-- I chose this option, since I was planning on using the 2.6.1 kernel
Then:
(For x86-based systems)
# cp arch/i386/boot/bzImage /boot/kernel-2.4.22
# cp System.map /boot/System.map-2.4.22
(For amd64-based systems)
# cp arch/x86_64/boot/bzImage /boot/kernel-2.4.22
(For other systems) <---------- I did this option
# cp vmlinux /boot/kernel-2.4.22
# cp System.map /boot/System.map-2.4.22
Now, when I try to boot using grub, it gives me "Error 13: Invalid or unsupported executable format". I researched this and this indicates it can't find an executable linux file, like vmlinux. However, following the commands I posted before, shouldn't it? I have the gentoo handbook's same file system configuration:
/dev/hda1 = /boot
/dev/hda2 = /swap
/dev/hda3 = /
The two lines I can change in grub are:
root(hd0,0)
kernel (hd0,0)/kernel-2.6.1 root=/dev/hda3 vga=788
Any ideas are greatly appreciated. Thanks.