[Top] [All Lists]

how to switch rootfs from initrd to new rootfs manualy?

To: linux-mips <>
Subject: how to switch rootfs from initrd to new rootfs manualy?
From: zhuzhenhua <>
Date: Wed, 28 Feb 2007 21:57:08 +0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D0tRYFshwY+F7t0hE1K/rCMG+k/oGbtmfkmlrG65XmdfZerSmTm9PNZI2PLInASTaexpy+8OnLLse4C3Xok0dCPD/DuSoEv/we7YhfHMJFfZQ3Mv/rvKmLy+42APPpFS9bZgRBGJ9XRii4PW/5Xhtniena8UGX8+EIppzaUOf1A=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aA2kV+IuhyEijSJ6rAF6QG+qt6jYIcQd+/B408tXLbTxhD8ptpBlTq6zKLASymdYgWFs5v83Aa5dK2TVD9Bgksy7ryB6Si14fchC7a71dKa8zQFXpehY8pQBQJ3X+2qO5MHt4jT+HuFQn4xJ1nQcvLaDaLIbkFUgJoUwndyaEOM=
Original-recipient: rfc822;
i used to switch rootfs from initrd to nfs by use "pivot_root" and
"exec chroot" with kernel cmdline having "init=/linuxrc".
But if i do not set "init=/linuxrc", and bootup with the ramdisk as
rootfs. after that, i manualy execute "pivot_root" and "exec chroot"
etc. it seems switching rootfs umcompletely. the /etc/init.d/rcS is
not executed while "exec chroot . /sbin/init <dev/console >dev/console
does anyone have some similiar experience ?

thanks for any hints

Best Regards


<Prev in Thread] Current Thread [Next in Thread>
  • how to switch rootfs from initrd to new rootfs manualy?, zhuzhenhua <=