Bug#460456: live-initramfs: live script unable to mount USB sqaushfs filesystem.
- Subject: Bug#460456: live-initramfs: live script unable to mount USB sqaushfs filesystem.
- From: jplejacq at quoininc.com (Jean Pierre LeJacq)
- Date: Sat, 12 Jan 2008 15:38:33 -0500
- Message-id: <[🔎] 200801121538.33594.jplejacq@quoininc.com>
Package: live-initramfs
Version: 1.110.5-1
Severity: grave
Tags: patch
Justification: renders package unusable
The live script uses a mount command that specifies the type of the filesystem
to mount. For some reason this fails dropping me into the initramfs prompt. I
get the following in the live.log file:
debug: Can not mount backev /dev/loop0 (image
= /live/image/live/filesystem.squashfs) on
croot/imagename //filesystem.squashfs
mount: failed ...
I've attached a patch that removes the type which allows the mount to
complete.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-qi.dv6200 (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 live-initramfs depends on:
ii busybox 1:1.1.3-5 Tiny utilities for small and
embed
ii file 4.21-4 Determines file type
using "magic"
ii initramfs-tools 0.91d tools for generating an initramfs
ii sudo 1.6.9p10-1 Provide limited super user
privile
ii user-setup 1.16 Set up initial user and password
Versions of packages live-initramfs recommends:
ii eject 2.1.5-6 ejects CDs and operates
CD-Changer
pn live-initscripts <none> (no description available)
ii wget 1.10.2-3 retrieves files from the web
-------------- next part --------------
--- live.orig 2008-01-11 15:51:27.000000000 -0500
+++ live 2008-01-11 15:51:48.000000000 -0500
@@ -963,8 +963,8 @@
fi
mkdir -p "${croot}/${imagename}"
- echo "debug: Can not mount backdev ${backdev} (image = ${image}) on croot/imagename ${croot}/${imagename}"
- mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}"
+# echo "debug: Can not mount backdev ${backdev} (image = ${image}) on croot/imagename ${croot}/${imagename}"
+ mount -o ro,noatime "${backdev}" "${croot}${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}"
fi
done
Reply to: