OpenVZ Forum


Home » General » Support » debian sarge
debian sarge [message #343] Wed, 16 November 2005 11:48 Go to next message
amattila is currently offline  amattila
Messages: 6
Registered: November 2005
Junior Member
I've been struggling to get debian sarge guest image to work under fedora core 4 host system. This system already has two fedora core 4 guest images, and they work fine.

First, I tried to copy one fully functionaling system (debian sarge stable) to /vz/private/<VPSID>. Here's what I did:

1) stopped all services before copy and copied whole root to /vz/private/<VPSID> (created also /vz/root/<vpsid>)
2) commented all getty lines inittab
3) linked /etc/mtab to point to /proc/mounts
4) copied basic vz-script to VPSID.conf
5) added OSTEMPLATE="debian-3.1"
6) vzctl set <vpsid> --ipadd <x.x.x.x> --save

After that, I executed vzctl start <VPSID>

vzctl start <VPSID>
Starting VPS ...
VPS is mounted
Adding IP address(es): <x.x.x.x>
Setting CPU units: 1000
Unable to start init, probably incorrect template
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted


I have no idea whats going wrong. My /vz/template and /vz/template/cache directories are empty. /etc/sysconfig/vz-scripts/dists/ directory has debian-3.1.conf file.

I also added the loopback device for debian-add_ip.sh as mentioned in http://forum.openvz.org/index.php?t=msg&th=59&start= 0&.

Is there any log file to see what's happening?

If somebody has a ready-made debian sarge "precached template", I would be glad to if I could download that somewhere.
Re: debian sarge [message #344 is a reply to message #343] Wed, 16 November 2005 11:56 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Work on debian sarge template is in progress, we are expecting pre-created template to become available in a couple of weeks or so.

Down to your problem, can you check that /vz/private/<VPSID>/sbin/init file is there?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: debian sarge [message #345 is a reply to message #343] Wed, 16 November 2005 12:02 Go to previous message
amattila is currently offline  amattila
Messages: 6
Registered: November 2005
Junior Member
Thats great news, I'm really waiting for those, if I cant get this to work.

And yes, init file is there:

ls -laF /vz/private/102/sbin/init
-rwxr-xr-x  1 root root 31432 Nov 16 11:24 /vz/private/102/sbin/init*
Previous Topic: Network Performance
Next Topic: Sync'ing between servers
Goto Forum:
  


Current Time: Fri Jul 26 22:26:42 GMT 2024

Total time taken to generate the page: 0.04835 seconds