Help - Search - Members - Calendar
Full Version: Remote Kernel Upgrade
Linuxhelp > Support > Technical Support
I have a RH 7.2 server and would like to upgrade the kernel to a special kernel.
I have lilo. The problem is that this computer is a dedicated hosted server that I have no access to except the ability to tell support to reboot it anything else incurs a hefty supprt cost sad.gif

So is there a way in lilo to tell lilo to boot the next time only with a given kernel, and then subsequent reboots go to the old and trusted kernel.
The Idea is if the new kernel boots and works I can then change the default, if it does not, then automatically on the next reboot it will revert to old and trusted kernel.

Any help will be much apprecaited. smile.gif

the safest way would be to use SSH to login to the remote computer, and you can then update kernel, update system, make settings etc... [in console mode], but if you enable X forwarding you can run mozilla or other graphical tools on that computer [if installed] , download stuff, install stuff.

you'll need SSHD as a service enabled on that server computer

and also you will need to modify this file on both server and client

the following line should be uncomented

#Protocol 2,1

like this

Protocol 2,1

and then remove protocol 1 [it has known vurnabilities, DON'T USE PROTOCOL 1, ONLY USE PROTOCOL 2, never EVER-EVER login to a linux computer [or any other] with TELNET, it transports password in plain text.

so you're protocol line should look like this

Protocol 2

then once SSHD is enabled at server

type :

ssh ip_adress_of_the_server

then the following will come out :

[root@demon /]# ssh
The authenticity of host ' (' can't be established.
RSA key fingerprint is 6f:a3:bb:1e:fa:d7:7d:63:8e:da:9c:57:56:97:e8:9e.
Are you sure you want to continue connecting (yes/no)?

you should say yes

then the following will show up

Warning: Permanently added '' (RSA) to the list of known hosts.
root@'s password:

enter the root pasword [the one that you used on the SERVER computer for login]

Last login: Tue Mar 23 11:05:26 2004 from
[root@thor root]#

and we are there, have fun smile.gif

once you're done type


to logout from the server

Robert B
here is

the sshd_config file [only the important lines]

Port 22 [doesn't matter if it's commented, this is used by default, leave it as it is]

X11Forwarding yes [make sure you enable this on both CLIENT,SERVER, otherwise you won't be able to use X based tools on you're server]

Subsystem sftp /usr/libexec/openssh/sftp-server

Robert B
And here is a short explanation of /etc/grub/menu.lst file

default=0 [with this you tell the system wich kernel / system it will boot as default, in this example 0 means Fedora Core1 and 1 would mean DOS [WindowsXP] ]
timeout=10 [with this you can tell how much will grub wait till it boots the default choice , if you wan't you can set this to 1 to speed up things, BUT NEVER DO THIS UNLESS YOU'RE 99.99% SURE THAT THE NEW KERNEL WORKS AS IT SHOULD!!!]
splashimage=(hd1,7)/grub/splash.xpm.gz [don't touch]
title Fedora Core (2.4.22-1.2174.nptl) [you can change it to whatever name you want]
root (hd1,7) [don't touch]
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdd=ide-scsi rhgb vga=792 [now this might look different to you , but vga=792 I reccomend since it gives you a higher resolution , you can see more stuff in console]
initrd /initrd-2.4.22-1.2174.nptl.img [don't touch]
title DOS [you can change this to whatever name you want]
rootnoverify (hd0,0) [don't touch]
chainloader +1 [don't touch]

Robert B
I don't know a way to do what you want ... but if you have another machine locally ... you can move the kernel down onto that machine and test boot it there ...

See this thread
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.