[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] root filesystem missing loading Debian Sarge DomU



hello everybody,

i have a problem running my domU which is a debian sarge. i did the
following things to get it so far as i am now:

host system: fedora core 5 dom0 with xen 3.0.3 and the xen 2.6.18-1.2200
kernel for the host fedora machine.
virtual xen machine: downloaded on a debian sarge with debootstrap the
needed files (/etc/../boot/.../proc/ etc.)
and copyÂd everything except the /dev (because there were a lot of
errors by coping it to the fedora system) to the fedora system in a
image (3gb). i also have a swapimage for the virtual machine (512mb).

the configuration file (vm01.cfg) has the following entries:
-----------
kernel = "/boot/vmlinuz-2.6.18-1.2200.fc5xenU"
memory = 128
root = "/dev/hda1"
name = "vm01"
vif = [ '' ]
dhcp = "dhcp"
disk =
['file:/vserver/vm01/diskimage,hda1,w','file:/vserver/vm01/swapimage,hda2,w'
]
-------------
i also tried to replace the hda1 with sda1 (also in the fstab of the
virtual machine!)

the fstab in the virtual machine consists of the following lines:
------------
/dev/hda1 / ext3 errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
-------------

i also made manually a /dev directory in the imagefile for the virtual
machine.created with this script:

for i in console null zero ; do /mnt/vm01/dev/MAKEDEV -d /mnt/dev -x $i ; done


so when i start the virtual machine i get the following output (cutted
out only the important things):

---------------------------------
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing unused kernel memory: 144k freed
Write protecting the kernel read-only data: 258k
INIT: version 2.86 booting
Activating swap.

The device node /dev/hda1 for the root filesystem is missing,
incorrect, or there is no entry for the root filesystem
listed in /etc/fstab.

The system is also unable to create a temporary node in
/dev/shm to use as a work-around.

This means you have to fix this manually.

CONTROL-D will exit from this shell and REBOOT the system.

Press enter for maintenance
---------------------------------------------

so i dont know why i get this errors...the startsequence says that there
is an ext3 system in /dev/hda but why cant i get into the system...when
i type enter i see all the folders (/etc/.../src/ etc.)

can anybody help me?

thanks a lot
Alexandros


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.