OpenVZ Forum


Home » General » Support » *SOLVED* Installation on Debian - VFS: Cannot open root device
Re: Installation on Debian - VFS: Cannot open root device [message #9368 is a reply to message #9298] Thu, 28 December 2006 15:56 Go to previous messageGo to previous message
Alexandr Andreev is currently offline  Alexandr Andreev
Messages: 35
Registered: October 2006
Member
2 pjdevries:

You can boot your debian kernel, and then compare debian kernel .config vs openvz .config

You can find config files here:
/boot/config-YOUR_KERNEL_VERSION

or maybe here:
/lib/modules/YOUR_KERNELS/build/.config

Pay attention to options around CONFIG_BLK_DEV, maybe it is good idea to reconfigure OpenVZ kernel, and set CONFIG_BLK_DEV_DRBD=y.

I prefer to edit .config by hands. You have similar kernel versions, so you can just paste and copy block device options from debian .config to openvz .config, then say:

$ make oldconfig

in openvz kernel directory, and answer to some questions about new openvz options. (just press enter if unsure).

Then build the kernel:

$ make
$ make modules_install
$ make install
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: URGENT ... Segmentation fault in program... Pls help
Next Topic: drbd module for 028test010.1 FC6
Goto Forum:
  


Current Time: Thu Oct 09 20:19:36 GMT 2025

Total time taken to generate the page: 0.10267 seconds