LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-12-2016, 05:48 PM   #1
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816
Blog Entries: 1

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
installing slackware64-14.1 in openvz container


Hello SlackWorld:

I heard about hostus.us from this thread, and, wanting a slackware VPS, I signed up for unmanaged VPS, logged in, chose rebuild and selected the slackware64-14.1 minimal template. Once it was done and I could ssh into the VPS I did the following:
  1. I created a directory to contain slackware64-14.1 tree, and then used rsync to obtain a local copy of the slackware tree, because I use many packages that didn't come with the minimal template, such as zsh, emacs, etc.
  2. I don't want to mess up my virtual container, so I thought I would play inside a fresh chroot. I created a directory (myroot) for the fresh chroot, and then used i
    Code:
    nstallpkg --root myroot a/*.t?z ap/*.t?z e/*.t?z
    , and did this for everything except kde, x, xap, and y, which I don't need because I don't plan on running X inside this container.
  3. I did the
    Code:
    mount -o bind /proc /myroot/proc
    and the same thing for /sys and for /dev, and then I attempted chroot and received error:
    Code:
    root@lax:~# chroot /myroot 
    FATAL: kernel too old

Hmm... so I tried to learn about the kernel:
Code:
root@lax:~# uname -srov
Linux 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 GNU/Linux
. The same command, on any other slackware64-14.1 system I have installed yields
Code:
uname -srov
Linux 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 GNU/Linux
I concluded that the openvz container is running an old kernel... I check /boot and it's empty.

Is there a way to get linux kernel 3.10.17 functionality out of the hostus.us slackware vps?
 
Old 03-13-2016, 01:40 PM   #2
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816

Original Poster
Blog Entries: 1

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
The answer is: NO!

Jack, at hostus.us, answered my question:
Quote:
OpenVZ is locked at a 2.6.xx custom kernel which has a lot of security and features backported from newer kernels, but not all however. We are unable to upgrade the system kernels of our nodes until openvz releases and moves to a more modern kernel base.
So, I installed slackware64-13.37 into myroot, and chroot works just fine!

In fact, asterisk, lisp, mysql, and the other services I run worked great under 13.37, so I will still not have any issues with hostus.us -- the speed of mirroring slackware was phenomenal compared to DSL at home: like I blinked my eyes and rsync was done.

cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVZ container networking coelhoapm Linux - Virtualization and Cloud 3 10-25-2012 11:17 AM
installing gnome in an OpenVZ container -- /dev/mem: Permission denied gnuweenie Linux - Desktop 1 04-10-2011 07:18 AM
OpenVZ Container Backup vzxen Linux - Virtualization and Cloud 5 09-22-2010 12:53 AM
Reinstall OpenVZ Container OS vzxen Linux - Virtualization and Cloud 0 07-21-2010 01:23 PM
PPTPclient in openVZ container laurens Linux - Newbie 0 03-24-2009 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration