* linuxrc in 2.6.7
@ 2004-12-21 5:48 Amol
0 siblings, 0 replies; only message in thread
From: Amol @ 2004-12-21 5:48 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-21 5:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 5:48 linuxrc in 2.6.7 Amol
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®