LinuxQuestions.org
Help answer threads with 0 replies.
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 05-08-2012, 12:16 PM   #1
essential1
LQ Newbie
 
Registered: May 2012
Posts: 17

Rep: Reputation: Disabled
xen on ubuntu 10.04 - grub booting problem


hi all,

after not being able to solve a problem with xen on centos (which i posted yesterday), i have tried to install xen on ubuntu since there were so many guides and how tos on how to do so.

i followed the guide here on the ubuntu site. everything until attempting to start xen worked fine, steps 1 (compiling and installing xen) and step 2 (downloading and compiling a dom0) passed without any problem. i can confirm that the dom0 kernel works well by itself as it starts up and runs without any problems.

after editing my grub entry to include the downloaded dom0 kernel, and including xen (included below), i get the message:

error: couldn't open file
error: you need to load the multiboot kernel first

my grub entry is the following, the only thing i can think is that some of the entries might need to have options included, but i have tried with some of the ones mentioned such as including a dummy=dummy on the end of the module entries. however i cannot understand what the problem might be.

menuentry "Xen 4.0.1 / Ubuntu" {
insmod ext2
set root='(hd0,1)'
multiboot [(hd0,1)]/boot/xen.gz dummy=dummy
module [(hd0,1)]/boot/vmlinuz-3.1.0-rc9+
module [(hd0,1)]/boot/initrd.img-3.1.0-rc9+
}


i would really appreciate some help with this, i really want to get a xen built from source working but have been running into all sorts of problems.
 
Old 05-09-2012, 10:07 AM   #2
anon079
Member
 
Registered: Apr 2012
Location: Alexandria, VA
Distribution: Fedora
Posts: 46

Rep: Reputation: 1
Might be easier to use a automated tool the first time and then learn from the entry it creates.

1. install os-prober
2. run os-prober as root
3. grub2-mkconfig -o /boot/grub2/grub.cfg (this directory may change depending on distro)


#That will get you as far as adding the entry. If you want to change the default read on.

1. List the entries: sudo grep menuentry boot/grub2/grub.cfg
2. sudo GRUB_DEFAULT=saved
3. sudo grub2-set-default ='submenu>entry'
 
Old 05-09-2012, 11:31 AM   #3
Fcukinyahoo
Member
 
Registered: Sep 2011
Posts: 44

Rep: Reputation: Disabled
Let me give you a quality advise my friend. I have worked with virtualization for so long. I have dealt with Xen, OpenVZ, KVM tried almost any distro mostly Ubuntu Centos and Suse. In my case they were all headaches one way or another. However, take a look at Proxmox. It is open source and it is everything that you need and easier than you can possibly imagine. I am not exaggerating. It is the best free thing ever. You will be surprised that it is free. It has a web based GUI, especially with a new update 2.1 it is amazing. You can use KVM or openVZ based virtual machines. The folder structure for the VMs is very clear and easy to work with. I am telling you as fact it is amazing.
 
  


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
[SOLVED] Grub problem on dual-booting with Ubuntu 11.04 and Windows Francoo Linux - Newbie 10 07-04-2011 03:12 PM
Grub 1.99 and multi-booting Ubuntu 11.04 32 bit and Ubuntu 11.04 64bit simw Linux - Newbie 10 07-01-2011 10:40 AM
Grub Ubuntu Problem Booting Win2K wroseland Debian 7 12-26-2009 08:31 PM
Problem with grub dual booting windows xp and ubuntu 7.04 Frozen.past Linux - Newbie 36 01-31-2008 08:49 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

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

All times are GMT -5. The time now is 01:39 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