OpenVZ Forum


Home » General » Support » Ubuntu 5.04 /dev Problems
Ubuntu 5.04 /dev Problems [message #682] Fri, 06 January 2006 17:59 Go to next message
devnu11 is currently offline  devnu11
Messages: 64
Registered: September 2005
Location: USA
Member

I am creating an Ubuntu 5.04 template for OpenVZ and have run into a problem. There are no /dev/pty, /dev/random, and /dev/urandom devices in /dev. I have created these devices by the following:

cd /vz/root/111/dev; /vz/root/111/sbin/MAKEDEV pty

This creates the devices just fine. When I reboot Ubuntu the devices are not there and need to be created all over again. When I created templates for other linux distros I have had to create /dev/pty but they are there on reboot.

drwxr-xr-x 4 root root 4096 Jan 1 14:18 dev

How do I solve this problem on Ubuntu? Thanks

*Also posted to ubuntu.com support forum


Just Because You Have One, Doesn't Mean You Have To Be One!
Re: Ubuntu 5.04 /dev Problems [message #721 is a reply to message #682] Sat, 07 January 2006 14:02 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Could it be the case that Ubuntu have /dev partition on tmpfs filesystem? If yes, the proper action would be to remove this functionality (mounting /dev using tmpfs) from Ubuntu startup scripts.

In case Ubuntu is using udev - you should also disable that. It is not strictly needed -- instead its rather a optimization.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: question about creating templates
Next Topic: Virtuozzo Kernel Error
Goto Forum:
  


Current Time: Sat Aug 24 10:18:32 GMT 2024

Total time taken to generate the page: 0.03613 seconds