On Fri, 13 May 2011, g_martino wrote:
> The problem is that you have mtdblock2 mounted, but when you chroot you
> lose the /etc/mtab file.
You can regenerate the mtab file...
cat /proc/mounts > /etc/mtab
> Try:
> - mount with -o remount or -o bind
> - umount /initrd before the final chroot
>
> --- In Simon Leung <> wrote:
> >
> > On 13/05/11 15:41, g_martino wrote:
> > > --- In Simon Leung<simonleung@> wrote:
> > >> No. It moves the old root to ./initrd and make . the new root.
> > >>
> > > ./initrd after pivot_root becomes /initrd, because . has become /
> > >
> > Yes. I misunderstood you. :)
> >
> > Anyways, before chroot, initrd is mtdblock2, mtdblock3 is mounted as
> > /mnt/root. Afterwards, mtdblock3 is / and mtdblock2 is /initrd
> > Neither is shown in the mount output or df output. That's my question.
> >
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|