how to switch rootfs from initrd to new rootfs manualy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux