linuxrc in 2.6.7
From: Amol
Date: Tue Dec 21 2004 - 00:59:19 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/