New Kernel not booting
OK well I have made the new Kernel, nothing blow up! But when I try to run it a) from my origional boot disk, by hitting tab then my new label, it says no image found.
b) use old kernel to go into system created a boot disk and it just hangs after saying, "Uncompressing Linux..OK. Starting Kernel" STOP. If it helps to know that I boot into Linux through a boot disk, then all well and good. I have also noticed that I didn't have a lilo.conf file, so I copied the lilo.conf.anaconda to lilo.conf. But I seem to have an additional line that all example lilo.conf don't have, here is my complete lilo.conf prompt timeout=50 default=linux boot=/dev/hda2 map=/boot/map install=/boot/boot.b message=/boot/message lba32 image=/boot/vmlinuz-2.4.7-10 label=linux initrd=/boot/initrd-2.4.7-10.img ***extra line**** read-only root=/dev/hda3 append="hdc=ide-scsi" ***new kernel bit so I can test it**** image=/boot/bzlinuz.myker.07jan2002 label=myker read-only root=/dev/hda3 append="hdc=ide-scsi" ***Added this myself as I thought if its in the origional it should be here too!**** So my new start-up bit is missing this initrd img file! Any suggestions please, does anybody else have this or 7.2 and has done what I'm trying. Cheers |
Well I think you mixed a few things up. If you are using a floppy to boot linux then you will have to update the floppy so it will be able to boot then new kernel.
And for the extra line in the lilo.conf: initrd = initial ram disk image It points to a preliminary root filesystem image which helps the kernel boot. This image file should be present on your floppy if you want it to work. I don't think you can just add those entries to lilo and then make it work like that. But I don't really use floppies to boot so I never really got into doing all that. Anyways if you want to make a simple boot floppy for a specific kernel just do something like: dd if=/boot/bzlinuz.myker.07jan2002 of=/dev/fd0 rdev /dev/fd0 /dev/hda3 When compiling the kernel you can also just put a empty floppy in the drive and run make bzdisk instead of make bzImage. This will automatically copy the kernel to disk for you so you can just boot from the floppy to test it. |
Thanks for that, but do I have to make a new image from the new kernel? I cannot use the old image otherwise am I not still using the old kernel?
If so how do I do that, I have not seen any help guides for it. |
All times are GMT -5. The time now is 12:16 AM. |