[Fedora-xen] problem creating my 1st VM

Mark Nielsen mnielsen at redhat.com
Fri Oct 26 12:01:38 UTC 2007


In addition, you're presenting the disk as hda1. You probably mean to 
present the disk as hda so the partition hda1 on hda isn't confused. As 
Olivier has pointed out though, you appear to have many other issues to 
work through as well.

Mark

Olivier Renault wrote:
> Guillaume wrote:
>> Hi list,
>> I' trying to create my first vm with Xen, and I experience some 
>> problems.
>> I follow some How to's  and xen docs to build my own config file, but
>> maybe, there are some errors inside it.
>> I have the following problem, after i start my guest domain, the
>> kernel boot & then a kernel panix is displayed :
>>
>> VFS: Cannot open root device "hda1" or unknown-block(0,0)
>> Please append a correct "root=" boot option
>> Kernel panic - not syncing: VFS: Unable to mount root fs on 
>> unknown-block(0,0)
>>
>> I try to start this Virtual machine from vmware workstation where i
>> install Xen (Dom0 work perfectly).
>>
>> My config is make up of these lines :
>> kernel = "/boot/vmlinuz-2.6.20-2936.fc7xen"
>> root = "/dev/hda1 ro"
>> name = "test_Linux"
>> cdrom = "/dev/cdrom"
>> memory = "128"
>> builder = "linux"
>> name = "linux"
>> disk = [ "file:/xenroot/linux/linux.xdi,hda1,w" ]
>>
>> Additionnals questions :
>> a) Does i must use a modified Xen linux kernel, or, can I use a
>> "normal/standard" kernel to boot up my VM?
>> b) Is it possible to start a fresh install of Fedora directly from dvd
>> in a guest domain (I mean without creating & mounting disk image/VM
>> partition and copying root file system in it? If yes, how ?
>>
>> Thanks for your replyes.
>>
> Hi,
>
> I am not sure how you have installed your VM ? You should try to 
> reinstall the VM using virt-install (command line) / virt-manager (GUI).
>
> It is not great to try a virtualisation solution inside another one ( 
> you may have strange behaviour / poor performance ).
>
> a) You need to run the xen kernel in order to use xen.
>
> b) To install a paravirtualise VM you will need to have an install 
> tree exported as http. You can simply mount the DVD on /var/www/html 
> and start the http server.
>
> You may want to read
> http://fedoraproject.org/wiki/Docs/Fedora7VirtQuickStart
>
> Good luck,
> Olivier
>
> -- 
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnielsen.vcf
Type: text/x-vcard
Size: 177 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20071026/aa10abcc/attachment.vcf>


More information about the Fedora-xen mailing list