-
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
![Knoppix NSM 1.2 picture](/store/img/g/btwAAOSwWpVlAOZn/s-l225/Knoppix-NSM-1-2.jpg)
Knoppix NSM 1.2
$6.40
![Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture](/store/img/g/I8UAAOSwdHdgiQtc/s-l225/Knoppix-Live-GNU-Linux-System-9-1-on-Bootable-CD-D.jpg)
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
![Linux Knoppix 4.0.2 Installation Disc picture](/store/img/g/jvgAAOSw2kVl3ru~/s-l225/Linux-Knoppix-4-0-2-Installation-Disc.jpg)
Linux Knoppix 4.0.2 Installation Disc
$29.99
![KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture](/store/img/g/I3EAAOSwdEll-z0J/s-l225/KNOPPIX-9-1-LINUX-INSTALL-LIVE-DVD.jpg)
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
![Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture](/store/img/g/2xQAAOSwtSZlxsHn/s-l225/Knoppix-9-1-Live-Linux-GNU-Bootable-USB-Flash-Driv.jpg)
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
![Knoppix Linux Bootable OS v8.6](/store/img/g/m9EAAOSwwL5fs9mY/s-l225/Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
![Hamshack Live DVD-ROM picture](/store/img/g/Or0AAOSwsZpkY8PH/s-l225/Hamshack-Live-DVD-ROM.jpg)
Hamshack Live DVD-ROM
$8.00
![Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture](/store/img/g/u1wAAOSwhBJljLXq/s-l225/Acer-Aspire-One-9-inch-Netbook-ZG5-512MB-RAM-8GB-S.jpg)
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
![Knoppix 3.4 Linux installation CD picture](/store/img/g/UqAAAOSwPf1mNj1O/s-l225/Knoppix-3-4-Linux-installation-CD.jpg)
Knoppix 3.4 Linux installation CD
$10.00
![Knoppix Linux Bootable OS v8.6](/store/img/g/m9EAAOSwwL5fs9mY/s-l225/Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95