On 07/02/2015 01:23 PM, Chris Murphy wrote:
On Thu, Jul 2, 2015 at 10:57 AM, Glenn Holmer
wrote: openSUSE Tumbleweed here on a multi-boot system. One of the other Linux installs reformatted the swap partition, so it has a different UUID now. As far as I can tell, that's keeping SUSE from booting, because it drops to an emergency shell and one of the last messages I see says that the UUID for the swap partition doesn't exist.
I edited /etc/fstab to change it to match /dev/disk/by-uuid, and I also edited the "resume=" lines in grub.cfg, but it still won't boot (with the same message referencing the old UUID). I can't find anyplace else where the old UUID is specified.
Anybody have any ideas?
This sounds like a dracut bug, where the initramfs has that UUID baked into it. Try rebuilding the initramfs and see if that fixes the problem.
Yes, that definitely seems to be it. From the rescue system, lsinitrd shows some files with names including that UUID. I don't quite understand that; hard-coding something like that into the initrd seems... how shall I put it... unwise. But now I'm stuck. How do I re-create the initrd if I can only get to an emergency shell (or boot from the rescue DVD)? Does anyone know how to do this? It's complicated by the fact that I keep /boot on a separate partition. -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org