1 |
Mon, 23 Jun 2008 15:00:41 -0400 |
2 |
"Matthew R. Lee" <gentoo@××××××××××.org> wrote: |
3 |
|
4 |
> On Thursday 19 June 2008 06:07:27 dhk wrote: |
5 |
> > Matthew R. Lee wrote: |
6 |
> > > On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote: |
7 |
> > >> On Wed, 18 Jun 2008 17:34:35 -0400 |
8 |
> > >> |
9 |
> > >> "Matthew R. Lee" <gentoo@××××××××××.org> wrote: |
10 |
> > >>> I've just compiled a new kernel. I then mounted the boot |
11 |
> > >>> partition, copied the new bzimage across, along with .config |
12 |
> > >>> and system.map. I then edited the grub.conf But when I reboot |
13 |
> > >>> it offers me the same options as in the old grub.conf not the |
14 |
> > >>> new one. I must have missed a step somewhere, but I can't think |
15 |
> > >>> where. Can anyone point me in the right direction Thanks |
16 |
> > >>> Matt |
17 |
> > >> |
18 |
> > >> Did you check whether you've really overwritten the old |
19 |
> > >> grub.conf? Is the file in the right directory (/boot/grub/)? Is |
20 |
> > >> there a symlink menu.lst on grub.conf? |
21 |
> > >> Do you really boot from that partition? |
22 |
> > > |
23 |
> > > the file /boot/grub/grub.conf has the new config. |
24 |
> > > menu.lst is a symlink to grub.conf |
25 |
> > > /boot is the mount point for /dev/sda1 the boot partition |
26 |
> > > the only thing that I changed is to replace the oldest kernel |
27 |
> > > with the newest. The order shouldn't make any difference, I want |
28 |
> > > the default to be my current working kernel. I want to test the |
29 |
> > > new kernel before I make it the default. Point is that this setup |
30 |
> > > was working previously and has done so since I started using |
31 |
> > > gentoo. I have checked to make sure that /dev/sda1 was really |
32 |
> > > mounted at /boot when I copied everything across, and it was. So |
33 |
> > > I don't know what has gone wrong. |
34 |
> > > |
35 |
> > > Matt |
36 |
> > |
37 |
> > Did you run grub-install? |
38 |
> |
39 |
> No, and before I do, given the warnings in the manual, I want to make |
40 |
> sure I don't screw up |
41 |
> I have a standard partition layout with three partitions sda1 (boot) |
42 |
> sda2 (swap) sda3 (the rest). sda1 is the bootable partition |
43 |
> |
44 |
> So I issue the command grub-instal /dev/sda |
45 |
> Correct?? |
46 |
> |
47 |
> Thanks |
48 |
> Matt |
49 |
> |
50 |
|
51 |
Yes, grub-install /dev/sda should do it. Just make sure /boot is mounted |
52 |
|
53 |
|
54 |
Thanks |
55 |
|
56 |
Miika |