Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.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 00:22:43
Message-Id: 4F7A4227.4040004@gmail.com
In Reply to: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? by "Canek Peláez Valdés"
1 Canek Peláez Valdés wrote:
2 > On Mon, Apr 2, 2012 at 4:21 PM, Dale <rdalek1967@×××××.com> wrote:
3
4 >>
5 >> Here is my grub lines:
6 >>
7 >> title=Initramfs-new_kernel
8 >> root (hd0,0)
9 >> kernel /boot/bzImage-3.2.11-1 root=/dev/sda3 init=/sbin/init rd.debug
10 >> rd.udev.debug
11 >> initrd /initramfs-3.2.11.img
12 >>
13 >> title Gentoo
14 >> kernel (hd0,0)/bzImage-3.2.11-1 root=/dev/sda3
15 >> acpi_enforce_resources=lax raid=noautodetect iommu=noaperture
16 >>
17 >> The stuff on the end without the init thingy was added to make sure
18 >> gkrellm worked. I think it is fixed now and can be removed but I just
19 >> haven't done it yet.
20 >>
21 >> I added that debug stuff to the line for the init thngy but have not
22 >> booted it yet.
23 >
24 > Why do you have /boot/bzImage-3.2.11-1 in the initramfs kernel, but
25 > (hd0,0)/bzImage-3.2.11-1 in the other one? You have /boot in another
26 > partition, so in both cases you should have something similar to
27 >
28 > root (hd0,0)
29 > kernel (hd0,1)/bzImage-3.2.11-1 ...
30 >
31 > isn't? (where "(hd0,1)" is your /boot partition, since you do use
32 > labels, I don't know the exact number).
33 >
34 > Could it be possible that you are booting with an older kernel when
35 > using the initramfs entry without noticing it? Can you "umount /boot"
36 > in your machine and see if there is a kernel in there, and if it's
37 > different from the one in the actual /boot partition?
38 >
39 > In any case, the two grub entries are certainly not "identical"
40 > besides the initrd line (maybe they should be?). Also, can a have a
41 > look at your /usr/src/linux/.config file?
42 >
43 > Regards.
44
45
46 I unmounted /boot and there was nothing there. I'll remove that extra
47 /boot but I doubt it will matter. After all, it just symlinks to
48 itself. At least mine does here anyway. ;-)
49
50 As to the kernel, it boots the exact same kernel. That is the only
51 kernel I have for that version. If grub was pointing to anything else,
52 it wouldn't be there to even try to boot.
53
54 What should I add to fstab for /dev? This is a desktopy rig.
55
56 Thanks.
57
58 Dale
59
60 :-) :-)
61
62 --
63 I am only responsible for what I said ... Not for what you understood or
64 how you interpreted my words!
65
66 Miss the compile output? Hint:
67 EMERGE_DEFAULT_OPTS="--quiet-build=n"