LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2009, 09:03 AM   #1
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Rep: Reputation: 0
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.

Last edited by white-crow; 10-29-2009 at 09:04 AM.
 
Old 10-30-2009, 02:37 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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..
 
Old 10-30-2009, 06:42 AM   #3
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 10-30-2009, 01:48 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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?
 
Old 11-03-2009, 05:54 AM   #5
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by raskin View Post
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.
 
Old 11-03-2009, 06:20 AM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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.
 
Old 11-03-2009, 10:43 AM   #7
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for reply.

I talk with my boss and discovered virtual machines are not acceptable,because the servers of clients supplied by another company =/.
 
Old 11-03-2009, 01:06 PM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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.
 
Old 11-04-2009, 06:21 AM   #9
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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.

Last edited by white-crow; 11-04-2009 at 06:28 AM.
 
Old 11-05-2009, 12:43 AM   #10
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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.
 
Old 11-06-2009, 08:54 AM   #11
white-crow
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 11-07-2009, 03:24 AM   #12
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: chroot: command not found satimis Linux From Scratch 9 03-15-2010 09:38 AM
I want add new command to my slax! V4HID Linux - Newbie 2 09-28-2009 03:25 PM
Must Be Wrong chroot or CD command browser Linux - Newbie 4 02-10-2008 08:45 AM
Slax 5.1.8 - How to change keyboard layout at command line uncle-c Slackware 2 11-09-2006 05:32 AM
mount command not working in chroot. and now chroot not working mohit.jain Linux From Scratch 5 07-14-2006 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration