Revisiting this, it turns out it hangs due to the .disk/info file missing, not README.diskdefines as I previously thought:
A more suitable patch might be: --- scripts/casper-bottom/41apt_cdrom.orig 2011-12-30 09:38:20.033197874 +1100 +++ scripts/casper-bottom/41apt_cdrom 2011-12-30 09:43:53.733197834 +1100 @@ -18,6 +18,10 @@ esac . /scripts/casper-functions +if [ ! -s /.disk/info]; then + exit 0 +fi + mount -n -o bind /sys /root/sys mount -n -o bind /proc /root/proc mount -n -o bind /dev /root/dev -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909919 Title: scripts/casper-bottom/41apt_cdrom is missing some sanity checking, can cause hang on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/casper/+bug/909919/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
