You are not logged in.
I've been trying to get archlinux to run in lxc (Linux container, you'll need kernel 2.6.29 and lxc userspace tool), but was stuck at udevsettle while booting. Even if I could bypass it with control-c, it wont start agetty at vc/8. I did manage to boot a minimal debian to login though, but I want my archlinux container!
Last edited by tomyeo (2009-04-01 03:06:55)
Offline
I've not looked into LXC yet, apart from reading up on it. I'd like to once 2.6.29 is official. In the mean time I've been using OpenVZ on Archlinux (several containers), see my post on the subject here: http://bbs.archlinux.org/viewtopic.php?id=65450
I want something though that does not require a custom kernel package, like OpenVZ does.
So all that to say that I don't have an answer to your question.
Offline
Ok, I finally got around to trying and had the same issue. I chrooted into the container and removed udev via pacman.
I'm now stuck on there not being any tty devices.
Offline
Alright, I got a lot more working. I'll post the specifics later as I still have more to figure out.
In short, /etc/rc.sysinit is not needed, and one needs to point inittab to something else in the line that had pointed to it.
I started out by changing /etc/rc.sysinit as follows:
rc::sysinit:/etc/rc.sysinit
to
rc::sysinit:/etc/rc.sysinit.short
where rc.sysinit.short was basically just:
#!/bin/bash
bash --login -i
When it is all said and done, there won't be much needed in the replacement script and the
rc::sysinit:/etc/rc.sysinit
line in /etc/inittab might be able to removed altogether, and the arch container will jump straight into starting services specified in /etc/rc.conf.
Offline
Well, I figured it out a lot more and created a HOWTO on the subject: http://lxc.teegra.net/
Offline