Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-01-2007, 11:55 AM   #1
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Rep: Reputation: 15
Installing a xen virtual machine from CD media.

Hi all,

I've been experimenting with xen virtualisation. I've followed some examples using existing images and had moderate success: virtualising Ubuntu from an Ubuntu box works perfectly. SuSE, on the other hand, when virtualised from a preprepared image has serious problems. One such issue is a mixed up characterset causing the stdout to be displayed in unreadable symbols.

Is it possible to use a blank image and install a system to it from CD. I have tried a few methods without any joy, along these lines:

cat suse.img

kernel = "/boot/vmlinuz-2.6.16-xen"
ramdisk = "/boot/initrd.img-"
memory = 132
name = "SuSE"
vif = ['bridge=xenbr0']
disk = [ 'file:/opt/images/blank.img,ioemu:hda1,w' , 'file:/tmp/install-image.iso,hdc:cdrom,r' ]
#boot = 'cdrom'
ip = ""
netmask = ""
gateway = ""
hostmane = ""
root = "/dev/hda1 ro"
extra = "4"
with blank.img the result of

dd if=/dev/zero of=/opt/images/blank.img ibs=1024 count=5000000
and an openSuSE 10.0 cd image on /tmp/install-image.iso

the end of the console output when attempting to run this is:
Begin: Running /scripts/init-premount ...
fan: no version for "struct_module" found: kernel tainted.
ata_id[803]: main: HDIO_GET_IDENTITY failed for '/dev/.tmp-22-0'
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Begin: Running /scripts/local-premount ...
mount: Mounting /dev/hda1 on /root failed: No such device
Begin: Running /scripts/local-bottom ...
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox v1.01 (Debian 1:1.01-4ubuntu3) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
I have tried various other ways (including using the hosts CD drive, /dev/hdc, as virtual machines cdrom).

Is this possible?

Any ideas how to accomplish it?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with xen virtual machine marzban123 Linux - Software 1 04-26-2009 09:35 AM
DSL for virtual machine under Xen? Peufelon DamnSmallLinux 1 11-07-2006 06:48 PM
problems with xen virtual machine klinux89 Linux - Kernel 1 10-06-2006 08:47 AM
wan't to run "Virtual Machine Installation (XEN)" on SuSE 10? AQG Linux - Software 1 02-08-2006 11:48 PM
Xen - Virtual Machine - Mandriva 2006 PowerPack wpennington Mandriva 1 11-14-2005 03:53 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:41 PM.

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