Re: kernel recompile...questions

Rusty Brooks (rbrooks@utdallas.edu)
Fri, 10 Jul 1998 16:38:20 -0500 (CDT)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-851401618-900106700=:15847
Content-Type: TEXT/PLAIN; charset=US-ASCII

1. It's common to have /usr/src/linux be a link to some other directory,
such s /usr/src/linux-30 You should see if this is the case. If it is,
you can unpack the new kernel into /usr/src/linux-34 and just remove and
remake the link (ln -s /usr/local/linux34 /usr/src/linux. If
/usr/src/linux is not a link, I recomment moving it to /usr/src/linux30,
and going from there.

2. To reserve the ability to boot to the old kernel, make a backup copy of
the kernel (cp it to /vmlinuz.old or something). Edit /etc/lilo.conf, and
duplicate the entry for your linux partition. Edit it to pointo to
vmlinuz.old and call it linux.old. At this point vmlinuz.old and vmlinuz
are the same thing, but later when you recompile, vmlinuz.old will be the
backup copy. MAKE SURE YOU RUN LILO after this. Changing the contents of
/vmlinuz, etc, will NOT change the boot kernel unless you run /sbin/lilo.
If it appears that your changes are not "taking" then first check
"uname -a" to look at the build date of the kernel. If it doesn't match
the time you recompiled, then the new kernel is not installed.

attached is two lilo.conf files, lilo.conf and lilo.conf.new. The old one
is my old lilo.conf, before adding the backup kernel, and the new one
includes the backup kernel. Yours should look very similar to this.

Before running lilo on the lilo.conf.new, make sure to copy vmlinuz to
vmlinuz.old (copy, not MOVE!!)

Good luck!

---559023410-851401618-900106700=:15847
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="lilo.conf"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.3.96.980710163820.15847C@inca.utdallas.edu>
Content-Description: lilo.conf

Ym9vdD0vZGV2L3NkYQ0KbWFwPS9ib290L21hcA0KaW5zdGFsbD0vYm9vdC9i
b290LmINCnByb21wdA0KdGltZW91dD0xDQoNCmltYWdlPS92bWxpbnV6DQoJ
bGFiZWw9bGludXgNCglyb290PS9kZXYvc2RhMg0KCWluaXRyZD0vYm9vdC9p
bml0cmQNCglyZWFkLW9ubHkNCg0K
---559023410-851401618-900106700=:15847
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="lilo.conf.new"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.3.96.980710163820.15847D@inca.utdallas.edu>
Content-Description: lilo.conf.new

Ym9vdD0vZGV2L3NkYQ0KbWFwPS9ib290L21hcA0KaW5zdGFsbD0vYm9vdC9i
b290LmINCnByb21wdA0KdGltZW91dD0xDQoNCmltYWdlPS92bWxpbnV6DQoJ
bGFiZWw9bGludXgNCglyb290PS9kZXYvc2RhMg0KCWluaXRyZD0vYm9vdC9p
bml0cmQNCglyZWFkLW9ubHkNCg0KaW1hZ2U9L3ZtbGludXoub2xkDQoJbGFi
ZWw9bGludXgub2xkDQoJcm9vdD0vZGV2L3NkYTINCglpbml0cmQ9L2Jvb3Qv
aW5pdHJkDQoJcmVhZC1vbmx5DQoNCg==
---559023410-851401618-900106700=:15847--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html