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

Bug#606313: debian-edu-install: LTSP installation fail when booting ISO as USB stick

Based on feedback from Vagrant on IRC, I was able to get the LTSP
installation working also when installing from a isohybrid USB stick.

This patch did the trick.

--- /tmp/099-mount-cdrom.orig   2010-12-27 12:55:59.000000000 +0100
+++ /tmp/099-mount-cdrom        2010-12-27 12:56:26.000000000 +0100
@@ -11,7 +11,11 @@
         if [ "$MOUNT_CDROM" = "true" ]; then
-            mount /media/cdrom
+            if mount /media/cdrom ; then
+                :
+            else
+                MOUNT_CDROM=false
+            fi

I tried first to just add '|| true' to the mount and umount calls, but
this caused LTSP to install properly but the grub step after it to
fail.  The reason was that the CD was umounted by LTSP, and apt were
unable to mount it again when grub needed to install more packages.
Given that LTSP should only umount what it mounted, I believe my patch
make more sense.

Not sure if we need to make changed LTSP packages to implement this
change in Squeeze, or if we can get away with providing our overrides.

Happy hacking,
Petter Reinholdtsen

Reply to: