Page 13 of 13 FirstFirst ... 3111213
Results 121 to 130 of 130

Thread: Lucid and OpenVZ and/or LXC ?

  1. #121
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Great news! Better guide, near best installation

    Quote Originally Posted by JimGvo View Post
    I'm away from home and was doing it remotely but the server didn't come back up.
    I learned this lesson as well, I do my testing on a VM. Testing is not 100 % on a VM , but at least when the VM fails it is not 300 miles away.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  2. #122
    Join Date
    Jun 2007
    Beans
    57

    Re: Great news! Better guide, near best installation

    Quote Originally Posted by bodhi.zazen View Post
    I learned this lesson as well, I do my testing on a VM. Testing is not 100 % on a VM , but at least when the VM fails it is not 300 miles away.
    For many things I do the same, howerver when compiling and testing an Open
    VZ kernel I can't do it. I suppose I could run virtualbox and then OpenVZ from within, but that's not my environment.

    It's not a big problem since the server is primarily my backup server and since I'm not doing any development, current backups aren't very important.

    Jim.

  3. #123
    Join Date
    Jun 2007
    Beans
    57

    Re: Great news! Better guide, near best installation

    Quote Originally Posted by JimGvo View Post
    As requested I'm commenting on our conversation from the OpenVZ wiki. I apparently built my kernel a couple of days before you modified it. That's why I was using an old kernel. I have successfully built (maybe) a kernel based on 2.6.32-25. I say maybe because it didn't boot. I'm away from home and was doing it remotely but the server didn't come back up. I don't have access to the console from 300 miles from home, so will have to see why it didn't boot the next time I'm home.

    The patching and compiling went along without a hitch.

    Jim.
    I found out why it wasn't working. The -25 generic kernel wasn't working either, so the openvz version didn't have a chance.

    See http://ubuntuforums.org/showthread.p...1#post10093281 for details.

    Jim.

  4. #124

    Re: Lucid and OpenVZ and/or LXC ?

    JimGvo, try the tutorial replacing this URL:
    http://download.openvz.org/kernel/br....1-combined.gz
    For this other one:
    http://download.openvz.org/kernel/br....1-combined.gz

    You will get a package for OpenVZ kernel Linux 2.6.32.22 , and worked fine for me.
    Narcis Garcia

  5. #125
    Join Date
    Jun 2007
    Beans
    57

    Re: Lucid and OpenVZ and/or LXC ?

    Quote Originally Posted by narcisgarcia View Post
    JimGvo, try the tutorial replacing this URL:
    http://download.openvz.org/kernel/br....1-combined.gz
    For this other one:
    http://download.openvz.org/kernel/br....1-combined.gz

    You will get a package for OpenVZ kernel Linux 2.6.32.22 , and worked fine for me.

    I did get a 2.6.32.22 kernel, but it didn't work. It fails with the splash screen showing The disk drive for / is not ready yet or not present.
    Continue to wait: or Press S to skip mounting or M for manual recovery.

    If I press M I get:

    some messages, of little importance and in the dmesg I see

    ext4-fs sda5 mounted fs with ordered data
    vfs mounted root (ext4 fs mode 3 ro on dev 8:5)

    Not much else of interest. If I wait, it never continues, if I press S I get a list of some modules loaded and then:

    init: plymouth main process killed by segv signal

    it then waits for a long time. If I press C-A-D it will reboot so it isn't hung, just pausing. An enter doesn't do anything.

    I'd really hate to have to run RHEL on this system. I'm quite pissed at Ubuntu for abandoning OpenVZ before a viable alternative is stable.

    Jim.

  6. #126

    Re: Lucid and OpenVZ and/or LXC ?

    - Have you read notes about ext4 and OpenVZ (ext3 or disable quotas)?
    - Are you using GRUB1 or GRUB2?
    Narcis Garcia

  7. #127
    Join Date
    Jun 2007
    Beans
    57

    Re: Lucid and OpenVZ and/or LXC ?

    Quote Originally Posted by narcisgarcia View Post
    - Have you read notes about ext4 and OpenVZ (ext3 or disable quotas)?
    - Are you using GRUB1 or GRUB2?
    No I don't know about ext4. I don't use quotas.

    I believe the default is GRUB2. And I think that's what's be used.

    Jim.

  8. #128
    Join Date
    Jan 2008
    Beans
    10

    Re: Lucid and OpenVZ and/or LXC ?

    Quote Originally Posted by ribo View Post
    So, I got into my containers finally, made two of them.
    How did you get past this error?

    Code:
    init: lxc pre-start process (2) terminated with status 32
    I am getting the same thing (trying to set up a new LXC container).

  9. #129
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Lucid and OpenVZ and/or LXC ?

    FYI: There is an openvz kernel available in the Debian repositories.

    See : http://www.howtoforge.com/installing...-squeeze-amd64

    I have not tried this kernel, but you could look at the sources and / or compile your own kernel if you so desire.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #130
    Join Date
    Oct 2007
    Location
    Australia
    Beans
    136

    Re: Lucid and OpenVZ and/or LXC ?

    I have not tried the Debain Squeeze kernel either but I know someone who has (under Debian) and it seems to be working fine for them.

Page 13 of 13 FirstFirst ... 3111213

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •