View previous topic :: View next topic |
Author |
Message |
Johnyp Guru


Joined: 23 Mar 2005 Posts: 301
|
Posted: Thu Oct 06, 2005 11:14 pm Post subject: Remote Kernel upgrade and Grub trouble. Anyone???? |
|
|
Hey all
I'm trying to upgrade my kernel remotely. I was reading gentoo's guide on remote upgrade, but i got confused with the grub setup. I can't figure out if i do need to change my root (hd0,0) to root (hd1,0) and root (hd2,0). Or if i should leave it as it is. My kernels and system.map's (new and old) are located in /boot (which is /dev/hde1 )
Can you help me figure this out?
here is how my grub.conf looks:
Code: | default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo 2.6.9-r1
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hde3
video=vesafb-tng:mtrr,ywrap,800x600-32@60
|
and here is what the guide tells me to do:
Code: | default saved # This is important!
timeout 10
fallback 1 # This is important!
title A
root (hd1,0)
kernel /kernel-2.6.7
savedefault fallback # This is important!
title B
root (hd2,0)
kernel /kernel-2.6.5
savedefault
|
Would this be correct for my configuration?
Code: | default saved
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
video=vesafb-tng:mtrr,ywrap,800x600-32@60
fallback 1
title=2.6.12-gentoo-r10
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hde3
savedefault fallback
title=2.6.9-gentoo-r1
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hde3
savedefault |
Just noticed that after i have just compiled my new kernel today in preparation for a remote install, 2.6.13-gentoo-r3 made it into portage. Grrrrr _________________ Gentoo Unanswered Questions- Give it a try!
Last edited by Johnyp on Fri Oct 07, 2005 2:25 am; edited 1 time in total |
|
Back to top |
|
 |
Johnyp Guru


Joined: 23 Mar 2005 Posts: 301
|
|
Back to top |
|
 |
CodAv Apprentice

Joined: 09 May 2004 Posts: 170 Location: Essen, Germany
|
Posted: Fri Oct 07, 2005 10:58 am Post subject: |
|
|
Normally, you don't need to change your GRUB config if you upgrade your kernel. Normally, you point your kernel to /vmlinuz, and a "make install" of the kernel will take care of everything. If you have a rescue console available by your provider, you don't need the fallback option, since you can recompile your kernel in a chroot environment if necessary.
the root(hd0,0) defines the boot partition, and this will not change on a kernel update. _________________ Debian is available in three different versions: rusty, stale and broken. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|