Hello,
thanks for the reply. actually here is what I have/did:
[root@muratisik ~]# cd /xen/fedora/
[root@muratisik fedora]# ls
fedora.fc4.img fedora.fc4.xen.cfg fedora.swap
[root@muratisik fedora]# cat fedora.fc4.xen.cfg
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xen0"
memory = 128
name = "fedora.fc4"
nics = 1
dhcp = "dhcp"
disk = [''file:/xen/fedora/fedora.fc4.img,sda1,w'',
''file:/xen/fedora/fedora.swap,sda2,w'']
root = "/dev/sda1 ro"
[root@muratisik fedora]# mount -o loop fedora.fc4.img /mnt/
[root@muratisik fedora]# cat /mnt/etc/fstab
# This file is edited by fstab-sync - see ''man fstab-sync'' for
details
/dev/sda1 / ext3 defaults 1 1
/dev/sda2 none swap sw 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
[root@muratisik fedora]# umount /mnt/
[root@muratisik fedora]# xm create fedora.fc4.xen.cfg -c
and the error appears:
...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" 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)
[<c011c42c>] panic+0x3c/0x190
[<c03c6a5c>] mount_block_root+0x19c/0x1aa
[<c03c6ab3>] mount_root+0x49/0x4e
[<c03c6b78>] prepare_namespace+0xc0/0xf1
[<c0102267>] init+0x23e/0x2fe
[<c0102029>] init+0x0/0x2fe
[<c01029ad>] kernel_thread_helper+0x5/0xb
Then I changed both image''s fstab to hda1 and hda2 , also editted cfg
to
match hdas. and I get the same error. any ideas? is there any more
information (log, config, debug vs.) I can supply?
have a nice day.
>>
>>Hello,
>>
>>After installing a fresh fc5, I followed
>>fedoraproject.org/wiki/FedoraXenQuickstartFC5 up until
>> xenguest-install.py
>>part. After that point for a quick try I downloaded both fc4 and debian
>>prebuilt images from jailtime.org . However both images, as I boot them
>>with xm create -c {related one}.cfg , crash with this error:
>>
>>VFS: Cannot open root device "sda1" 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 did extensive googling and mounted the images, cheking their fstab and
>>so on. Everything looks fine. But the problem is unresolved.
>
> Did you use the ''/dev/sda1'' as the root boot option in
xenU config?
> And the xenU fstab also used sda1?
> Change they to /dev/hda1 and have a try.
>
>>
>>Does anybody have any experiences with jailtime images? any suggestions?
>>BTW my host fc5 has LVM partitioning. Very unlikely but can this have an
>>effect?
>>
>>Have a nice day.
>>
>>
>>--
>>Murat Isik
>>www.bilgiguvenlik.com
>>
>>--
>
>
> Best Regards,
> Yongkang (Kangkang) ÓÀ¿µ
>