From: "prince" <prince@resoftcorp.com>
To: netfilter@lists.netfilter.org
Subject: How do I boot from different kernel when I don't have access to the console?
Date: Wed, 14 Jan 2004 12:08:51 -0800 [thread overview]
Message-ID: <20040114200851.M90054@resoftcorp.com> (raw)
In-Reply-To: <00a801c3da5f$891ec7f0$23c051cb@ns3.worldcall.net.pk>
Recently I downloaded some kernel*.rpm (Linux i386) from
https://rhn.redhat.com/errata/RHSA-2003-417.html and I installed all the
rpms using "rpm -iUvh kernel*.rpm". My mistake. I should have used "rpm -
Fvh". Now I do not know what kernel was there previously. From the following
output it looks, I had 2.4.20-18.9smp earlier.
% ls -l /lib/modules/
total 12
drwxr-xr-x 3 root root 4096 Jan 6 15:03 2.4.20-18.9smp
drwxr-xr-x 3 root root 4096 Jan 12 16:01 2.4.20-28.9
drwxr-xr-x 3 root root 4096 Jan 6 15:02 2.4.20-28.9BOOT
% rpm -qa | grep kernel
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-28.9
kernel-BOOT-2.4.20-28.9
kernel-doc-2.4.20-28.9
kernel-source-2.4.20-28.9
Now, whenever I boot the system it comes up with "2.4.20-28.9BOOT" which
doesn't have iptables module.
% lsmod
Password:
Module Size Used by Not tainted
e1000 54528 1
ext3 61280 2
jbd 46804 2 [ext3]
3w-xxxx 36192 3
sd_mod 11916 6
scsi_mod 63416 2 [3w-xxxx sd_mod]
% uname -a
Linux dev9.my-comp.com 2.4.20-28.9BOOT #1 Thu Dec 18 13:27:13 EST 2003 i686
i686 i386 GNU/Linux
I have ip tables in 2.4.20-28.9
% ls -l /lib/modules/2.4.20-28.9/kernel/net/
total 68
drwxr-xr-x 2 root root 4096 Jan 6 15:02 8021q
drwxr-xr-x 2 root root 4096 Jan 6 15:02 appletalk
drwxr-xr-x 2 root root 4096 Jan 6 15:02 atm
drwxr-xr-x 2 root root 4096 Jan 6 15:02 ax25
drwxr-xr-x 4 root root 4096 Jan 6 15:02 bluetooth
drwxr-xr-x 2 root root 4096 Jan 6 15:02 bridge
drwxr-xr-x 2 root root 4096 Jan 6 15:02 decnet
drwxr-xr-x 3 root root 4096 Jan 6 15:02 ipv4
drwxr-xr-x 3 root root 4096 Jan 6 15:02 ipv6
drwxr-xr-x 2 root root 4096 Jan 6 15:02 ipx
drwxr-xr-x 5 root root 4096 Jan 6 15:02 irda
drwxr-xr-x 2 root root 4096 Jan 6 15:02 netrom
drwxr-xr-x 2 root root 4096 Jan 6 15:02 rose
drwxr-xr-x 2 root root 4096 Jan 6 15:02 sched
drwxr-xr-x 2 root root 4096 Jan 6 15:02 sunrpc
drwxr-xr-x 2 root root 4096 Jan 6 15:02 tux
drwxr-xr-x 2 root root 4096 Jan 6 15:02 wanrouter
/lib/modules/2.4.20-28.9/kernel/net/ipv4/netfilter/ip_tables.o
But not under 2.4.20-28.9BOOT/ (there is no ipv?)
% ls -l /lib/modules/2.4.20-28.9BOOT/kernel/net/
total 24
drwxr-xr-x 2 root root 4096 Jan 6 15:02 8021q
drwxr-xr-x 2 root root 4096 Jan 6 15:02 ax25
drwxr-xr-x 4 root root 4096 Jan 6 15:02 bluetooth
drwxr-xr-x 2 root root 4096 Jan 6 15:02 netrom
drwxr-xr-x 2 root root 4096 Jan 6 15:02 rose
drwxr-xr-x 2 root root 4096 Jan 6 15:02 sunrpc
Now, I only have remote access to this server and I don't have access to the
console at this time.
Is there a way, I can boot the system with "2.4.20-28.9" instead of "2.4.20-
28.9BOOT". If the system does not come up properly, I should be able to
reboot with "2.4.20-28.9BOOT" which is working (but no iptables). I have only
remote power cycle capability.
Could you please suggest a way to get this done?
Note: This is follow-up to the question I earlier posted on "iptables
v1.2.7a: can't initialize iptables table `filter':"
thanks,
Prince.
next prev parent reply other threads:[~2004-01-14 20:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 9:22 kernel 2.6.x and iptables Muhammad Talha
2004-01-13 10:03 ` Unknown, Alistair Tonner
[not found] ` <200401130503.39528.Alistair Tonner <>
2004-01-13 10:24 ` Sven Schuster
2004-01-13 11:53 ` Muhammad Talha
2004-01-13 12:11 ` Muhammad Talha
2004-01-13 13:38 ` Unknown, Alistair Tonner
[not found] ` <200401130838.47327.Alistair Tonner <>
2004-01-13 15:33 ` Muhammad Talha
2004-01-13 21:15 ` Joel Newkirk
2004-01-14 5:30 ` Muhammad Talha
2004-01-14 20:08 ` prince [this message]
2004-01-14 20:14 ` How do I boot from different kernel when I don't have access to the console? prince
2004-01-19 23:40 ` Ted Kaczmarek
2004-01-20 3:59 ` Arnt Karlsen
2004-01-21 6:03 ` prince
2004-01-22 19:02 ` Ranjeet Shetye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040114200851.M90054@resoftcorp.com \
--to=prince@resoftcorp.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox