From: Amol <amol@teneoris.com>
To: linux-kernel@vger.kernel.org
Subject: linuxrc in 2.6.7
Date: Tue, 21 Dec 2004 11:18:45 +0530 [thread overview]
Message-ID: <1103608125.2711.212.camel@amol.teneoris.com> (raw)
Hi,
I am using 2.6.7 in my embedded linux box. I start with RAMDISK as a
rootfilesystem and finally want to move the rootfile system to RAMFS (I
cannot use initramfs for some reasons).
I used following linuxrc script. I see kernel calling do_linuxrc
function but none of the commands in the linuxrc are getting executed.
What I am missing ??
linuxrc
--------
!/bin/busybox sh
busybox mount -t ramfs ramfs /mnt
busybox cp -a bin dev etc lib sbin usr var mnt
cd /mnt
busybox mkdir proc initrd
busybox pivot_root . initrd
busybox mount /proc /proc -t proc
busybox --install -s
echo 0x100 >/proc/sys/kernel/real-root-dev
reply other threads:[~2004-12-21 5:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1103608125.2711.212.camel@amol.teneoris.com \
--to=amol@teneoris.com \
--cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®