You are not logged in.
Pages: 1
hi,
i compiled a new kernel from source because i wanted a kernel for k7 and without smp for my system. everything went fine building it but when i edit grub to boot the new kernel it gives errors.
# (0) Linux-2.6.14-ck6
title Arch-2.6.14-ck6 [/boot/vmlinuz-2.6.14-ck6]
root (hd0,0)
kernel /vmlinuz-2.6.14-ck6 root=/dev/hda3 ro vga=792
# (1) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 ro vga=792
also mkinitrd doesn't work.
mkinitrd /boot/initrd-2.6.14-ck6.img 2.6.14-ck6
it keeps giving me output that i need to use some options.
the only thing that works is
mkinitrd full
and
mkinitrd auto
i don't exactly know what they do, but without booting into the new kernel those are useless anyway.
can someone help me out?
Offline
well if your kernel line is what you say it is i think you need to put /boot/ in there
unless your kernel really is in /
thats all i see , although i dont use grub alot so i may be wrong
Offline
well if your kernel line is what you say it is i think you need to put /boot/ in there
unless your kernel really is in /
thats all i see , although i dont use grub alot so i may be wrong
yeah you're right that's odd. but the other kernel works that way, too even though vmlinuz is actually in /boot
i dont' maybe that is just how grub works
Offline
also mkinitrd doesn't work.
mkinitrd /boot/initrd-2.6.14-ck6.img 2.6.14-ck6
it keeps giving me output that i need to use some options.
It's giving you output that you need to use some options because you need to use some options.
Let's take a look at the output:
/sbin/mkinitrd <kernel_version> [options]
Where <kernel_version> is one of:
auto build for the installed Arch kernel
full build with all possible modules
kernel_version={version} use kernel version (no autodetect)
Options:
--ide exclude ide modules
--scsi exclude scsi modules
--usb exclude usb modules
--cdrom exclude cdrom modules
--fw exclude firewire modules
--raid exclude raid modules
--dm exclude device mapper modules
--remove-module={module} exclude module
--add-module={module} add module
--root-device={device} skip auto detection of the root device
--show show modules that are included in initrd
Your line (mkinitrd /boot/initrd-2.6.14-ck6.img 2.6.14-ck6) doesn't match anything listed there. It's giving you that output because it's wrong.
mkinitrd --kernel-version=2.6.14-ck6
Offline
so it should read:
/sbin/mkinitrd kernel_version=2.6.14-ck6-ARCH
when i have this:
[vladuz976@box ~]$ ls /lib/modules/
2.6.13-ARCH 2.6.14-ck6-ARCH
is that correct?
Offline
so it should read:
/sbin/mkinitrd kernel_version=2.6.14-ck6-ARCH
Ah, I put the "--" in there by habit. Yes, that should work.
Offline
Pages: 1