Предыстория. Стоял Debian Etch с ядром 2.4 + Firebird 1.5 - возникла проблема - с какой то переодичностью начались биться базы. Решил обновить его до 2.0 хотя бы и Lenny. Поправил соурс лист на архив.дебиан, обновился до последних пакетов, поставил ядро 2.6.18 для 686, поправил lilo.conf Перезапускаюсь и ... местный энекейщик присылает мне текст загрузки
begin: Running /scripts/local-premount
done.
Usage: mod probe -и дальши пишуться ключи и х там много прописано потом
modprobe -r [-n] [-i] [v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]
mount: Cannont read /etc/fstab: No such file or directory
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/local-bottom ...
mount mounting /root/dev/ on /dev/.static/dev failed: No such file or directorymount
Done
mount mounting /sys om /root/sys failed: No such file or directorymount
mount mounting /proc on /root/proc failed: No such file or directorymount
Target filesystem doesn`t have /sbin/init
Старое ядро грузится без проблем. На системе стоит софтовый раид в зеркало
:~# fdisk -l
Disk /dev/md/0: 79.9 GB, 79998877696 bytes
2 heads, 4 sectors/track, 19530976 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/md/0p1 ? 233721421 254807611 84344761 69 Unknown
Partition 1 does not end on cylinder boundary.
/dev/md/0p2 ? 212689936 446425119 934940732+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/md/0p3 ? 322 322 0 74 Unknown
Partition 3 does not end on cylinder boundary.
/dev/md/0p4 360710145 360716696 26207+ 0 Empty
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/ide/host0/bus1/target0/lun0/disc: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus1/target0/lun0/part1 * 1 155010 78125008+ fd Linux raid autodetect
/dev/ide/host0/bus1/target0/lun0/part2 155011 158816 1918224 82 Linux swap / Solaris
Disk /dev/ide/host0/bus0/target0/lun0/disc: 81.9 GB, 81963220480 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 9726 78124063+ fd Linux raid autodetect
/dev/ide/host0/bus0/target0/lun0/part2 9727 9964 1911735 82 Linux swap / Solaris
:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/md/0 / ext3 errors=remount-ro 0 0
/dev/discs/disc0/part2 none swap sw 0 0
/dev/discs/disc1/part2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
По инету поискал, вроде пишут надо fsck -yv запускать, но что то побаиваюсь на рабочей то системе.
:~# fsck /
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/md/0 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? no
check aborted.
:/# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.
8139too
ide-scsi
sr_mod
sg
md
:~# cat /etc/lilo.conf
lba32
boot=/dev/md/0
root=/dev/md/0
install=menu
map=/boot/map
delay=20
vga=normal
default=Linux
image=/vmlinuz
label=Linux
initrd=/initrd.img
read-only
image=/vmlinuz.old
label=LinuxOLD
read-only
# restricted
# alias=1
image=/vmlinuz.old1
label=LinuxOLD1
read-only
optional
# restricted
# alias=2