can't switch_root inside initramfs

Matthew Stoltenberg d3matt at gmail.com
Mon Aug 31 13:02:42 UTC 2009


>
> > Before the bunzip2, try this:
> > mount -t tmpfs -o none /mnt/target
> This is the right way, thanks, however exactly this command line doesn't
> work
> for me. I have to specify "tmpfs" a the source device and the -o none is a
> no
> go too, I don't have that option listed in mount --help. Btw, I'm using the
> 1_14 branch, maybe this is only working with the new 1_15 branch?
>
> # mount -t tmpfs -o none /mnt/target
> mount: can't find /mnt/target/ in /etc/fstab
>
> # mount -t tmpfs -o none tmpfs /mnt/target
> mount: mounting tmpfs on /mnt/target/ failed: Invalid argument
>
> # mount -t tmpfs tmpfs /mnt/target
> # echo $?
> 0
>

Sorry, don't know what I was thinking...

The last one is correct.

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090831/c7d82411/attachment.htm>


More information about the busybox mailing list