Results 1 to 3 of 3
Hello all, this is my first post here as i've always found the answers i needed before. Hope you can help me out with this one!
I have gotten most ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-18-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
Cannot make install kernel
Hello all, this is my first post here as i've always found the answers i needed before. Hope you can help me out with this one!
I have gotten most of the way through on recompiling my kernel, using the steps found here:however, when i get toHTML Code:http://www.linuxforums.org/desktop/the_newbies_guide_to_compiling_your_first_kernel.html
i get this errorcd /usr/src/linux/
make install
Now i rebooted and went to grub, where i found 3-4 new kernels listed with the new kernel version, but none of them worked.Code:zach@zach-desktop:/usr/src/linux-2.6.24.2$ sudo make install sh /usr/src/linux-2.6.24.2/arch/x86/boot/install.sh 2.6.24.2 arch/x86/boot/bzImage System.map "/boot" In order to use the new kernel image you have just installed, you will need to reboot the machine. First, however, you will need to either make a bootable floppy diskette, re-run LILO, or have GRUB installed. Checking for ELILO...No GRUB is installed. To automatically switch to new kernels, point your default entry in menu.lst to /boot/vmlinuz-2.6.24.2 zach@zach-desktop:/usr/src/linux-2.6.24.2$
When i go to /boot/ all i find is the initrd.img for my generic kernel.
Is there something i am missing, or am i doing something wrong? Please help, as i would really enjoy being able to compile my own kernel.
EDIT:
Also, when i run mkinitramfs i get this:
Code:zach@zach-desktop:/boot$ ls abi-2.6.22-14-generic System.map config System.map-2.6.22-14-generic config-2.6.22-14-generic System.map-2.6.24.2 config-2.6.24.2 System.map-2.6.24.2.old config-2.6.24.2.old System.map.old config.old vmlinuz grub vmlinuz-2.6.22-14-generic initrd.img-2.6.22-14-generic vmlinuz-2.6.24.2 initrd.img-2.6.22-14-generic.bak vmlinuz-2.6.24.2.old memtest86+.bin vmlinuz.old zach@zach-desktop:/boot$ mkinitramfs vmlinuz-2.6.24.2 2.6.24.2 cp: missing destination file operand after `/tmp/tmp.qSJDPJ8188/sbin/' Try `cp --help' for more information. ------------------ Error has occured! zach@zach-desktop:/boot$
Last edited by plr4ever; 02-18-2008 at 03:46 AM. Reason: added html tag
- 02-18-2008 #2
Hello, and welcome to the forums!
Well it looks like you're nearly there; but there's something you haven't done. As root, type the following command in a terminal:
Code:# mkinitrd -o /boot/initrd.img-2.6.24.2 2.6.24.2
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
- 02-29-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
Thanks for the help, but when i run this i get this error
after trying for a while to fix it, i ended up reinstalling ubuntu, as the partial kernel recompilation had killed dpkg.Code:zach@zach-desktop:/boot$ ls abi-2.6.22-14-generic System.map config System.map-2.6.22-14-generic config-2.6.22-14-generic System.map-2.6.24.2 config-2.6.24.2 System.map-2.6.24.2.old config-2.6.24.2.old System.map.old config.old vmlinuz grub vmlinuz-2.6.22-14-generic initrd.img-2.6.22-14-generic vmlinuz-2.6.24.2 initrd.img-2.6.22-14-generic.bak vmlinuz-2.6.24.2.old memtest86+.bin vmlinuz.old zach@zach-desktop:/boot$ mkinitramfs vmlinuz-2.6.24.2 2.6.24.2 cp: missing destination file operand after `/tmp/tmp.qSJDPJ8188/sbin/' Try `cp --help' for more information. ------------------ Error has occured! zach@zach-desktop:/boot$


Reply With Quote

