can't switch_root

Dutta, Kanishka kanishka.dutta at ti.com
Mon Oct 3 14:23:53 UTC 2011


Hi Laurent,

Yes, initially I am booting up with minimal initramfs. But later I want the change the rootfs to other partition which contains more features and libraries.
I did go through the pivot_root option. Can you please share an example how to change the root using the same.

It would be very beneficial.

Thanks in advance .. :)

Regards,
Kanishka Dutta
________________________________________
From: busybox-bounces at busybox.net [busybox-bounces at busybox.net] On Behalf Of Laurent Bercot [ska-dietlibc at skarnet.org]
Sent: Friday, September 30, 2011 6:42 PM
To: busybox at busybox.net
Subject: Re: can't switch_root

> I am trying to use switch_root in order to switch the root from one partition to the other where my actual filesystem resides along with other binaries.

 Hello Kanishka,
 Are you booting on an initramfs ? If you are, just ignore my message.
 If you are not, then switch_root is not the best/simplest way to change
root filesystems; you could have more success with pivot_root instead.

--
 Laurent
_______________________________________________
busybox mailing list
busybox at busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list