WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Problems booting domU

Hi, Rodrigo

>VFS: Cannot open root device "sda7" 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)
This message is shown when disk configuration is wrong.

>
>My "new" domU configuration:
>
>name="vm01"
>#kernel="/boot/efi/efi/debian/vmlinuz-2.6.16.13-xenU"
>kernel="/boot/vmlinuz-2.6.16.13-xenU"
>root="/dev/sda7 ro"
>memory=128
>disk=['file:/vserver/images/vm01.img,sda7,w','file:/vserver/images/vm01-
>swap.im$vif=['']
I look like the above disk configuration is wrong...
And please use hda(not use sda) in domU.

Can you make sure that /etc/fstab in domU's image and disk =[ 'xxx' ] in 
domU config are correct?

Please see my old mail. 
/etc/fstab in domU's image and disk =[ 'xxx' ] in domU config are the 
same one.
>---------------------------------
>Make OSimg for DomU
> 1. make file
>    # dd if=/dev/zero of=/root/rhel4.img bs=1M count=4096
>    # mke2fs -F -j /root/rhel4.img
>    # mount -o loop /root/rhel4.img /mnt
>    # cp -ax /{dev,var,etc,usr,bin,sbin,lib} /mnt
>    # mkdir /mnt/{root,proc,sys,home,tmp}
>
> 2. modify DomU's fstab
>    # vi /mnt/etc/fstab 
>       /dev/hda1   /            ext3    defaults        1 1   <-----this one
>       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
>

> 3. make config of DomU
>   # vi /etc/xen/rhel4
>     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen"
>     memory = 384
>     name = "rhel4"
>     nics=0
>     disk = [ 'file:/root/rhel4.img,hda1,w' ] <-------this one
>     root = "/dev/hda1 ro"
>     extra = "3"
> 


Best Regards,

Akio Takebe


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel