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.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! |