LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with chroot command in Slax (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-chroot-command-in-slax-765290/)

white-crow 10-29-2009 08:03 AM

Problems with chroot command in Slax
 
hi,guys.

Sorry my bad english,I am a brazilian student.

I am newbie in this forum(my first post) and Linux but I start with one bomb.I tried to install my Slax build on Windows Server 2008 with WDS.This build starts normally but in one point appear the message:
"don't find executable chroot command".This same folders and files work normally when are in .iso image(i am descompress the image).Somebody help me?Sorry if I posted in the wrong place.

raskin 10-30-2009 01:37 AM

What is WDS? Windows Deployment Service? What it actually does? Isn't it too Windows-specific and making assumptions? Try installing Slax in a virtual machine to get familiar with its normal OS installation process maybe..

white-crow 10-30-2009 05:42 AM

Hi,raskin

Thanks for your help.

Yes,WDS is the Windows Deployment Services.I canīt use the MAC OS because the server of company client is a Windows S2k8 and I'm developing a solution for boot Linux through the server.

raskin 10-30-2009 12:48 PM

I didn't mean "MacOS X", I meant general operating system (here Slax). Why do you want to oot Linux through a server? For diskless clients? Is a virtual machine acceptable anyway?

white-crow 11-03-2009 04:54 AM

Quote:

Originally Posted by raskin (Post 3738197)
I didn't mean "MacOS X", I meant general operating system (here Slax). Why do you want to oot Linux through a server? For diskless clients? Is a virtual machine acceptable anyway?

Yes,exactly this. The virtual machines are acceptable.

raskin 11-03-2009 05:20 AM

In that case I would recommend choosing a virual machine solution (there is always free Qemu; there also seems to be a free-of-charge edition of VMWare Server). In the virtual machine you can install the Slax build as if it was a physical machine. You can assign an IP address to VM, too. To the network clients it can be made indistinguishable from a real computer.

white-crow 11-03-2009 09:43 AM

Thanks for reply.

I talk with my boss and discovered virtual machines are not acceptable,because the servers of clients supplied by another company =/.

raskin 11-03-2009 12:06 PM

What exactly are you trying to do then? If you need to use WDS to supply network boot image to thin clients, you need to be able to just supply a prepared boot image. That image is probably simple to create inside a Linux-based VM on your personal development computer (I've never done this exact thing, but I remember seeing links to HOWTOs). Then you may try to force WDS to give out this image to the thin clients. I am not sure whether it is possible on the Windows side, though.

white-crow 11-04-2009 05:21 AM

My Situation:
When thin client connects to server(with Windows Server 2008),I need it receives a Slax boot.I managed to force the Slax boot to start but appear the message:"Fatal error occured - Canīt find executable chroot command.".The links with images below show my problem(tests were performed on the same machine):

The image with .ISO:

http://rapidshare.com/files/30225804...xiISO.JPG.html

The images with my WDS server:

http://rapidshare.com/files/30226093...emWDS.JPG.html
http://rapidshare.com/files/30226114..._WDS2.JPG.html
http://rapidshare.com/files/30226701...mWDS3.JPG.html

The archives of my WDS server using is the same archives of .ISO image(I extracts only).Note the difference between images,in .ISO image it load the modules and in WDS this does not happen.The chroot command probaly is within one of these modules and this causes my problem.

raskin 11-04-2009 11:43 PM

I guess ISO supposes it can access itself using access to one of the local devices. So LiveCD is not doing what you want.

Actually, searching for "WDS Linux" does give a lot of instructions that explain things to do.. You may want to try them.

white-crow 11-06-2009 07:54 AM

I really tried to find anything in internet but I found nothing with Slax. I tried to follow this tutorial for Ubuntu(http://www.deployvista.com/Home/tabi...S/Default.aspx) to try to adapt it later but failed =/(even with the tutorial gave error). I do not know what to do.

raskin 11-07-2009 02:24 AM

First, try doing this with Ubuntu. Second, use a "PXE boot Slax" tutorial to adapt it to Slax. Or maye try to use some of the distributions that you managed to configure PXE boot for.


All times are GMT -5. The time now is 08:20 PM.