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: Mon, 02 Apr 2012 21:39:18
Message-Id: CADPrc836NQRrA2SDnju=K2ifVCGh4tQMgvirASjNho4=23dGUA@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? by Dale
1 On Mon, Apr 2, 2012 at 4:21 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Canek Peláez Valdés wrote:
3 > <<<SNIP>>>
4 >> Well damn. Why you do not have devtmpfs? In all the machines I have
5 >> access to (with or without initramfs, with either systemd or OpenRC),
6 >> they have devtmps:
7 >>
8 >> devtmpfs on /dev type devtmpfs
9 >> (rw,nosuid,relatime,size=2023140k,nr_inodes=505785,mode=755)
10 >> devtmpfs on /dev type devtmpfs
11 >> (rw,nosuid,relatime,size=506680k,nr_inodes=126670,mode=755)
12 >> devtmpfs on /dev type devtmpfs
13 >> (rw,nosuid,relatime,size=1939288k,nr_inodes=484822,mode=755)
14 >> devtmpfs on /dev type devtmpfs
15 >> (rw,relatime,size=257224k,nr_inodes=64306,mode=755) <==== The one with
16 >> OpenRC, no initramfs
17 >>
18 >> I don't see that one in your mount output. It seems kinda relevant, I
19 >> think. Please, can you attach your /boot/grub/grub.cfg file? I still
20 >> haven't seen the kernel command line, and I suppose that it's
21 >> relevant. Also, I know it's a lot, but could you please include your
22 >> kernel /usr/src/linux/.config file? Both dracut and udev need some
23 >> specific kernel config options that maybe you don't have.
24 >>
25 >> Regards.
26 >
27 >
28 > Here is my grub lines:
29 >
30 > title=Initramfs-new_kernel
31 > root (hd0,0)
32 > kernel /boot/bzImage-3.2.11-1 root=/dev/sda3 init=/sbin/init  rd.debug
33 > rd.udev.debug
34 > initrd /initramfs-3.2.11.img
35 >
36 > title Gentoo
37 > kernel (hd0,0)/bzImage-3.2.11-1 root=/dev/sda3
38 > acpi_enforce_resources=lax raid=noautodetect iommu=noaperture
39 >
40 > The stuff on the end without the init thingy was added to make sure
41 > gkrellm worked.  I think it is fixed now and can be removed but I just
42 > haven't done it yet.
43 >
44 > I added that debug stuff to the line for the init thngy but have not
45 > booted it yet.
46
47 Why do you have /boot/bzImage-3.2.11-1 in the initramfs kernel, but
48 (hd0,0)/bzImage-3.2.11-1 in the other one? You have /boot in another
49 partition, so in both cases you should have something similar to
50
51 root (hd0,0)
52 kernel (hd0,1)/bzImage-3.2.11-1 ...
53
54 isn't? (where "(hd0,1)" is your /boot partition, since you do use
55 labels, I don't know the exact number).
56
57 Could it be possible that you are booting with an older kernel when
58 using the initramfs entry without noticing it? Can you "umount /boot"
59 in your machine and see if there is a kernel in there, and if it's
60 different from the one in the actual /boot partition?
61
62 In any case, the two grub entries are certainly not "identical"
63 besides the initrd line (maybe they should be?). Also, can a have a
64 look at your /usr/src/linux/.config file?
65
66 Regards.
67 --
68 Canek Peláez Valdés
69 Posgrado en Ciencia e Ingeniería de la Computación
70 Universidad Nacional Autónoma de México

Replies