Yeah - grub understands file systems, so can boot only kernels located on filesystems that it knows about (ext2/3 at least, reiserfs I think). Lilo takes the kernel image (from any file system) and stores the image into the MBR. Or something like that. Eitherway, lilo needs to be told to re-grab the image from the bzImage file & plonk in down whereever it reads it from.
Brad > -----Original Message----- > From: Nick Rout [mailto:[EMAIL PROTECTED] > Sent: Monday, 7 July 2003 1:04 p.m. > To: [EMAIL PROTECTED] > Subject: Re: D'oh!!! (was Re(2): NVidia Drivers and Gentoo) > > > am I getting this right - you need to rerun lilo even though > you call the new kernel exactly the same name? > > that makes no sense to me, grub just boots the file you point > it at, if you change to a new kernel you backup your old > kernel and copy the new one where it used to be. (if you are > a real man you forget the first > part) > > mv /boot/bzImage /boot/bzImage.1 (or 2 or whatever you are up > to) cp /usr/src/linux/arch/i386/boot/bzImage /boot > > and reboot > > If the new kernel doesn't boot, you can run grub by hand, ie > type in the boot commands at the grub prompt, or you can edit > the boot line (at the grub prompt hit "e" to edit, scroll to > the the boot kernel line, hit "e" again, edit it to change > bzImage to bzImage.1, hit <enter>, hit "b" (for > boot) and away you go with the old kernel. > > > > > On Mon, 07 Jul 2003 12:37:42 +1200 > Hamish McBrearty <[EMAIL PROTECTED]> wrote: > > > Who's the idiot who didn't rerun lilo after recompiling his kernel > > with mtrr support??? Hey, at least I can say I learned > something from > > this. :o) > > > > > > [EMAIL PROTECTED] writes: > > >On Thu, 03 Jul 2003 23:24, you wrote: > > >> On Thu, Jul 03, 2003 at 09:56:42PM +1200, Hamish McBrearty wrote: > > >> > /proc/mtrr does not exist, that's what's causing the install > > >> > script to die. > > >> > > >> It sounds like you're missing the 'mtrr' driver. > > >> > > >> > bash-2.05b$ cat /proc/cpuinfo > > >> > flags : fpu vme de pse tsc msr pae mce cx8 > apic sep mtrr pge > > >> > mca > > >> > > >> > > >> ^^^^ > > >> > > >> The Linux kernel believes that your CPU has MTRR support. > > >> > > >> > I might try the make mrproper idea from Nick, but that > might have > > >> > to wait until tomorrow. Friends don't let friends drink and > > >> > compile :o) > > >> > > >> Are you sure you didn't build the 'mtrr' driver as a module? If > > >> you did, do a 'modprobe mtrr' and see if '/proc/mtrr' > exists after > > >> that. > > > > > >mtrr support is not available via a module. ( in 2.4.21 anyway ) > > > > > >The setting is in the "Processor Type and Features" section. > > > > > >-- > > >C. S. > > > > > > > > > > > > > > ------------------------------------------------- > > Hamish McBrearty MCSE MCSA > > Network Engineer > > Rangi Ruru Girls' School > > 59 Hewitts Road > > Christchurch > > NEW ZEALAND > > Ph 03 355-6099 > > Fax 03 355-6027 > > CELL 021 999770 > > E-Mail: [EMAIL PROTECTED] > > -------------------------------------------------- > > > > > > >
