bormant написал:
Да и содержимое /etc/lilo.cfg может снять часть вопросов.
Такая уж особенность lilo -- записывается в загрузчик последовательность секторов, в которых лежит ядро по состоянию на момент выполнения команды lilo. Пока в тех секторах лежит ядро и пока не перезаписан загрузчик -- отрабатывает то, что было на момент выполнения lilo.
А смотреть нужно в /boot (или что там в /etc/lilo.conf прописано) -- ядро, бинарное, которое загружается, там обычно лежит.
Если в том, что любой root систему поломать может -- так это так изначально задумано.
[console]cat /etc/lilo.cfg
cat: /etc/lilo.cfg: Нет такого файла или каталога
[/console]
/etc/lilo.conf
Показать
[console]
cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=1"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
# Linux bootable partition config ends
image = /boot/vmlinuz.old
root = /dev/sda3
label = linux_2_6_33_4
read-only
[/console]
Нет, это всё таки не проделки рута, а "бага", после пересборки ядра make, и lilo автоматически не изменили ссылку. Поэтому, спасибо форумчанинам, пришлось "допиливать" вручную.
[console]ls -l /usr/src/linux
lrwxrwxrwx 1 root root 16 2011-02-07 17:21 /usr/src/linux -> linux-2.6.38-rc2
[/console]
правда тут всё запутано чрезвычайно, словно какой-то детективный роман:
Ядро же у меня такое
[console]Linux ne_spit 2.6.38-rc2my [/console]
а просмотр /usr/src показывает что
[console]ls -l /usr/src/
итого 2
drwxr-xr-x 4 root root 96 2007-07-30 13:54 dropline-build-system
drwxr-xr-x 2 root root 80 2009-09-30 08:49 iftop-0.17
lrwxrwxrwx 1 root root 16 2011-02-07 17:21 linux -> linux-2.6.38-rc2
drwxr-xr-x 24 root root 928 2010-05-13 06:25 linux-2.6.33.4
drwxr-xr-x 25 ddclient users 1824 2011-02-07 00:35 linux-2.6.38-rc2
drwxr-xr-x 2 root root 80 2009-09-13 00:50 openal-1.8.466
drwxr-xr-x 2 root root 208 2009-09-20 13:01 portsentry-1.2
drwxr-xr-x 2 root root 200 2010-01-15 23:15 wine-1.1.36
[/console]
такого ядра в системе - нет. Куда делся труп, спрашивается?