sorry for bad pasting, fixed below. >From a325394f1f4574a0df159b7228545701c73e8cad Mon Sep 17 00:00:00 2001 From: maximilian attems <m...@debian.org> Date: Fri, 27 Sep 2013 10:43:57 +0200 Subject: [PATCH] init: parse UUID for resume arg
This should unbreak lvm resume arg for the case of: "Make sure you have a LVM volume group ready. Slide in a swap partition as a logical volume. You should have something like RESUME=/dev/mapper/vg0-swap_1 in your /etc/initramfs-tools/conf.d/resume, and a similar entry in your /etc/fstab. Check that you have initramfs-tools 0.114 installed, and update your initrd, if you haven't done so already. Next, check the $RESUME that's configured in your initrd like so: $ zcat /boot/initrd.img-$(uname -r) | cpio -i --to-stdout --quiet conf/conf.d/resume RESUME=UUID=2806fd03-ddfe-43b6-a339-b4bb051c20d4 " Reported-by: Nikolaus Schulz <n...@htonl.de> Signed-off-by: maximilian attems <m...@debian.org> --- init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init b/init index cb832ff..7990977 100755 --- a/init +++ b/init @@ -133,6 +133,10 @@ for x in $(cat /proc/cmdline); do ;; resume=*) RESUME="${x#resume=}" + case $RESUME in + UUID=*) + RESUME="/dev/disk/by-uuid/${RESUME#UUID=}" + esac ;; resume_offset=*) resume_offset="${x#resume_offset=}" -- 1.8.4.rc3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org