ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Vodennikov <vod@elecom.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] als 4.0 mkinitrd
Date: Tue, 28 Aug 2007 18:37:39 +0600
Message-ID: <46D41713.80509@elecom.ru> (raw)
In-Reply-To: <200708272140.59342.alexey.borovskoy@gmail.com>

Alexey Borovskoy пишет:
> * Понедельник 27 августа 2007 Dmitry Vodennikov
> 
>> Alexey Borovskoy пишет:
>>> * Суббота 25 августа 2007 Dmitry Vodennikov
>>>
>>>> /init: 234: cannot open /root/dev/console: No such file
>>> В /dev/ должно быть 4 девайса.
>>>
>>> /dev/console
>>> /dev/full
>>>
>>> и еще какие-то два. сходу не вспомнил.
>> Не в этом дело. В initrd есть все, что надо
>> [root@mse ane]# ls -l dev/
>> total 0
>> crw------- 1 root root 5, 1 Aug 27 11:24 console
>> crw------- 1 root root 1, 3 Aug 27 11:24 null
>> brw------- 1 root root 1, 1 Aug 27 11:24 ram
>> crw------- 1 root root 4, 0 Aug 27 11:24 systty
>> crw------- 1 root root 4, 1 Aug 27 11:24 tty1
> 
> В /dev/ на винте, а не в initrd.
> 
>> После генерации initrd в скрипте init не отрабатывает ветка
>> if [ "$use_initramfs_dev" = 1 ]; then
>> ...
>> fi
>>
>> В результате чего в /dev/ пусто со всеми вытекающими.
>> Вот почему у меня в initrd переменная use_initramfs_dev
>> неинициализирована, это вопрос...
> 
> Это ядерщиков надо спросить, как правильно работает эта 
> конструкция.
> 

Хм. Однако помогло. Загрузился с cd в rescue mode, примонтировал раздел, 
создал /dev/null /dev/zero /dev/full /dev/random /dev/urandom 
/dev/console /dev/tty /dev/ptmx с соответствующими правами, и проблема 
решилась.




  reply	other threads:[~2007-08-28 12:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24 14:21 Dmitry Vodennikov
2007-08-25 11:20 ` Alexey Borovskoy
2007-08-27  5:31   ` Dmitry Vodennikov
2007-08-27  8:40     ` Alexey Borovskoy
2007-08-28 12:37       ` Dmitry Vodennikov [this message]
2007-08-25 11:32 ` Alexey Borovskoy
2007-08-25 15:17   ` [Comm] test Александр
2007-08-25 16:13     ` ALT Linux User

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=46D41713.80509@elecom.ru \
    --to=vod@elecom.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