http://www.linuxplanet.com/linuxplanet/tutorials/6865/1
Upgrading a Motherboard in Linux: Kernel PanicKernel Panic, Meet Weeping UserOctober 6, 2009 I spent the weekend installing a new motherboard in my audio/video production computer. The old motherboard had a dead memory slot, so it was removed and converted into a skeet target. The new board is an ECS A740GM-M for AMD processors. What should have been a 30-minute chore turned into a vexing showstopper, because the Linux kernel in 64 Studio didn't get along with the new board and panicked on boot. Kernel Panic, Meet Weeping UserSwapping in a new motherboard is usually a painless task on Linux systems. The most common problem is accidentally changing the hard drive order on a multiple-drive system, and then it won't boot because GRUB can't find the drives. Easy to fix, just plug the drives into the correct slots.This a different problem. Here is a photo of the screen messages, which are typically cryptic and unhelpful.
While we're on the subject of unhelpful tech, when is the x86 BIOS going to catch up to its decades-old competitors, and provide a BIOS that includes some useful boot management and troubleshooting tools? Like capturing the boot messages, and the ability to step through the whole boot process one step at a time. There are a couple of ways to hack around this, such as monitoring bootup from a serial terminal, or buying and installing a PC Weasel card, which costs $350. Having this functionality integrated into the x86 PC BIOS would be a great help. The messages indicate a kernel panic. The system boots normally up to the GRUB menu, and then when it gets to the kernel line it panics and requires a hard restart. Kubuntu 8.04 is installed on the same box, and it boots and runs fine. In fact it has several kernels, and they're all happy with the new board:
So I did, and it gave me a usable 64 Studio system. Here are the steps for copying a kernel from a different Linux installation:
Old GRUB vs. New GRUBOne more note-- the GRUB examples are for old GRUB 0.97. GRUB 2.0 is starting to appear in distros, and it is very different to configure, an over-complicated spaghetti hash. Watch this space for a GRUB 2.0 tutorial.
Carla Schroder is the author of the Linux Cookbook and the Linux Networking Cookbook (O'Reilly Media), the upcoming "Building a Digital Recording Studio with Audacity" (NoStarch Press), a lifelong book lover, and the managing editor of LinuxPlanet and Linux Today. |