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
|