Summary: | sys-kernel/dracut-037 & LVM: fail to mount /usr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan Baidakou (dmol) <the.dmol> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | alexander, the.dmol |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | rdsosreport.txt |
Description
Ivan Baidakou (dmol)
2014-04-14 21:01:23 UTC
Created attachment 374930 [details]
rdsosreport.txt
(In reply to Ivan Baidakou (dmol) from comment #1) > Created attachment 374930 [details] > rdsosreport.txt > BOOT_IMAGE=/kernel-3.14.0 root=UUID=3ea10c98-8eb5-404c-bb60-a18a703f37e0 ro >=dracut-037 have stopped storing kernel command line arguments needed in the initramfs (/etc/cmdline.d/*.conf). So you have 2 options: 1. Create initramfs with --hostonly-cmdline (or hostonly_cmdline="no" in dracut.conf) 2. Add all neccessary options to the kernel cmdline. You can get them using "dracut --print-cmdline". IMHO this is a preffered solution. (In reply to Alexander Tsoy from comment #2) > 1. Create initramfs with --hostonly-cmdline (or hostonly_cmdline="no" in I meant hostonly_cmdline="yes" (In reply to Alexander Tsoy from comment #2) > (In reply to Ivan Baidakou (dmol) from comment #1) > > Created attachment 374930 [details] > > rdsosreport.txt > > > BOOT_IMAGE=/kernel-3.14.0 root=UUID=3ea10c98-8eb5-404c-bb60-a18a703f37e0 ro > > >=dracut-037 have stopped storing kernel command line arguments needed in the initramfs (/etc/cmdline.d/*.conf). So you have 2 options: > 1. Create initramfs with --hostonly-cmdline (or hostonly_cmdline="no" in > dracut.conf) > 2. Add all neccessary options to the kernel cmdline. You can get them using > "dracut --print-cmdline". IMHO this is a preffered solution. Thank you! I createad initramfs via the following cli and it works now withou problems: dracut --kernel-cmdline "rd.lvm.lv=vg/usr" -H --force /boot/initramfs-3.14.0.img 3.14.0 (In reply to Ivan Baidakou (dmol) from comment #4) > dracut --kernel-cmdline "rd.lvm.lv=vg/usr" -H --force > /boot/initramfs-3.14.0.img 3.14.0 You can add "rd.lvm.lv=vg/usr" to the kernel command line in your bootloader config (for grub2: GRUB_CMDLINE_LINUX in /etc/default/grub). |