Package: mount
Version: 2.17.2-9
Severity: normal

I thought it would be nice to upgrade from ext3 to ext4 when I copied my
old system to a new disk, but the cloned system failed to boot, claiming
"No such device" when it tried to mount the root partition.

In fact, inspection of the filesystem with the busybox shell showed that
the required partition existed, along with the symbolic links in the
/dev/disk/by-label, /dev/disk/by-uuid, and related subdirectories.

After much searching, I discovered the problem discussed at

        http://lists.debian.org/debian-user/2009/07/msg00864.html

and was able to fix it by adding the ext4 module to
/etc/initramfs-tools/modules and running update-initramfs -u -v -t in
a chroot jail with the appropriate partitions and pseudo-filesystems
mounted.

Much time and effort could have been saved if mount had said
something like "Can't mount ext4 filesystems" instead of giving a
bogus error message.  As the expected type was clearly indicated with a
"rootfstype=ext4" option on the kernel command line, mount had no excuse
for giving a misleading error message.

If this is too hard to fix, a more general error message such as "mount
can't mount /dev/xxx" would have been less misleading.


-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mount depends on:
ii  libblkid1                     2.17.2-9   block device id library
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries
ii  libsepol1                     2.0.41-1   SELinux library for manipulating b
ii  libuuid1                      2.17.2-9   Universally Unique ID library

mount recommends no packages.

Versions of packages mount suggests:
pn  nfs-common                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to