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-users

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

To: defjam01 <defjam01@xxxxxxxx>
Subject: Re: [Xen-users] root filesystem missing loading Debian Sarge DomU
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: Tue, 07 Nov 2006 08:52:25 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Nov 2006 23:52:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <454F76B9.7090506@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <454F76B9.7090506@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
Hi!

I think your debian-system is missing the device-file for hda1 in /dev
You can either create one by mounting your filesystem in dom0 and do a

    mknod <path_to_debian_dev>/hda1 b 3 1

or better chroot into your debian-system and do a

    apt-get install udev


Patrick

> 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
>   


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

<Prev in Thread] Current Thread [Next in Thread>