Bug#594545: initramfs-tools: "mount" command fails to mount root filesystem.
On Fri, 27 Aug 2010, Jakub Krzyżewski wrote:
> Package: initramfs-tools
> Version: 0.98
> Severity: normal
> Tags: squeeze
>
> I have lvm2 + xen4 system, I prepared domu image with xen-create-image, but it dosn't boot, with error:
>
> Begin: Running /scripts/local-premount ... done.
> mount: mounting /dev/xvda1 on /root failed: No such device
> Begin: Running /scripts/local-bottom ... done.
>
> but:
> (initramfs) cat /proc/partitions
> major minor #blocks name
>
> 202 1 10485760 xvda1
> 202 2 1048576 xvda2
> 202 3 20971520 xvda3
> 202 4 20971520 xvda4
>
> (initramfs) ls -al /dev/xvda*
> brw------- 1 0 0 202, 1 Aug 27 00:02 /dev/xvda1
> brw------- 1 0 0 202, 2 Aug 27 00:02 /dev/xvda2
> brw------- 1 0 0 202, 3 Aug 27 00:02 /dev/xvda3
> brw------- 1 0 0 202, 4 Aug 27 00:02 /dev/xvda4
>
> (initramfs) fstype /dev/xvda1
> FSTYPE=ext3
> FSSIZE=10737418240
>
> (initramfs) mount -t ext3 /dev/xvda1 /root
> mount: mounting /dev/xvda1 on /root failed: No such device
> (initramfs)
which mount binary is this?
which mount
mount --version
can see this error in klibc mount. please also post
lsinitramfs /boot/initrd.img-<respective_version> | grep mount
Reply to: