Re: dracut - help!

Thanos Baloukas <[email protected]> Thu, 23 Feb 2017 21:08:38 +0200
Newsgroups gmane.linux.lfs.general
Message-ID <[email protected]>
On 23/02/2017 07:25 μμ, Thanos Baloukas wrote:
> On 23/02/2017 02:59 μμ, Linuxero wrote:
>> Hi everybody;
>>
>> I have finished the latest development systemd LFS book. I have NVME
>> disks in my machine and the LFS partition is a GUID one. I configured my
>> kernel and it boot well if I compile the NVME drivers built-in. However,
>> I wanted to compile NVME as loadable modules. I installed dracut and
>> tried to create an initrd. Actually, the initrd is well, but for some
>> strange reason I am always dropped to dracut emergency shell as the
>> partition can not be found.
>>
>> Dracut version is 044. The emergency shell is unusable, as if the system
>> were halted.
>>
>> Any suggestion about dracut with LFS/BLFS?
>>
>> Thanks in advance,
>>
> Are there any messages? Are the 'linux' and 'root=UUID='
> entries in grub.cfg correct? Could it be that there is not
> /etc/os-release? I recall that it would not switch root
> if it did not exist.
>
You said you are using GUID (I'm getting that as GPT partition table). I 
have no experience with GPT, sorry, the required root= entry
may differ. UUIDs may not be required, I mentioned that because
I'm using them in /etc/fstab and grub.cfg when booting with
an initramfs built with dracut.

-- 
Thanos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page