On Sat, Jan 31, 2015 at 12:46 AM, Heinz Diehl
<htd+ml(a)fritha.org> wrote:
> On 30.01.2015, Paul Cartwright wrote:
>
>> I rebuilt the swap partition, did the swapon, and added
>> that UUID to /etc/fstab. Still errored out with same error. I removed
>> the 3.18.3-201 kernel & headers & module, reinstalled them, and now it
>> works. where is that old swap info kept, if not in /etc/fstab??
> In the initramfs, "dracut -f" rebuilds it.
Sounds similar to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1187007
I think for some reason, maybe legacy reasons, dracut is incorrectly
pulling in volumes as dependencies. This is the job of
systemd-fstab-generator, which should look at fstab at create native
systemd units to mount or activate fstab items. And on GPT disks
there's an additional systemd mechanism to activate things based on
partition type GUID in which case they don't need fstab entries at
all.
ok, so I screwed up my f21 install on /dev/sdb6 and it wouldn't boot
because of the swap partition missing.
what I did was install a new copy of f21 on /dev/sdb5, then I copied
/dev/sdb5/boot/* /dev/sdb6/boot and I also updated fstab with the new
swap. I was then able to normally boot back into my /dev/sdb6 f21 with
all of my applications intact.
--
Paul Cartwright
Registered Linux User #367800 and new counter #561587