-
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.
-
Senior Member
registered user
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
-
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
-
By knopx4me in forum Customising & Remastering
Replies: 1
Last Post: 11-21-2008, 05:38 PM
-
By lanmanck in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 07-10-2005, 02:33 PM
-
By s2smhfrom2005 in forum General Support
Replies: 2
Last Post: 05-17-2005, 03:19 PM
-
By gradnite in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-09-2004, 12:38 AM
-
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
-
Forum Rules

Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM
$37.99

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)
$164.95

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$43.00

16GB of Samsung (8GB x 2) DDR5 M378A2K43CB1 UDIMM PC5-4800B 288-Pin Unbuffered
$185.99

Corsair Vengeance RGB Pro 16GB 2x8GB DDR4 RAM 3600MHz CMW16GX4M2D3600C18
$99.70

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

Samsung 32GB Kit 2x16GB DDR4 3200MHz PC4-25600 Laptop RAM SO-DIMM M471A2K43EB1-C
$124.99
![[ BULK LOT OF 10 ] 8GB DDR3 LAPTOP RAM SAMSUNG, HYNIX, etc. picture](/store/img/g/qNwAAeSwPEtqobcJ/s-l225/-BULK-LOT-OF-10-8GB-DDR3-LAPTOP-RAM-SAMSUNG-HYNIX-.jpg)
[ BULK LOT OF 10 ] 8GB DDR3 LAPTOP RAM SAMSUNG, HYNIX, etc.
$89.99

Kingston KF432S20IBK2/32 FURY Impact 32GB (2x16GB) 3200MT/s CL20 Laptop Memory
$150.00

LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)
$129.99