Mon, 23 Jun 2008 15:00:41 -0400
"Matthew R. Lee" <[EMAIL PROTECTED]> wrote:

> On Thursday 19 June 2008 06:07:27 dhk wrote:
> > Matthew R. Lee wrote:
> > > On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote:
> > >> On Wed, 18 Jun 2008 17:34:35 -0400
> > >>
> > >> "Matthew R. Lee" <[EMAIL PROTECTED]> wrote:
> > >>> I've just compiled a new kernel. I then mounted the boot
> > >>> partition, copied the new bzimage across, along with .config
> > >>> and system.map. I then edited the grub.conf But when I reboot
> > >>> it offers me the same options as in the old grub.conf not the
> > >>> new one. I must have missed a step somewhere, but I can't think
> > >>> where. Can anyone point me in the right direction Thanks
> > >>> Matt
> > >>
> > >> Did you check whether you've really overwritten the old
> > >> grub.conf? Is the file in the right directory (/boot/grub/)? Is
> > >> there a symlink menu.lst on grub.conf?
> > >> Do you really boot from that partition?
> > >
> > > the file /boot/grub/grub.conf has the new config.
> > > menu.lst is a symlink to grub.conf
> > > /boot is the mount point for /dev/sda1 the boot partition
> > > the only thing that I changed is to replace the oldest kernel
> > > with the newest. The order shouldn't make any difference, I want
> > > the default to be my current working kernel. I want to test the
> > > new kernel before I make it the default. Point is that this setup
> > > was working previously and has done so since I started using
> > > gentoo.  I have checked to make sure that /dev/sda1 was really
> > > mounted at /boot when I copied everything across, and it was. So
> > > I don't know what has gone wrong.
> > >
> > > Matt
> >
> > Did you run grub-install?
> 
> No, and before I do, given the warnings in the manual, I want to make
> sure I don't screw up
> I have a standard partition layout with three partitions sda1 (boot)
> sda2 (swap) sda3 (the rest). sda1 is the bootable partition
> 
> So I issue the command grub-instal /dev/sda
> Correct??
> 
> Thanks
> Matt 
> 

Yes, grub-install /dev/sda should do it. Just make sure /boot is mounted


Thanks

Miika

Attachment: signature.asc
Description: PGP signature

Reply via email to