[KLUG Members] I messed up my Kernel install

Peter Buxton members@kalamazoolinux.org
Thu, 19 Feb 2004 22:48:00 -0500


On Thu, Feb 19, 2004 at 02:38:26PM -0500, Richard Harding was only escaped
   alone to tell thee:

> I installed SuSE 9 on this nice new IBM last night and today attempted
> to recompile the kernel to 2.6.3. I got things to go well and made it
> through a make install. I walked away and once I came back it was
> done.  I then decided to reboot and once I could not boot back up
> realized I forgot the make module_install step.

NEI. Not enough information. What part exactly, which you need to boot,
did you compile as a module? And did you use an initrd? I've forgotten
`make modules_install`, but my system's init scripts merely started
screaming. ;-)

> So my question is now how can I get back to my system to make my
> modules and complete the kernel upgrade? Any and all help is
> appreciated. I know I can boot from a install disk, but I am unsure
> where to go from there.

GRUB comes with TAB-completion not unlike bash. If you can edit the
extant kernel command line, you can delete back to '/boot/vmlinuz-' and
see what else is there.

I don't use `make install`, I like to manage my /boot and menu.lst
myself. But the Linux Makefile doesn't overwrite GRUB's menu.lst. I
does, however, create new symbolic links from System.map, config and
vmlinuz to the new kernel files. So your old stuff should be there.

-- 
Would you rather live as a normal citizen and no demigod
in Roddenberry's Federation or Lucas' Empire? -- D. Brin