LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-16-2016, 10:08 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Xen on Ubuntu 16.04


I have been trying to install XEN on Ubuntu 16.04 using following guide: https://wiki.xen.org/wiki/Xen_Project_Beginners_Guide

I stopped at chapter: Installing the Xen Project Software hitting following error
Code:
root@xPC:~# apt-get -P install xen-linux-system
E: Command line option 'P' [from -P] is not understood in combination with the other options.
root@xPC:~# apt-get install xen-linux-system
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package xen-linux-system
This how-to describes Debian installation and I am on Ubuntu 16.04 + this how-to might be outdated.
I was trying to find some how-to specifically to Ubuntu 16.04 but no luck.

Maybe some someone here can give me some hints how to proceed further.
Note: this is my first approach to XEN
 
Old 08-16-2016, 12:17 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Note that on Ubuntu the package name is different, so the installation line may look more like:

Code:
sudo apt-get install xen-hypervisor-4.4-amd64
Says https://wiki.xen.org/wiki/Xen_Project_Beginners_Guide

If you added a debian repo to your Ubuntu's /etc/apt/sources.list, you may be in a world of hurt.

output of
Code:
sudo cat /etc/apt/sources.list
please.

Last edited by Habitual; 08-16-2016 at 01:17 PM.
 
Old 08-17-2016, 03:54 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hi, thanks for reply
I guess installing just only package "xen-hypervisor-4.4-amd64" is not enough ?
I did not modify /etc/apt/sources.list but here is full output of it.



Code:
root@xPC:~# cat /etc/apt/sources.list
#deb cdrom:[Xubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ch.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ch.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ch.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ch.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ch.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ch.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ch.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://ch.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
 
Old 08-17-2016, 09:58 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by czezz View Post
Hi, thanks for reply
I guess installing just only package "xen-hypervisor-4.4-amd64" is not enough ?
Did you even read https://wiki.xen.org/wiki/Xen_Project_Beginners_Guide ?
where it teases "Now we have a Xen Project hypervisor, a Xen Project kernel and the userland tools installed, almost ready to go"...
Don't "guess". Linux doesn't.

Get some!

Last edited by Habitual; 08-17-2016 at 03:16 PM.
 
Old 08-18-2016, 05:44 AM   #5
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hi, yes I tried that.
After installation this pkg I tried to boot system with new Xen kernel. It ended up with black screen
 
Old 08-18-2016, 06:55 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by czezz View Post
Hi, yes I tried that.
After installation this pkg I tried to boot system with new Xen kernel. It ended up with black screen
Only "black screen" related issue I heard about is to use "nomodeset" on the kernel line during boot.
I don't know how to do that, so I gurgled it.
Found http://askubuntu.com/questions/20717...eset-do#207177 for starters.
and http://askubuntu.com/questions/38780...stalled-ubuntu

But I'm guessing it's not the Xen install
What happens before "ended up"? Do you see the boot menu?

Last edited by Habitual; 08-18-2016 at 07:01 AM.
 
Old 08-18-2016, 09:44 AM   #7
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hi, thanks for still looking into this.
Adding "nomodeset" helps a bit but still no joy.

1. It starts to boot up
2. It displays information about loading kernel
3. It displays message/error mce: Unable to init device /dev/mcelog (rc: -16)

in case: without "nomodeset"
4. It goes to black screen - hard reset required

in case : with "nomodeset"
4. ubuntu splash screen shows up
5. black screen with cursor blinking in top left cornet - ALT+CTRL+Del to restart

Here is a short video for case with "nomodeset"
https://sendvid.com/8u8nsdpw
 
Old 08-18-2016, 10:15 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I don't know, sorry.
 
Old 10-11-2016, 04:08 PM   #9
Bhagyesh
Member
 
Registered: Jul 2009
Posts: 35

Rep: Reputation: 17
Sorry - posted on wrong thread..
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sync Xen 4.1.2-rc(X) on Ubuntu 11.10 with tip of xen-4.1-testing.hg LXer Syndicated Linux News 0 07-31-2011 10:21 PM
LXer: Xen 3.3.1 port to Ubuntu Intrepid Server via Novell’s Xen-ified kernel 2.6.27.5 LXer Syndicated Linux News 0 01-29-2009 07:42 PM
LXer: Setup Xen 3.3.0 Ubuntu Intrepid Server Dom0 via build xen-kernel based on http: LXer Syndicated Linux News 0 01-03-2009 05:50 PM
LXer: Setup Xen 3.3.0 Ubuntu Intrepid Server Dom0 via build xen-kernel based on http: LXer Syndicated Linux News 0 01-03-2009 12:00 PM
LXer: Backport Intrepid Xen 3.3 Hypervisor to Ubuntu Hardy Dom0 (2.6.24-21-xen) LXer Syndicated Linux News 0 11-13-2008 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:59 PM.

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