ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] Re: опять про ACPI в ноутбуках
Date: Mon, 22 Mar 2004 09:40:11 +0200
Message-ID: <20040322074011.GP21509@osdn.org.ua> (raw)
In-Reply-To: <1155528591.20040319182112@e-foto.ru>

[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]

On Fri, Mar 19, 2004 at 06:21:12PM +0300, Maxim wrote:
> >> DSDT записал в файл, например в initrd и в лило прописал строку
> >> initrd=/boot/initrd, то есть туда куда сохранил инфо из
> >> DSDT.

И, видимо, не перезапустили команду "lilo" (что, вообще говоря,
написано в документации  и на каждом углу, где упоминается lilo
-- "после правки /etc/lilo.conf запустите /sbin/lilo для фискации
изменений").

Нечитание документации тут, однако, спасло Вашу систему от
незагружаемости вообще: initrd -- это отнюдь не "милый мой
хороший, догадайся сам", а _сжатый_ _образ_ файловой системы, на
котором размещаются модули ядра, необходимые для доступа к
носителю, на котором расположена корневая файловая система,
скрипт, их загружающий (linuxrc), и могут быть дополнения вроде
правок dsdt.

> >> Но там ведь уже что то прописано, куда это то девать?
> AB> ftp://ftp.altlinux.org/pub/people/ab/m5wide/
> AB> Смотрите на это как на пример.
> Я все так и сделал. Но все равно не находит она эту таблицу в
> нем.  блин %(

Вы сделали нечто, не понимая, что *чуть* не сделали :-)

С initrd работают так (root needed; осторожно, это ПО ПАМЯТИ):

zcat /boot/initrd-up.img > ~/tmp/initrd.img
mount -o loop ~/tmp/initrd.img /mnt/disk
cd /mnt/disk
# делаем правки, кладем файлики, ...
cd
# освободили файловую систему от своего присутствия
umount /mnt/disk
cp -L /boot/initrd-up.img /boot/initrd-up.img-orig
# сбэкапили
gzip -9 < ~/tmp/initrd.img > /boot/initrd-up.img
# вроде все

Если используется lilo, надо сказать "lilo"; до этого _крайне_
желательно сдублировать в /etc/lilo.conf запись для этого ядра и
и изменить там "/boot/initrd-*.img" на "/boot/initrd-up.img-orig".

Ну и убедиться, что в rescue mode с CD загрузиться умеем (после
этого для "погружения" в установленную систему можно использовать
"chroot /mnt", где будет смонтирован корень.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-03-22  7:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19 12:28 [Comm] " Maxim
2004-03-19 12:59 ` Alexander Bokovoy
2004-03-19 14:23   ` Re[2]: " Maxim
2004-03-19 14:26     ` Alexander Bokovoy
2004-03-19 15:21       ` Re[4]: " Maxim
2004-03-22  7:40         ` Michael Shigorin [this message]
2004-03-22  8:35           ` [Comm] " Alexander Bokovoy
2004-03-22 15:07             ` Michael Shigorin
2004-03-22 15:18               ` Alexander Bokovoy
2004-03-19 14:27     ` [Comm] " Igor Homyakov
2004-03-19 14:00 ` Igor Homyakov

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=20040322074011.GP21509@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    /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