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

Re: [Xen-users] switchroot mount failed


  • To: "Kanwar Ranbir Sandhu" <m3freak@xxxxxxxxxx>
  • From: "vineet chadha" <virtual.chadha@xxxxxxxxx>
  • Date: Fri, 16 Jun 2006 15:57:19 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 16 Jun 2006 15:57:58 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=OeKC5jyzu2ZT0/DhhPRcq4F4HiGZHBmgw6hqjn9sH9MvgMR1Kv+fSOibpw2xD6KRu+HRnbwwoyGYn+uS8l2ViXfmiIQ8OexAVarPfd2qyrKxyA7M4SfB94I1rUbivrIyRSO3o/k98rpFXbTSBp2KqR2vzI6NwjluGKoOGDT05a4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I checked /dev/ is also there. Also, I have tested with xen-unstable, I do get switchroot problem. For now, I have moved to another machine to work on.

On 6/14/06, Kanwar Ranbir Sandhu <m3freak@xxxxxxxxxx> wrote:
On Tue, 2006-13-06 at 08:42 -0700, vineet chadha wrote:
>
> I am running xen3.0.2  and xen unstable on RHEL 4, and get this error
> when trying to boot Xen kernel(domain0) \
> ......
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> mount: error 2 mounting none
> Switching to new root
> switchroot: mount failed: 22

I've been using Xen on a CentOS 4 system for about a month, and I've had
my share of problems: this was one of them.

In my case, I was setting up a second domU, and every time I would boot
it, it would freeze at the "Switching to new root" step.  It was quite
puzzling because the new domU was based on an existing one that was
working perfectly.

During my trouble shooting, I discovered that my base image didn't have
a /dev directory.  So, I created a /dev directory  (empty of course,
since CentOS 4 uses udev), unmounted the logical volume that contained
the domU, started it, and behold, it finished booting.  It's now running
smoothly.

Sooo, you might want to check that /dev exists before you start the
domU.  Even though /dev is populated at boot time, it seems a /dev
directory must first exist.

Regards,

Ranbir
--
Kanwar Ranbir Sandhu
Linux 2.6.16-1.2111_FC4 i686 GNU/Linux
00:21:29 up 1 day, 17:51, 4 users, load average: 0.39, 0.12, 0.04



_______________________________________________
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

 


Rackspace

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