From: Владимир <fmfm@symmetron.msk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] смонтировать initrd образ в режиме RW
Date: Fri, 16 May 2003 16:07:35 +0400
Message-ID: <3EC4D487.8090105@symmetron.msk.ru> (raw)
In-Reply-To: <200305161600.00663.combr@vesna.ru>
Mike Lykov пишет:
>Кто подскажет, как?
>
>мне надо в существующий образ initrd вставить драйвер.
>
>делаю :
>gzip -dc /boot/initrd-up.img > /tmp/initrd.ext2
>mount -o loop /tmp/initrd.ext2 /mnt/initrd
>
>в результате получаю в директории /mnt/initrd образ с директориями как надо,
>но почему-то RO...
>т.е. при
>cp file /mnt/initrd/file
>получаю
>
>"невозможно создать обычный файл - Read-only filesystem"
>
>хотя mount говорит
>
>/tmp/initrd.ext2 on /mnt/initrd rype romfs (rw, loop=/dev/loop0)
>
>ничего не понимаю - тут rw, там реально ro... чего не хватает?
>
>
>
>
Воспользуйтесь опцией --pause в команде mkinitrd.
--
Best regards
Vladimir
prev parent reply other threads:[~2003-05-16 12:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-16 11:00 Mike Lykov
2003-05-16 11:19 ` Mike Lykov
2003-05-16 11:40 ` Sergey Vlasov
2003-05-16 12:07 ` Владимир [this message]
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=3EC4D487.8090105@symmetron.msk.ru \
--to=fmfm@symmetron.msk.ru \
--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