tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Compiling Linux under emulated environment
Well, I have tried "chroot /emul/linux", and that has failed outright. I don't know if there is a way to do that with some argument I don't know about, or ln-s'ing the netbsd kernel or part of the subsystem would be, but for now, I don't know of a way. If you are saying it is possible to chroot into emulated linux, I'd be very happy if you could point me to some documentation that would head me in the right direction to do so.
Thanks
Dustin
On Dec 1, 2014, at 10:52 AM, Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
>> I'm not lucky enough to have the possibility of something similar to
>> chrooting into a emul/linux environment so ./configure would take care
>> of it, am I?
> Why not?
>
> ef@trave:/$ uname -a
> NetBSD trave.math.uni-bonn.de 6.1_STABLE NetBSD 6.1_STABLE (MI12serv) #36: Thu Oct 30 14:30:12 CET 2014 support%trave.math.uni-bonn.de@localhost:/usr/obj/sys/arch/amd64/compile/mi12serv amd64
> ef@trave:/$ sudo /usr/sbin/chroot -u support -g support /emul/linux
> I have no name!@trave:/$ uname -a
> Linux trave.math.uni-bonn.de 2.6.18 #0 Wed Mar 3 03:03:03 PST 2010 x86_64 x86_64 x86_64 GNU/Linux
> I have no name!@trave:/$ exit
> ef@trave:/$ sudo /usr/sbin/chroot -u support -g support /emul/linux32
> I have no name!@trave:/$ uname -a
> Linux trave.math.uni-bonn.de 2.6.18 #0 Wed Mar 3 03:03:03 PST 2010 x86_64 x86_64 x86_64 GNU/Linux
>
> (The "I have no name!" ist because there's no /etc/passwd in my emulation tree.)
>
> Hm, the second uname output is not what I'd expect ...
Home |
Main Index |
Thread Index |
Old Index