[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Hardware virtualization
What is your level of linux knowledge? Or IT at all?
This ISO contains LIVE version of Gentoo. Something like minimal
ubuntu that's neccesary for ubuntu installation. You don't need to
create anything. Go through install process and then you'll have
your own system installed on domu-01.img.
Dne 6.5.2013 15:18, Luisa Posani
napsal(a):
Hi Jan
I'm downloading
install-amd64-minimal-20130425.iso
and I try to work.
If I haven't this minimal image it's possible to work?
What does it contains?
How can I create this image?
--- Lun 6/5/13, Jan Hejl <jh@xxxxxxxxxx>
ha scritto:
Da: Jan Hejl <jh@xxxxxxxxxx>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@xxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxx
Data: Lunedì 6 maggio 2013, 14:59
Create domU config file in /etc/xen/domu-01.cfg:
builder='hvm'
memory = 2048
name = "DomU-01"
vcpus=2
vif = [ 'bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000, mac=00:16:3e:63:80:88' ]
disk = [ 'file:/root/domu-01.img,hda,w',
'file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r'
]
boot="dc"
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''
Download
this http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso
to your /root folder. Create hard drive image:
dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000
Start your domU with:
xl create /etc/xen/domu-01.cfg
Then you should be able to connect with Remmina to
localhosts VNC and then you'll see Gentoo Live CD
booting. Here's how to install Gentoo http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml.
Chapter 7 describes kernel compiling - custom
config or genkernel.
When you'll be done with Gentoo installation, you
shold poweroff you domU, change boot value to:
boot="cd"
And after:
xl create /etc/xen/domu-01.cfg
you should see your Gentoo booting up.
Hope this helps.
Jan
Dne 6.5.2013 14:41, Luisa Posani napsal(a):
Can
you suggest me the simplest way to create
a VM linux from scratch using kernel code
source?
tks
Luisa
--- Lun 6/5/13, Jan Hejl <jh@xxxxxxxxxx>
ha scritto:
Da: Jan Hejl <jh@xxxxxxxxxx>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani" <lposani@xxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxx
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also.
Great tool.
'disk = ' is used for defining VM's
hard drive. I'm not familiar with
buildroot but as I read about CPIO
it's file archiver and Xen disk
image should be in RAW format. So
you should extract rootfs.cpio to
raw disk image which could be
created with dd. Example:
dd if=/dev/zero of=rootfs.img bs=1M count=10000
As with normal hard drive you can
use fdisk make some partitions on
rootfs.img, format them and extract
rootfs.cpio there. Then you can set
this harddrive img in your xen
config file for HVM style (hda but
it should apper as sda inside domU):
disk = [ 'file:/path/to/rootfs.img,hda,w' ]
Or you can pass the path to
rootfs.img to xen-create-image. If
rootfs.cpio contains all files
including kernel image it should
boot normally. As I wrote I'm not
familiar with buildroot thus you're
little bit on your own in this case
and i'm sorry for not being more
straightforward but you're using
specific scenario. Maybe I'll save
some time for testing this and let
you know later on.
Have a nice day
Jan
Dne
6.5.2013 12:38, Luisa Posani
napsal(a):
Hi Jan
I launch my windows VM
whit graphical program
named "Remmina Remote
desktop client" and it
work well..
:-) :-) :-) :-)
Maybe
I was
wrong a
few parameters to
launch
manual
gncviewer
Let
me explain what is my main
problem.
I
would like to start a virtual machine created
with
buildroot
standard
WHITOUT
XEN drivers
in the VM.
I
have some problems
creating the configuration file for
this
virtual machine.
I
don't know if I have to work
with a ramdisk (rootfs.cpio
created
by
buildroot)
or not
and
what
should be the configuration file under
(p.e.) /etc/xen/VM_buildroot.
I
don't understand
the
meaning of the
'disk
=' in
the configuration file.
you
know a
tutorial that I could follow
to create this file?
Xen
provides
the xen-create-image
command
to
create the file, but I
do not know how to give parameters
to the command
(initrd
install-install-source method
...)
Can you help me?
Thanks
in advance.
Luisa
--- Gio 25/4/13, Jan
Hejl <jh@xxxxxxxxxx>
ha scritto:
Da: Jan Hejl <jh@xxxxxxxxxx>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: "Luisa Posani" <lposani@xxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxx
Data: Giovedì 25 Aprile
2013, 11:19
Hi Luisa,
great, so you're cpu
is capable for
running Xen. The
reason why you don't
see it is explained
here http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear.
You've already start
your system with xen
and tried to start
Windows Xp domU as
this guide
describes, do you?
And the problem is
that you can't
connect to your
Windows XP domU with
GNCVIEWER or
something else? Is
your domU running?
What does the "xl
start" command say?
Thank you and have a
nice day
Jan
Dne
24.4.2013 17:54,
Luisa Posani
napsal(a):
Hi
if I make
/proc/cpuinfo
flags
without xen I
found vmx.
when I start
PC with xen
flag vmx
doesn't
appare.
Why?
I would like
use a guest OS
make with
buildroot
"standard"
without xen
driver.
I use http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn't
work
correctly.
Doesn't work
gvncviewer for
using a window
XP iso image
and now I'm
compiling a
buildroot
standard
(qemu_x86
config).
Luisa
--- Mer
24/4/13, Jan
Hejl <jh@xxxxxxxxxx>
ha scritto:
Da: Jan Hejl <jh@xxxxxxxxxx>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A: "Luisa
Posani" <lposani@xxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxx
Data:
Mercoledì 24
Aprile 2013,
17:08
Thank's
for your
indication.
I can't find
my cpu in your
list.
In my PC I can
enable the
virtualization
from BIOS.
I don't
understand the
difference.
Can you help
me please?
Luisa
--- Mer
24/4/13, Jan
Hejl <jh@xxxxxxxxxx>
ha scritto:
Da: Jan Hejl <jh@xxxxxxxxxx>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A: xen-users@xxxxxxxxxxxxx
Data:
Mercoledì 24
Aprile 2013,
10:35
Hello
Luisa,
here http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list
IOMMU
supporting
hardware, this
is a good
point to
start. IOMMU
is not
necessary for
virtualization,
but hardware
listed here
supports VM.
Jan
Dne
24.4.2013
09:43, Luisa
Posani
napsal(a):
Hi
It's my
first experience with
xen
I would like
to use a OS linux create by buildroot like a
guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn't
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
-----Segue
allegato-----
|
-----Segue
allegato-----
|
|
|
-----Segue allegato-----
|
|
Attachment:
smime.p7s
Description: Elektronicky podpis S/MIME
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|