View previous topic :: View next topic |
Author |
Message |
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Mon Aug 19, 2013 3:46 pm Post subject: Dracut config problem |
|
|
In order to try and resolve my long-standing systemd problem I thought I would try dracut instead of genkernel since many people seem to use it and it has support for systemd. I have set :
Code: | DRACUT_MODULES="lvm systemd dmraid syslog debug"
|
and emerged the package. I ran "dracut -f", left /etc/dracut.conf as default and configured grub with the stanza:
Code: |
title Gentoo Linux 3.10.5 systemd
root (hd0,5) kernel /boot/vmlinuz-3.10.5-gentoo root=/dev/vg00/rootfs init=/usr/bin/systemd vga=0x0361 quiet CONSOLE=/dev/tty1
initrd /boot/initramfs-3.10.5-gentoo.img
|
The root file system is reiserfs which is built into the kernel, so no modules are required (I hope). When I boot, the screen clears and absolutely nothing else happens! Excellent stuff. I assume I have missed something basic but it is not obvious to me what.
TIA _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
quilosaq Veteran
Joined: 22 Dec 2009 Posts: 1522
|
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
Posted: Mon Aug 19, 2013 4:58 pm Post subject: |
|
|
On my system, dracut failed to autodetect that I use lvm volumes.
I had to add the module explicitly in /etc/dracut.conf:
Code: | # dracut modules to add to the default
add_dracutmodules+="lvm" |
|
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Mon Aug 19, 2013 5:11 pm Post subject: |
|
|
Thanks to you both for the prompt answers, I will try both suggestions. But doesn't the thing issue any error messages? _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
quilosaq Veteran
Joined: 22 Dec 2009 Posts: 1522
|
Posted: Mon Aug 19, 2013 5:46 pm Post subject: |
|
|
Try a kernel command line simplest. Something like:
Code: | root (hd0,5) kernel /boot/vmlinuz-3.10.5-gentoo root=/dev/vg00/rootfs init=/usr/bin/systemd |
|
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Tue Aug 20, 2013 6:36 am Post subject: |
|
|
Removing the "quiet" and "console" parameters from the kernel line got lots of output. You get a mass of systemd and kernel messages until it reaches "Basic System target" and then it stops. After a wait you drop to a prompt and discover it has failed to mount the root file system. The VG is active, just nothing mounted, not dissimilar to genkernel. I will try tonight with lvmetad active. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Tue Aug 20, 2013 3:25 pm Post subject: |
|
|
The VG has not been activated. Any idea why not? _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
|