uh-oh; boot problem in newly compiled 2.6.0 kernel with GRUB
I compiled 2.6.0 and it believe it begins to load, but when it gets to laoding VFS and some Type Memory i get a Kernel panic, will get details soon on these, but what can i do to fix these? i neeed HELP
|
If you do a search of these forums for "kernel panic" or VFS you will get alot of hits that tell you what to do. Most likely it is because you do not have the devfs filesystem compiled into your kernel or ufs or vfs.
rberry88 |
If you saved the old kernel, you can hit "e" when grub comes up and point it to the old kernel, the one that works, 2.4 remember. You hit e twice and then use the arrow keys to change the kernel then hit enter and "b" to boot.
If you didn't save the old kernel, oooops. I have no clue. Here is some info for messing with kernels. ALWAYS save a version that will let you boot. I have about a dozen on here, some 2.4 and some 2.6. I name mine bzImage-2.4.20.test1, bzImage-2.4.20.test2 etc. I have one for each version. If my latest turns out not to be so great, I back up to another, try again. If you have no bootable kernel, you may have to boot from another distro and chroot in to compile another. You may still have a copy of the old kernel in /usr/src/linux.2.4<fill correct version here>/arch/i386/boot/bzImage. That should be the old 2.4.** version. That will let you boot and redo the 2.6. That help any? I'm confusing sometimes. :scratch: Later :D :D :D :D |
so to fix this to need to chnage something with
Code:
root= |
Boot disks or Boot CDs can also help
Quote:
Personally, I use many different distributions. When in a jam, I often find I can at least boot to some basic setup by using any of the boot floppies I've created, even if they're from another distro. I can also use other rescue CDs. Anything that's bootable can at least get me to the disk, then I can make whatever other adjustments may be necessary, then get back to the system I intend to work on. Worst case - install or reinstall the system in question, then recover from backups to get data back. To install or reinstall GRUB to the Master Boot Record (MBR): Boot the first install CD to rescue mode. This will mount your root partition at /mnt/sysimage. Type the following commands and press Enter after each command: chroot /mnt/sysimage # (/ will now be /mnt/sysimage) grub-install |
thank you very much but what i also need to know is, when iget out of this jam, how do i fix this problem?
|
right now im in the old 2.4 kernel( used my boot disk) now how must i set up 2.6 to boot?(using Grub)
|
my Menu file for grub
Code:
title Red Hat Linux (2.6.0) |
This part
Code:
title Red Hat Linux (2.6.0) Code:
title Red Hat Linux (2.6.0) cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.6.test1 That way you can save the old copy and name it what you want. Does that help? I don't use Redhat and am not real familiar with the grub conf file for Redhat. :scratch: :scratch: :D :D :D |
still getting a problem
:confused: :( |
ok i am going to try to to compile again this time i am going to load my old kernel config and she where that gets me
|
All times are GMT -5. The time now is 06:27 AM. |