* [sisyphus] Не устанавливается новое ядро (mkinitrd: Unable to detect modprobe type...)
@ 2012-09-04 8:54 Vladimir Istrati
2012-09-04 9:06 ` REAL
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Istrati @ 2012-09-04 8:54 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Добрый день!
Давно не обновлял ядро, а сегодня попытка сделать это (update-kernel), привела
к следующему:
......................
Running /usr/lib/rpm/posttrans-filetriggers
mkinitrd: Unable to detect modprobe type (modutils or module-init-tools)
Fatal: open /boot/initrd.img: No such file or directory
.........................................
И, соответственно:
[root@bob ~]# ls -l /boot
итого 17032
-rw-r--r-- 1 root root 512 апр 22 2008 boot.0800
-rw-r--r-- 1 root root 512 окт 22 2010 boot.0810
-rw-r--r-- 1 root root 147026 июн 25 20:01 config-3.4.4-std-def-alt1
-rw-r--r-- 1 root root 147026 июл 29 19:38 config-3.4.7-std-def-alt1
-rw-r--r-- 1 root root 149819 авг 29 23:14 config-3.5.3-std-def-alt1
-rw------- 1 root root 923829 июн 26 08:53 initrd-3.4.4-std-def-alt1.img
-rw------- 1 root root 2646627 авг 23 11:13 initrd-3.4.7-std-def-alt1.img
lrwxrwxrwx 1 root root 29 сен 4 11:27 initrd.img -> initrd-3.5.3-std-
def-alt1.img
lrwxrwxrwx 1 root root 29 сен 4 11:27 initrd-std-def.img ->
initrd-3.5.3-std-def-alt1.img
-rw------- 1 root root 300032 авг 30 10:30 map
-rw-r--r-- 1 root root 82756 окт 2 2011 memtest-4.0a.bin
drwxr-xr-x 4 root root 4096 май 24 2011 splash
-rw-r--r-- 1 root root 1658446 июн 25 20:12 System.map-3.4.4-std-def-alt1
-rw-r--r-- 1 root root 1658652 июл 29 19:50 System.map-3.4.7-std-def-alt1
-rw-r--r-- 1 root root 1676421 авг 29 23:26 System.map-3.5.3-std-def-alt1
lrwxrwxrwx 1 root root 26 сен 4 11:27 vmlinuz -> vmlinuz-3.5.3-std-def-
alt1
-rw-r--r-- 1 root root 2661200 июн 25 20:12 vmlinuz-3.4.4-std-def-alt1
-rw-r--r-- 1 root root 2661440 июл 29 19:50 vmlinuz-3.4.7-std-def-alt1
-rw-r--r-- 1 root root 2640080 авг 29 23:26 vmlinuz-3.5.3-std-def-alt1
lrwxrwxrwx 1 root root 26 сен 4 11:27 vmlinuz-std-def -> vmlinuz-3.5.3-
std-def-alt1
[root@bob etc]# rpm -qa | grep module-init
module-init-tools-initramfs-3.16-alt6
[root@bob ~]# rpm -qa | grep make-initrd
make-initrd-0.7.9-alt1
[root@bob ~]# rpm -qa | grep mkinitrd
mkinitrd-busybox-1.3.2-alt1
mkinitrd-initramfs-3.0.11-alt1
mkinitrd-3.0.11-alt1
Чего не хватает? Что лишнее?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] Не устанавливается новое ядро (mkinitrd: Unable to detect modprobe type...)
2012-09-04 8:54 [sisyphus] Не устанавливается новое ядро (mkinitrd: Unable to detect modprobe type...) Vladimir Istrati
@ 2012-09-04 9:06 ` REAL
2012-09-04 9:14 ` Vladimir Istrati
0 siblings, 1 reply; 3+ messages in thread
From: REAL @ 2012-09-04 9:06 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
04.09.2012 15:54, Vladimir Istrati пишет:
> Давно не обновлял ядро, а сегодня попытка сделать это (update-kernel), привела
> к следующему:
>
> ......................
> Running /usr/lib/rpm/posttrans-filetriggers
> mkinitrd: Unable to detect modprobe type (modutils or module-init-tools)
> Fatal: open /boot/initrd.img: No such file or directory
См. /etc/sysconfig/installkernel
Там должно быть:
INITRD_GENERATOR=make-initrd
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] Не устанавливается новое ядро (mkinitrd: Unable to detect modprobe type...)
2012-09-04 9:06 ` REAL
@ 2012-09-04 9:14 ` Vladimir Istrati
0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Istrati @ 2012-09-04 9:14 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Вторник 04 сентября 2012 16:06:56 REAL wrote:
> 04.09.2012 15:54, Vladimir Istrati пишет:
> > Давно не обновлял ядро, а сегодня попытка сделать это (update-kernel),
> > привела к следующему:
> >
> > ......................
> > Running /usr/lib/rpm/posttrans-filetriggers
> > mkinitrd: Unable to detect modprobe type (modutils or module-init-tools)
> > Fatal: open /boot/initrd.img: No such file or directory
>
> См. /etc/sysconfig/installkernel
>
> Там должно быть:
>
> INITRD_GENERATOR=make-initrd
Таки - да!
[root@bob sysconfig]# cat /etc/sysconfig/installkernel
#INITRD_GENERATOR=make-initrd
#MKINITRD=/usr/sbin/mkinitrd-make-initrd
#INITRD_AUTOUPDATE=all
Убрал ремарки по образу installkernel.rpmnew:
[root@bob sysconfig]# cat /etc/sysconfig/installkernel.rpmnew
INITRD_GENERATOR=make-initrd
MKINITRD=/usr/sbin/mkinitrd-make-initrd
#INITRD_AUTOUPDATE=all
Все заработало!
Спасибо!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-04 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04 8:54 [sisyphus] Не устанавливается новое ядро (mkinitrd: Unable to detect modprobe type...) Vladimir Istrati
2012-09-04 9:06 ` REAL
2012-09-04 9:14 ` Vladimir Istrati
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git