Comment 21 for bug 499940

Peter Clifton (pcjc2) wrote :

I'm trying this:

--- /usr/share/initramfs-tools/init 2010-02-17 12:35:26.000000000 +0000
+++ init 2010-02-21 15:53:56.085750219 +0000
@@ -193,7 +193,7 @@
 done

 if [ -z "${noresume}" ]; then
- export resume=${RESUME}
+ export resume="/dev/disk/by-uuid/${RESUME#UUID=}"
 else
  export noresume
 fi

/etc/initramfs-tools/conf.d/resume contains a UUID=.... type resume string, but the /bin/resume binary in the initramfs rejects this type of partition identification.