I had the same thing in my resume file: RESUME=/dev/mapper/NC6320-swap_1
Changing it to: RESUME=/dev/mapper/NC6320-swaparea Didn't help and broke resuming. After a bit of researching on how to rebuild initrd, I ran update-initramfs -u and it rebuilt my initrd, which in my case was: /boot/initrd.img-3.2.0-4-686-pae Rebooting and no LVM error :) Problem solved! Thanks everyone!! :D On 20 June 2013 15:27, Sverre Våbenø <sv...@online.no> wrote: > Den 20. juni 2013 08:17, skrev 黃健毅: > > Hi there, I have a warning/error popping up during boot which says Debian > can't find one or more of my logical volumes - the one in question is > swap_1. This is actually correct, because I removed it and created a new > swap LV (named swaparea) - with the relevant updates in fstab, so that I > could resize my PV and make space to create a dual boot system. > > Whilst the new LV swap works fine, each time I boot up my laptop, or resume > it from hibernate, I see this warning/error about swap_1 (which no longer > exists.) > > Resuming also doesn't work properly now (state doesn't get resumed > correctly), but not a huge problem right now. > > Does anyone know why swap_1 is still being referenced, and where that > reference is? And how I can remove this reference to stop the error? When I > posted this question on LinuxQuestions, one of the comments came back saying > that the kernel may be hardcoded to look for "swap_1" - but I find that a > bit hard to believe, IMO. > > Your problem sounds similar to one I had when I installed Debian a while > ago. I reused the LVM layout from a previous install of Fedora for testing. > I checked /etc/fstab and also tried rebuilding the initramfs as Ralf Mardorf > suggested, but the error message remained. > > I grepped /etc for "fedora_swap" and found it in the file > /etc/initramfs-tools/conf.d/resume > > I changed this file so that it read > "RESUME=/dev/mapper/debian-swap" > and NOT > "RESUME=/dev/mapper/fedora-swap" > > You should obviously change from "swap_1" to "swaparea" in your case. > I cannot remember if I had to rebuild the initramfs after making this > change, so but you might want to try to do so if the problem remains. > > My install is on a desktop computer that is powered on 24/7, so I have not > tried resume. > > Good luck! > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cag0rmd7vx-z6o5hnz7rounvyulxb_spmhjbhwrtgst4t8pd...@mail.gmail.com