В Thu, 30 Jul 2015 11:24:18 -0600
Chris Murphy
On Thu, Jul 30, 2015 at 12:28 AM, Andrei Borzenkov
wrote: On Thu, Jul 30, 2015 at 7:07 AM, Chris Murphy
wrote: On Wed, Jul 29, 2015 at 9:22 PM, Andrei Borzenkov
wrote: В Wed, 29 Jul 2015 20:51:30 -0600 Chris Murphy
пишет: On Wed, Jul 29, 2015 at 8:10 PM, Carlos E. R.
wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-30 04:03, Chris Murphy wrote:
> It's not a bad idea to run dracut -f to rebuild the initramfs. I > don't know why but I still sometimes find UUIDs for volumes baked > into the initramfs, which really doesn't seem like a great idea. > All of that info really should come from boot parameters and > /etc/fstab.
fstab can not be read that early.
a. Why not?
Because you do not know where it is yet. You can't look in /etc/fstab for UUID of root.
root=UUID= on the boot parameter defines root, and rootflags= defines the mount options, I don't even need root in fstab.
Then do not mention it at all. It just creates confusion for casual readers who are not deep in all these problems.
Oh right, but they're deep into directly related problems not of their own choosing because of missing test coverage to realize that snapper configuration fills up the volume; user wants to switch from btrfs and asks how to do that; I suggest it should also include new initramfs because some UUIDs are wrongly baked in and can cause boot failure; and then I'm asked to qualify how that happens and I do and then you say I shouldn't have mentioned it.
Very entertaining logic.
Again - you cannot get information about rootfs from /etc/fstab that is located on rootfs. That is that simple. Information about rootfs can come from kernel parameter or from initrd. openSUSE includes information in initrd as fallback. Kernel command line takes precedence (should - if not, it a bug); defaults in initrd are used only if there is no explicit root=xxx option. Where /etc/fstab comes in play here? You still did not answer it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org