Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] cannot login into files ystem created by buildroot
@ 2014-05-20  7:42 Rohit Kumar
  2014-05-20  8:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Rohit Kumar @ 2014-05-20  7:42 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

i created file system using buildroot (as root user) and copied rootfs.tar
to another desktop and setup NFS.
the linux boots up but does not accept any user at login, even "root"
doesnt work.

what i am doing wrong?(it works when used on same desktop, where its built).

With Regards,

Rohit Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140520/b7962a1a/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] cannot login into files ystem created by buildroot
  2014-05-20  7:42 [Buildroot] cannot login into files ystem created by buildroot Rohit Kumar
@ 2014-05-20  8:50 ` Thomas Petazzoni
  2014-05-20  9:19   ` Rohit Kumar
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2014-05-20  8:50 UTC (permalink / raw)
  To: buildroot

Dear Rohit Kumar,

On Tue, 20 May 2014 16:42:30 +0900, Rohit Kumar wrote:

> i created file system using buildroot (as root user) and copied rootfs.tar
> to another desktop and setup NFS.

Using Buildroot as root is bad and not recommended. The only thing you
should do as root is extracting the rootfs.tar tarball to your NFS
exported directory. Is this what you have done?

See http://buildroot.org/downloads/manual/manual.html#_nfs_boot.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] cannot login into files ystem created by buildroot
  2014-05-20  8:50 ` Thomas Petazzoni
@ 2014-05-20  9:19   ` Rohit Kumar
  2014-05-20  9:31     ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Rohit Kumar @ 2014-05-20  9:19 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Tue, May 20, 2014 at 5:50 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Dear Rohit Kumar,
>
> On Tue, 20 May 2014 16:42:30 +0900, Rohit Kumar wrote:
>
> > i created file system using buildroot (as root user) and copied
> rootfs.tar
> > to another desktop and setup NFS.
>
> Using Buildroot as root is bad and not recommended. The only thing you
> should do as root is extracting the rootfs.tar tarball to your NFS
> exported directory. Is this what you have done?
>

but if i dont "sudo make", it says permission denied.
regarding extracting NFS, i followed the exact procedure.


>
> See http://buildroot.org/downloads/manual/manual.html#_nfs_boot.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>

With Regards,

Rohit Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140520/d083fc30/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] cannot login into files ystem created by buildroot
  2014-05-20  9:19   ` Rohit Kumar
@ 2014-05-20  9:31     ` Thomas Petazzoni
  2014-05-21  3:48       ` Rohit Kumar
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2014-05-20  9:31 UTC (permalink / raw)
  To: buildroot

Dear Rohit Kumar,

On Tue, 20 May 2014 18:19:26 +0900, Rohit Kumar wrote:

> > Using Buildroot as root is bad and not recommended. The only thing you
> > should do as root is extracting the rootfs.tar tarball to your NFS
> > exported directory. Is this what you have done?
> 
> but if i dont "sudo make", it says permission denied.

Then it means you have extracted the Buildroot sources as root, or did
some other operation as root. You'd have to restart from scratch:
remove the entire Buildroot source tree, and do everything again, as a
user.

> regarding extracting NFS, i followed the exact procedure.

Could you post your complete boot log, and well as your
Buildroot .config file?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] cannot login into files ystem created by buildroot
  2014-05-20  9:31     ` Thomas Petazzoni
@ 2014-05-21  3:48       ` Rohit Kumar
  2014-05-21  7:20         ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Rohit Kumar @ 2014-05-21  3:48 UTC (permalink / raw)
  To: buildroot

Hello Thomas,




On Tue, May 20, 2014 at 6:31 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Dear Rohit Kumar,
>
> On Tue, 20 May 2014 18:19:26 +0900, Rohit Kumar wrote:
>
> > > Using Buildroot as root is bad and not recommended. The only thing you
> > > should do as root is extracting the rootfs.tar tarball to your NFS
> > > exported directory. Is this what you have done?
> >
> > but if i dont "sudo make", it says permission denied.
>
> Then it means you have extracted the Buildroot sources as root, or did
> some other operation as root. You'd have to restart from scratch:
> remove the entire Buildroot source tree, and do everything again, as a
> user.
>
> yeah it works when i build everything as a user.
thanks

>  > regarding extracting NFS, i followed the exact procedure.
>
> Could you post your complete boot log, and well as your
> Buildroot .config file?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>

With Regards,

Rohit Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140521/40c6780d/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] cannot login into files ystem created by buildroot
  2014-05-21  3:48       ` Rohit Kumar
@ 2014-05-21  7:20         ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-05-21  7:20 UTC (permalink / raw)
  To: buildroot

Dear Rohit Kumar,

On Wed, 21 May 2014 12:48:58 +0900, Rohit Kumar wrote:

> > Then it means you have extracted the Buildroot sources as root, or did
> > some other operation as root. You'd have to restart from scratch:
> > remove the entire Buildroot source tree, and do everything again, as a
> > user.
> >
> yeah it works when i build everything as a user.

Clearly not related. Your build as root should have worked just as well
(it's just bad to use your root account to build Buildroot).

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-21  7:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20  7:42 [Buildroot] cannot login into files ystem created by buildroot Rohit Kumar
2014-05-20  8:50 ` Thomas Petazzoni
2014-05-20  9:19   ` Rohit Kumar
2014-05-20  9:31     ` Thomas Petazzoni
2014-05-21  3:48       ` Rohit Kumar
2014-05-21  7:20         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox