Results 1 to 3 of 3

Thread: how to apt-get install software in chroot that needs /proc?

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    2

    how to apt-get install software in chroot that needs /proc?

    The Knoppix-Master lives here in a chroot environment on a Redhat server.

    Installing of most packages works fine, but some try to access /proc or try to start and stop any deamons.
    For example eclipse, gpm, sshd, and so on.

    gpm: This fails, beacause, the server has no mouse and gpm quits installation with an errorexception.
    Eclipse: This fails, beacause, /proc is not mounted. I must not mount /proc from the running serverkernel into the chroot, because this will crash the server for obvious reasons.

    Do you have any hints, how i can install and update this software?

    thank you for hints.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    Dear Friend,
    you can have relatively easy your /proc inside the chroot environment as follows:
    1) chroot to your path normaly
    2) give the command: mount -t proc /proc proc

    than you will have /proc as you wish.

    Please report back the result.

    B.R.
    Mike Kranidis

  3. #3
    Junior Member
    Join Date
    May 2007
    Posts
    2
    mount -t proc /proc proc let the server crash as i wrote in my posting. This is no surprise to me, because the /proc of the server provides Process IDs and so on of the server.

    So if the new program looks for the kernelversion it will get the server OS-version
    If it kills a process or starts a deamon it will access the proc of the server.
    As the server does not run Knoppix and has not the same hardware like the clients it will not help to mount a wrong /proc just to have any /proc present.


    Has anybody tried to solve this problem with a virtual machine, that runs the remastering-knoppix?

Similar Threads

  1. How to install and run mysql-server in chroot?
    By knopx4me in forum Customising & Remastering
    Replies: 1
    Last Post: 11-21-2008, 05:38 PM
  2. Cannot Install Software!Some errors,Help!
    By lanmanck in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 07-10-2005, 02:33 PM
  3. How can I install software by myself?
    By s2smhfrom2005 in forum General Support
    Replies: 2
    Last Post: 05-17-2005, 03:19 PM
  4. How do you un-install software?
    By gradnite in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-09-2004, 12:38 AM
  5. Cant get chroot to have mounted proc
    By pythonholumm in forum Customising & Remastering
    Replies: 3
    Last Post: 04-22-2004, 09:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks picture

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks

$79.00



Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation picture

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation

$500.00



HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage picture

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage

$166.24



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$799.00



Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive picture

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive

$649.00



Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ* picture

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*

$199.99



Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS picture

Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS

$15.00



Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000 picture

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000

$99.95



Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB picture

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB

$98.95



Vintage MSI K7T Turbo w/ AMD Athlon A1000AMT3C 256MB DDR Ram -Bloated Caps Parts picture

Vintage MSI K7T Turbo w/ AMD Athlon A1000AMT3C 256MB DDR Ram -Bloated Caps Parts

$69.99