From: "Шишков Евгений" <evgen@svi.pp.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Не включается dma-режим
Date: Tue, 11 Mar 2008 14:17:26 +0300
Message-ID: <47D66A46.5050106@svi.pp.ru> (raw)
In-Reply-To: <d77783290803110349t764eade8r49f20a9132d6bf31@mail.gmail.com>
Денис Черносов пишет:
>
> Ну в общем, все высказавшиеся правы. Чтобы меньше думать, можно сделать
> apt-reinstall версия_ядра
>
> Можно сделать только
> /sbin/installkernel 2.6.18-std-smp-alt7 (подставить свою версию ядра)
> Это postinstall скрипт. Тогда не придется скачивать пакет ядра заново и
> переписывать все файлы из него.
>
> Можно сделать только mkinitrd с соотв. параметрами.
>
> Как вариант для автоматизации:
> # var=`ls -l /boot/initrd.img | sed "s/.*initrd-\(.*\)\.img/\1/"`;
> mkinitrd -f /boot/initrd-$var.img $var
> ключ -f нужен для того, чтобы был переписан существующий образ.
>
> либо
> # var=`ls -l /boot/initrd.img | sed "s/.*initrd-\(.*\)\.img/\1/"`;
> installkernel $var
>
> какой из вариантов корректнее - не знаю, но подозреваю, что installkernel
Ух как.... Не проще ли?
Зайти в mc в папку boot, написать
mkinitrd, снести в командную initrd-2.6.18-std-smp-alt12.img
и дописать 2.6.18-std-smp-alt12. Получим:
mkinitrd initrd-2.6.18-std-smp-alt12.img 2.6.18-std-smp-alt12
Удаляем/переименовываем старое (F6) initrd-2.6.18-std-smp-alt12.img
Запускаем выполнение.
Затем lilo.
Это проще и быстрее и понятней, чем ждать переустановку ядра или набирать:
/boot/initrd.img | sed "s/.*initrd-\(.*\)\.img/\1/
next prev parent reply other threads:[~2008-03-11 11:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 9:32 ` Serge
2008-03-11 10:19 ` Шишков Евгений
2008-03-11 10:30 ` Serge
2008-03-11 10:50 ` Шишков Евгений
2008-03-11 10:56 ` Serge
2008-03-12 5:40 ` Хихин Руслан
2008-03-11 11:17 ` Шишков Евгений [this message]
2008-03-12 17:04 ` [Comm] разливка тазиков (was: Не включается dma-режим) Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47D66A46.5050106@svi.pp.ru \
--to=evgen@svi.pp.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git