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

Bug#228288: iso-scan: iso-scan exits before doing anything useful

Package: iso-scan
Version: 0.11
Severity: normal
Tags: patch

Hi there,

I was trying to install Debian from my USB camcorder (since the HOWTO
says you need 128 MB, and my USB key is 64 MB only).  My laptop is
rather old and doesn't support booting from USB.  So I booted off
floppy, plugged the camcorder in, and pressed Enter.  But I couldn't
go past the "Scan for ISO images" step.

Line 103 of /var/lib/dpkg/info/iso-scan.postinst reads:
| modprobe loop >/dev/null
It seems that on this bootfloppy-image.img (dated 2004-01-02, but I
can reproduce with the 2004-01-17 one), the loop module can't be
loaded.  Typing "modprobe loop" on tty2 only replies "modprobe: failed
to load module loop", and returns 1 (non-zero) as exit code.
Therefore that line fails, and the whole script exits before doing
anything useful (see "set -e" line 3).  The immediate workaround I
used to be able to claim that I installed Debian on my laptop from my
camcorder was to add a "|| true" to line 103.  I'm aware this might
not be the best fix, but it's a workaround that will work until the
loop module can be modprobe'd.  Using nano on the system being
installed, I was able to continue along the installation process.

  I have no idea why "modprobe loop" fails.  It seems to be loaded
already, but in normal situations that doesn't make modprobe fail.

  Anyway.  Feel free to retitle/reassign this bug to some more
appropriate package.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mirexpress 2.4.24 #1 ven jan 9 16:38:18 CET 2004 i686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8

Reply to: