This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

chroot-bug?


Hallo!
I'm using CYGWIN_NT-5.1 (cygcheck.out attached)
*I installed Cygwin in a Subdir /cygdrive/d/temp/Cyg/, because here we don't have permissions for /. So I want to chroot to that installation-directory, for getting the programs working properly.
chroot $InstallROOT $InstallROOT/usr/bin/bash
-->> "chroot: cannot chdir to root directory: No such file or directory"
At home I did the same, ADDITIONALLY having /usr/bin/bash, but I get the same errors.
chroot $InstallROOT; doesn't work # InstallROOT=/cygdrive/d/Temp/Cyg
Also cd /; chroot . # doesn't work
chroot /; # works, but worthless


* mount works, whereas I can't alter anything (umount, mounting others doens't work)
-->> umount: /cygdrive/H: Permission denied
mkdir X; mount /dev/hda1 X -->> mount: X: Invalid argument
which devices are to be used? (As /dev/null nothing exists, but works)


* Why doesn't work #!bash ? On other systems it's enough to let it find by the $PATH.
Extension .bat is executed by cmd.exe, if no extension, I would like to be able to leave the #!command out!


I don't get any reply to my adress subscribing the mailing-list cygwin,
so please also answer via EMAIL TO k009aaka+AT+unet.univie.ac.at


thanks, Andrew!


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Mar 25 18:49:31 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:	d:\temp\Cyg\usr\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\TNG\TNGSD\BIN
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `d:\temp\Cyg\home'
PWD = `/cygdrive/d/temp/X'
USER = `a9126482'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS    3537Mb  77% CP CS UN PA FC     SYSTEM
d:  hd  NTFS     370Mb  35% CP CS UN PA FC     TEMP
e:  fd           N/A    N/A                    
h:  net NTFS     390Mb  90% CP CS    PA        ????
q:  hd           N/A    N/A                    
r:  cd           N/A    N/A                    


Not Found: awk
Found: d:\temp\Cyg\usr\bin\bash.exe
Found: d:\temp\Cyg\usr\bin\cat.exe
Found: d:\temp\Cyg\usr\bin\cp.exe
Not Found: cpp (good!)
Found: d:\temp\Cyg\usr\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: d:\temp\Cyg\usr\bin\grep.exe
Not Found: ld
Found: d:\temp\Cyg\usr\bin\ls.exe
Not Found: make
Found: d:\temp\Cyg\usr\bin\mv.exe
Found: d:\temp\Cyg\usr\bin\rm.exe
Not Found: sed
Found: d:\temp\Cyg\usr\bin\sh.exe
Found: d:\temp\Cyg\usr\bin\tar.exe

   61k 2004/03/08 d:\temp\Cyg\usr\bin\cygbz2-1.dll
    7k 2004/03/08 d:\temp\Cyg\usr\bin\cygcrypt-0.dll
  841k 2004/03/17 d:\temp\Cyg\usr\bin\cygcrypto-0.9.7.dll
   48k 2004/03/08 d:\temp\Cyg\usr\bin\cygform7.dll
  958k 2004/03/08 d:\temp\Cyg\usr\bin\cygiconv-2.dll
   22k 2004/03/08 d:\temp\Cyg\usr\bin\cygintl-1.dll
   37k 2004/03/08 d:\temp\Cyg\usr\bin\cygintl-2.dll
   29k 2004/03/08 d:\temp\Cyg\usr\bin\cygmenu7.dll
  224k 2004/03/08 d:\temp\Cyg\usr\bin\cygncurses7.dll
   19k 2004/03/08 d:\temp\Cyg\usr\bin\cygpanel7.dll
   62k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcre-0.dll
   63k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcre.dll
    9k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcreposix-0.dll
   61k 2004/03/08 d:\temp\Cyg\usr\bin\cygpcreposix.dll
 1049k 2003/11/07 d:\temp\Cyg\usr\bin\cygperl5_8_2.dll
   22k 2002/06/09 d:\temp\Cyg\usr\bin\cygpopt-0.dll
  171k 2004/03/17 d:\temp\Cyg\usr\bin\cygssl-0.9.7.dll
 1083k 2004/03/08 d:\temp\Cyg\usr\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.5.7
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 109
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Fri Jan 30 19:32:04 EST 2004
        CVS tag: cr-0x9e
        Shared id: cygwin1S3


Cygwin Package Information
No setup information found
Use -h to see help about each section

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]