2
1
I have successfully installed a Ubuntu chroot (Maverick) on a running Linux appliance (an old Thecus N5200PRO box) which has been running various services for me quite happily.
When I attempted to add a webcam (for snapshotting) to this mix, I've come up against a problem. Since the chroot by default uses the kernel of the Thecus appliance, there appears to (understandably) be no support for the Logitech UVC webcam in the appliances' kernel; consequently inside or outside the chroot I can't access the UVC webcam.
I think I can get around this in a simple way if I can run a standard Ubuntu Maverick 32-bit kernel in the chroot. All my searches for a 'chrooting but with a different kernel guide' have been unsuccessful - plenty of helpful chrooting guides, but if kernel replacement is described at all, it's mentioned in unpleasant tones.
Does anyone know how to chroot with alternative kernels, or quite simply, how to get a UVC webcam accessible on a Thecus N5200PRO?
Other details:
- lsmod output
Output of
uname -a
:Linux cube 2.6.23N5200 #1 PREEMPT Wed Jul 29 14:13:22 CST 2009 i686 GNU/Linux
Can you give me a cite for this? I feel like I've read conflicting information. BTW, it's not that I don't believe, I'm just looking for the full context :) – Gavin C – 2011-05-09T19:05:23.463
Only one kernel can be running on the bare metal at a time. The kernel is also responsible for providing the chroot capability. If you replace the kernel then you won't have the chroot anymore, and if the new kernel can't handle the loss of the chroot then it is likely to fall over shortly thereafter. – Ignacio Vazquez-Abrams – 2011-05-09T19:11:42.770
Thanks for expanding further - what you say makes sense, but I was looking for an actual reference (cite) that categorically confirms and goes into detail about this limitation of chroot. When I read paragraphs like this it reads to me like it is possible - trying to understand my misunderstanding...
– Gavin C – 2011-05-09T19:31:24.763Um... yeah. That paragraph makes no sense.
proc
is always created from the currently-running kernel, regardless of where it's mounted. – Ignacio Vazquez-Abrams – 2011-05-09T19:45:44.917this is a very specific case - you arn't running the new kernel, you're running a seperate environment, with its libraries, under an old kernel, to set up the new install and its directories- This is the 'classic' old school linux install method – Journeyman Geek – 2011-05-10T08:45:38.380
Well, lack of citations aside, I think my "alternate kernel in a chroot" question has been fully answered. Thanks guys. – Gavin C – 2011-05-10T16:45:42.860
@journeyman-geek - didn't want to prejudice it, but yeah that was what I was worried it might have been about. Clear as mud, as they say. – Gavin C – 2011-05-10T17:07:36.547