View previous topic :: View next topic |
Author |
Message |
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Mon Feb 20, 2012 11:18 pm Post subject: need an example /etc/dracut.conf |
|
|
Making a
dracut -H KERNELVERSION
didn't succeed. Booting gives an error root=/dev/sda7 not found
I emerged dracut without any modules, because I just have a simple simple / - ext4 root gentoo installation. |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Feb 21, 2012 2:29 am Post subject: |
|
|
My gentoo boots fine with an initramfs created by dracut without any useflags. I have a separate /usr so I needed to edit /etc/dracut.conf like this:
Code: |
cat /etc/dracut.conf
add_dracutmodules+="usrmount"
|
This will create an initramfs in your /boot:
Code: |
dracut /boot/initramfs-x86_64-3.2.5-gentoo.img 3.2.5-gentoo
|
Also, I use grub2 and it accepted only the initramfs created with the above syntax . ext4 is used for everything other than /boot. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Tue Feb 28, 2012 3:24 pm Post subject: |
|
|
My system never starts using a dracut.img, but stops at a dracut comandline with - as I remember - perhaps not correct wordings:
Code: |
dracut Warning: unable to process initqueue
dracut Warning: /dev/sda7 not existing |
This happens when creating with both methods:
dracut -H dracut.img KERNELVERSION
dracut dracut.img KERNELVERSION
just local and not, with usrmount or with both tried:
omit_dracutmodules+="btrfs xfs convertfs rpmversion net"
omit_dracutmodules+="usrmount"
or even with using
add_dracutmodules+="usrmount"
I tried with udev-171 and udev-181, I use kmod-5 instead of module-init-tools.
What I observe is when creating a dracut.img there are messages like
skipping 50-udev.rule ... alike
which skips rules not existing in my directory /lib/udev/rules.d. Which is why I think there is just too much hardcoded for fitting Fedora systems but not my ~unstable/experimental Gentoo system!?
[edit PS] I just found this Gentoo bug regarding kmod and dracut:
https://bugs.gentoo.org/show_bug.cgi?id=405827 |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Tue Feb 28, 2012 4:53 pm Post subject: resolved - using kmod-9999 |
|
|
This was the kmod modules dependency bug!
kmod-9999 seems to have been patched for this! |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Feb 28, 2012 6:29 pm Post subject: |
|
|
ulenrich wrote: | What I observe is when creating a dracut.img there are messages like
skipping 50-udev.rule ... alike
which skips rules not existing in my directory /lib/udev/rules.d.
[edit PS] I just found this Gentoo bug regarding kmod and dracut:
https://bugs.gentoo.org/show_bug.cgi?id=405827 |
I have these "skipping 50-udev.rule ... " alike messages, too. But, it seems they are harmless, since I don't have a problem.
Also, I dont have kmod installed. But I have "module-init-tools" installed. No problem for that, too. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
|