just compiled kernel will not boot
there is a boat load of messages but
here is the last messages Code:
All bugs added by David S. Miller <davem@redhat.com> -- WTF? |
Are you using LILO or GRUB?
|
LILO grub does not work at all
|
Hi smeezekitty,
it looks like your kernel lacks the driver for your harddrive. If it where a problem with the bootloader you should not have been able to boot the kernel or (while the configuration) to add the partition to the bootloader. What kind of harddrive are you using? IDE or SATA? if SATA, did you select the appropriate settings in the kernelconfiguration? Markus |
i think its IDE
here is lilo.conf Code:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', |
well, seems this bootloader resides on the bootsector of your boot partition but not on the masterbootrecord of your harddrive, is this correct?
And you do not have a separated /boot partition? Have there been any error-messages or warnings when you executed lilo? Markus |
i have two kernels 2.4 and 2.6 both on the same partition
2.4 boots 2.6 does not |
And this kernels reside in the same directory?
There is a /boot/Linux24, a /vmlinuz.old and a /bzImage. Is /bzImage the new compiled kernel? Maybe there is a conflict between the lilo-settings for a 2.6 and a 2.4 kernel. But I don't know enough about this. Markus |
Ich bin die Kompilierung des Kernels zusatzliche Treiber
Dies kann eine Weile dauern |
ok, I've to go to work now. I'll look here later in the evening.
good luck Markus |
be sure to include the partition support for dos partitions, the support for ext2/3 or whatever your root partition uses and the support for your ide controller. All these options muste be compiled into the kernel, not loaded as Modules.
when you switch from an old 2.4 kernel to a rather new 2.6 kernel, maybe you use the new libata interfaces that may use /dev/sd* instead of /dev/hd* for your hard disks. you could try to set root=/dev/sda1 in your lilo.conf or specify it in the boot command line. ATTENTION: when you do this, your old kernel will NOT BOOT. be sure to have a bootable CD (like www.grml.org) with which you can revert the changes if it doesn't help. |
i am confused - i have conflicting data
i cant tell if hda is IDE or ATA i thought it was ide but now there is evedance otherwise |
ide is (p)ata, but not SATA...
|
Quote:
and i do not know how to fix it with a live cd |
both kernels say cannot open sda1
|
All times are GMT -5. The time now is 11:51 PM. |