All of lore.kernel.org
 help / color / mirror / Atom feed
* how to switch rootfs from initrd to new rootfs manualy?
@ 2007-02-28 13:57 zhuzhenhua
  0 siblings, 0 replies; only message in thread
From: zhuzhenhua @ 2007-02-28 13:57 UTC (permalink / raw)
  To: linux-mips

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
2>&1".
does anyone have some similiar experience ?

thanks for any hints

Best Regards

zhuzhenhua

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-28 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 13:57 how to switch rootfs from initrd to new rootfs manualy? zhuzhenhua

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.