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

Bug#440301: iso-scan.postinst fails to find ISO on partitioned USB stick



Jérémy Bobbio <lunar@debian.org> wrote:
> Some changes have been made to iso-scan since Etch was released.  Could
> you please tell us if the bug is still present in current (Lenny) daily
> builds of the debian-installer?

I've finally gotten around to actually rebooting a machine that can boot
from USB. The bug still exists in the daily build of 05-Nov-2007.

My opinion is that list-devices is at fault, not iso-scan.

The hack I've tried this time didn't seem to slow the installer down so
much, so I've included a patch just in case it's useful.
-- 
Sam Couter         |  mailto:sam@couter.id.au
                   |  jabber:sam@teknohaus.dyndns.org
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
--- i.orig/bin/list-devices	2007-11-06 20:55:13.000000000 +1100
+++ i/bin/list-devices	2007-11-06 20:57:27.000000000 +1100
@@ -50,7 +50,7 @@
 	esac
 	# Some USB sticks and CD drives are misdetected as floppy
 	# This allows to scan for those
-	if ! $match && [ "$TYPE" = maybe-usb-floppy ]; then
+	if ! $match && [ "$TYPE" = maybe-usb-floppy -o "$TYPE" = disk ]; then
 		if udevinfo -q env -p "$devpath" 2>/dev/null | \
 		   grep -q '^ID_BUS=usb' && \
 		   udevinfo -q env -p "$devpath" 2>/dev/null | \

Attachment: signature.asc
Description: Digital signature


Reply to: