Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Date: Tue, 03 Apr 2012 01:06:04
Message-Id: CADPrc80=Tafn8ece8ZB88JKB3g_hDvC6LAeNho7n1w9iHH3rNQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? by Pandu Poluan
1 On Mon, Apr 2, 2012 at 7:35 PM, Pandu Poluan <pandu@××××××.info> wrote:
2 >
3 > On Apr 3, 2012 7:26 AM, "Dale" <rdalek1967@×××××.com> wrote:
4 >>
5 >> Canek Peláez Valdés wrote:
6 >> > On Mon, Apr 2, 2012 at 5:21 PM, Dale <rdalek1967@×××××.com> wrote:
7 >> >> Neil Bothwick wrote:
8 >> >>> zgrep DEVTMP /proc/config.gz
9 >> >>
10 >> >>
11 >> >> Ooops, it sort of snipped a bit much.  lol   Here you go:
12 >> >>
13 >> >> root@fireball / # zgrep DEVTMP /proc/config.gz
14 >> >> # CONFIG_DEVTMPFS is not set
15 >> >> root@fireball / #
16 >> >>
17 >> >> Looks like a nope to me.  ;-)
18 >> >
19 >> > That was the reason for asking for your /usr/src/linux/.config file.
20 >> > The udev ebuild ask for:
21 >> >
22 >> > CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET
23 >> > ~PROC_FS ~SIGNALFD ~SYSFS ~!IDE ~!SYSFS_DEPRECATED
24 >> > ~!SYSFS_DEPRECATED_V2"
25 >> >
26 >> > The dracut ebuild ask for:
27 >> >
28 >> > CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS ~MODULES"
29 >> >
30 >> > So please check that you have all those options (and don't have the
31 >> > ones with !), recompile your kernel, and reboot.
32 >> >
33 >> > Also, the divergence between /boot/kernel... and (hd0,0)/kernel... in
34 >> > your grub could be causing  funny things. Check that also.
35 >> >
36 >> > Regards.
37 >>
38 >>
39 >> OK.  I hate modules.  Can they be built into the kernel?  The only
40 >> module I have is nvidia for my video card.
41 >>
42 >> Also, if you can put this in one email, what about the /dev line in fstab?
43 >>
44 >> I didn't check the ebuild but I don't recall seeing anything when I
45 >> emerged dracut either.  o_O   Maybe we are on to something here.  ^_O
46 >>
47 >
48 > AFAIK DEVTMPFS is not a module. You either turn it on or off. Of course,
49 > you'll need a whole-kernel compile, but that's it.
50 >
51 > If you use menuconfig, IIRC there's another option right under DEVTMPFS' one
52 > that offers to mount devtmpfs on boot. If you turn that on, you *might* get
53 > away without a /dev in fstab.
54
55 Dale doesn't need /dev on fstab (nobody does); I only asked about it
56 since I had no information about the dracut failure trying to mount
57 /dev.
58
59 Now I think we have enough information, and I hope that when Dale
60 recompiles his kernel and reboots, everything will work.
61
62 Regards.
63 --
64 Canek Peláez Valdés
65 Posgrado en Ciencia e Ingeniería de la Computación
66 Universidad Nacional Autónoma de México

Replies