-----Original Message-----
From: Murat Işık [mailto:muratisik@bilgiguvenlik.com]
Sent: 2006年4月1日 4:04
To: fedora-xen(a)redhat.com
Cc: You, Yongkang
Subject: RE: [Fedora-xen] Problem booting jailtime images
Hello,
[root@muratisik fedora]# cat fedora.fc4.xen.cfg
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xen0"
I didn't try to use a xen0 kernel to boot xenU before. I am not sure if it is okay.
But I think you can try vmlinuz-2.6.16-1.2080_FC5xenU which comes from another Xen RPMs.
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']
Although I think this config won't cause the error you meet, I suggest firstly let us
try only use 1 disk for "/" and remove the swap disk config in here and fstab.
If it can boot, then try to add swap back. :)
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?
Maybe you can try another thing. Is your image file's dev/ folder empty? If so, please
mount the xenU image file, and copy your local /dev/* to image file's dev/ . My xenU
dev/ has all device file prepared. ;)
have a nice day.
Best Regards,
Yongkang (Kangkang) 永康