On 07/02/2015 10:33 PM, Glenn Holmer wrote:
On 07/02/2015 06:11 PM, Anton Aylward wrote:
On 07/02/2015 05:43 PM, Glenn Holmer wrote:
hard-coding something like that into the initrd seems... how shall I put it... unwise.
+1
Indeed, https://dracut.wiki.kernel.org/index.php/Main_Page says:
"Unlike existing initramfs's, dracut's framework attempts at having as little as possible hard-coded into the initramfs as possible."
And why is the swap UUID also hardcoded in /etc/default/grub?
I don't know about "hardcoded" Mine has GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-label/SWAP splash=silent quiet showopts" lets face it, label makes more sense. I'm on the verge of giving up on BtrFS for my RootFS. LVM means I can easily create a new LV and use rsync, excluding .snapshot, to copy it across to a extNFS or ResierFS, or even experiment with XFS or NilFS2 should i be so inclined. I don't have to worry about UUID, I just rename the relevant file systems. heck, typing UUIDs by hand is so error prone! Typing "ROOT" or "SWAP" is so much easier :-) Further down in that config file I also have # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux GRUB_DISABLE_LINUX_UUID=true YMMV. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org