LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-01-2007, 10:55 AM   #1
ChrisScott
Member
 
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:

Code:
cat suse.img

kernel = "/boot/vmlinuz-2.6.16-xen"
ramdisk = "/boot/initrd.img-2.6.16.33-xen"
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'
#cdrom='/dev/hdc'
ip = "141.89.179.79"
netmask = "255.255.240.0"
gateway = "141.89.179.254"
hostmane = "gambit.pw.picdar.co.uk"
root = "/dev/hda1 ro"
extra = "4"
with blank.img the result of

Code:
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:
Code:
Done.
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'
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
Done.
mount: Mounting /dev/hda1 on /root failed: No such device
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
Done.
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?
 
  


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 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 08:35 AM
DSL for virtual machine under Xen? Peufelon DamnSmallLinux 1 11-07-2006 05:48 PM
problems with xen virtual machine klinux89 Linux - Kernel 1 10-06-2006 07:47 AM
wan't to run "Virtual Machine Installation (XEN)" on SuSE 10? AQG Linux - Software 1 02-08-2006 10:48 PM
Xen - Virtual Machine - Mandriva 2006 PowerPack wpennington Mandriva 1 11-14-2005 02:53 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration