]> ] (snip)
]> ]make xconfig
]> ]make dep clean modules modules_install install
]> ]reboot
]> ]
]> ]Funnily enough, I can now run vmware-config fine.
]
]And a note to the beginners out there:
]
] DON'T DO THIS AT HOME.
]
]If your new kernel doesn't boot, you won't be able to
]revert back to the old one. You'll probably have to
]muck around with rescue disks, or re-install from the
]distribution CD.
No, you definately don't do this unless you know what you are doing.
However, to help you not have to use a rescue disk, you can try the
following...
Since RedHat installs a kernel for you, and calls it something silly like
vmlinux-2.4.14-5, your lilo.conf is setup to point to that file.
If you edit your /etc/lilo.conf and make it look like the following...
----- begin lilo.conf -----
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
image=/boot/vmlinuz
label=linux
read-only
root=/dev/hda1
image=/boot/vmlinuz-2.2.14
label=stable
read-only
root=/dev/hda1
------ end lilo.conf ------
The important bits here are the two blocks beginning with image=
The first one is the default one. It points to /boot/vmlinuz, which is the
kernel image that is created if you download a new kernel and install it.
The second one points to the original Red Hat kernel. So, if I compile a
new kernel and it completely dies on me and doesn't boot, I can still get
back into my system using the original RedHat kernel.
When the LILO prompt appears, I can either wait 5 seconds (or hit return)
for the default kernel (vmlinuz), or I can type in which image I want.
Hitting [TAB] will show me what images are available. In this case, I will
be presented with
linux stable
(see the label= line in each section!!!). Typing 'stable' will boot me to
my old kernel config.
Note that if you have a RedHat system and you want to download and compile a
new kernel, you will have to change the /etc/lilo.conf file as the new
kernel will produce an image called 'vmlinuz', and the RedHat default
lilo.conf will still be pointing at 'vmlinuz-2.2.14', or whatever.
Garyu
**********************************************************************
This e-mail and any attachment contains information which is private
and confidential and is intended for the addressee only.
If you are not an addressee, you are not authorised to read, copy or
use the e-mail or any attachment.
If you have received this e-mail in error, please notify the sender
by return e-mail and then destroy it.
**********************************************************************
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!