RE: Shutdown during kernel upgrade using aptitude
On Wed, 26 Jan 2005, J F wrote:
SOLVED:
ls -l /vmlinuz
lrwxrwxrwx 1 root root 23 Jan 7 15:33 /vmlinuz -> boot/vmlinuz-2.6.9-2-k7
Turns out that somehow /vmlinuz was not a link but a file containing a
specific version of vmlinuz. By deleting the file, and putting in a
link aptitude can now update the kernel. Also, "can't find file
/lib/modules/2.6.9-1-k7/modules.dep<br>at boot time" error message is
now gone away.
That could be a bug.
lilo should be able to see /vmlinuz as a file (I did this until about
1997).
If you have an old system and have /boot as a seperate filesystem you may
be running into an ancient problem where the kernel had to be wholly
inside the first 1024 cylinders. A common way to ensure this was to put
a small /boot filesystem at the start of the disk and put the kernel in
there.
Rob
--
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: 416-669-3073 Email: rbrockway@opentrend.net http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (http://www.spi-inc.org)
Reply to: