OpenVZ Forum


Home » General » Support » OpenVZ on openSUSE 10.3
OpenVZ on openSUSE 10.3 [message #21384] Sat, 06 October 2007 22:46 Go to next message
spetrov is currently offline  spetrov
Messages: 4
Registered: October 2007
Junior Member
I need some help in order to compile and use OpenVZ on openSUSE 10.3.

I installed successfully the provided SLES 10 OpenVZ kernel but during the boot process it doesn't recognize the standard IDE HDD - openSUSE 10.3 runs fine.

I tried to following too but I got errors:

cssrv8:/install # rpm -ihv --nodeps kernel-2.6.22-ovz003.2.i686.rpm
warning: kernel-2.6.22-ovz003.2.i686.rpm: Header V3 DSA signature: NOKEY, key ID a7a1d4b6
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
error: %post(kernel-2.6.22-ovz003.2.i686) scriptlet failed, exit status 1


I see that OpenVZ is mostly RedHat and CentOS oriented but it will be great if it supports openSUSE 10.3 as well.

Thanks,
Svetlin
Re: OpenVZ on openSUSE 10.3 [message #21622 is a reply to message #21384] Fri, 12 October 2007 10:53 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hello Svetlin!

Well, i guess that something failed during the initrd creation (in the kernel's rpm postscript) and thus initrd was not created. This led to the inability to boot the kernel.

Could you please check the bootloader config, if there initrd image configured for the newly installed kernel? If yes, could you please check that image file (mentioned in bootloader config) exists and has approximately the same size as stock openSUSE kernel has.

Regards,
--
Konstantin.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: OpenVZ on openSUSE 10.3 [message #21796 is a reply to message #21622] Tue, 16 October 2007 11:27 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
BTW, let me know if you do experiments in VMware.

If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: OpenVZ on openSUSE 10.3 [message #21893 is a reply to message #21384] Wed, 17 October 2007 15:22 Go to previous messageGo to next message
spetrov is currently offline  spetrov
Messages: 4
Registered: October 2007
Junior Member
Everything with the boot section looks OK. I think that the problem is caused by the following:

openSUSE 10.3 uses "sda" device for representing standard IDE (PATA) drives - SLES 10 uses "hda".


Thanks,
Svetlin
Re: OpenVZ on openSUSE 10.3 [message #21913 is a reply to message #21384] Wed, 17 October 2007 21:21 Go to previous messageGo to next message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
There is a kernel for SLES. I wonder if that would work?

--
TYL, Scott Dowdle
Belgrade, Montana, USA
Re: OpenVZ on openSUSE 10.3 [message #21914 is a reply to message #21913] Wed, 17 October 2007 21:24 Go to previous messageGo to next message
spetrov is currently offline  spetrov
Messages: 4
Registered: October 2007
Junior Member
I mentioned in my initial post that installed the SLES 10 kernel - so I'm using the provided SLES 10 kernel but it can't boot correctly because it's searching for hda and openSUSE 10.3 uses sda.
Re: OpenVZ on openSUSE 10.3 [message #21923 is a reply to message #21914] Wed, 17 October 2007 22:49 Go to previous messageGo to next message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Opps. Sorry, I overlooked that detail by accident. I thought you were using a generic kernel.

Nevermind. Smile


--
TYL, Scott Dowdle
Belgrade, Montana, USA
Re: OpenVZ on openSUSE 10.3 [message #21949 is a reply to message #21893] Thu, 18 October 2007 07:01 Go to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Svetlin,

just an idea - you can set labels on partitions and use that labels in /etc/fstab and bootloader config. This should help if the problem is really due to different devices naming.

--
Konstantin.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Previous Topic: Bridging problems with el5 kernel
Next Topic: Do we need reboot of VPS once vps conf file changed?
Goto Forum:
  


Current Time: Sun Nov 10 22:48:36 GMT 2024

Total time taken to generate the page: 0.03654 seconds