Gentoo Archives: gentoo-amd64

From: DR GM SEDDON <gavin.m.seddon@×××××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] initrd
Date: Tue, 01 Nov 2005 14:47:58
Message-Id: 43677F77.6030909@manchester.ac.uk
In Reply to: Re: [gentoo-amd64] initrd by Drake Donahue
1 Yes, I had missing the initial 'kernel-' from its definition in
2 grub.conf. It is down to me writing it on a pad with other stuff, I was
3 ignoring the kernel word. Extremely xorry.
4
5 Now it boots but asksme to
6 'specifya device to boot' it boots when I enter 'dev/hda3'. It is
7 specified in 'grub.conf' and 'fstab'. Any ideas?
8
9 Also, I get 'dhcpd:required function 'interface _is_up' but networking
10 isn't working. And, I get 'netmount not started'. Are these issues
11 related. Can you help?
12 Regards,
13 Gavin.
14
15 Drake Donahue wrote:
16
17 > Grub really does work. The problem you are having is that grub can't
18 > find your kernel.
19 >
20 > May I suggest:
21 >
22 > Boot the gentoo install cd:
23 >
24 > At the prompt - livecd gentoo # - execute the following commands:
25 >
26 > mount /dev/hda1 /mnt/gentoo/boot
27 > cd /mnt/gentoo/boot
28 > ls -l
29 > ls kernel* initramfs*
30 >
31 > The output of "mount /dev/hda1 /mnt/gentoo" will tell you about the
32 > filesystem on the boot partition and should contain no surprises.
33 > The output of "ls -l" is the boot file and directory structure
34 > that grub will
35 > see if "root (hd0,0)" is in grub.conf.
36 > The output of "ls kernel* initramfs*" is the kernel name and the
37 > initramfs
38 > name that need to appear in grub.conf.
39 > If a 'No such file or directory' error appears, the kernel and/or
40 > the initramfs
41 > is not located in /mnt/gentoo/boot and thus is not in (hd0,0)/ as far
42 > as grub is
43 > concerned. In this case look for a boot -->'something' symbolic link
44 > that points
45 > to 'something' as the kernel location. Most likely a boot directory
46 > will appear
47 > in the "ls -l" output and you should look there for kernel and
48 > initramfs. If
49 > mislocated, I think you should move them to /mnt/gentoo/boot and rerun
50 > " ls kernel* initramfs* ".
51 >
52 > I believe that the " ls kernel* initramfs* " output you see will be
53 > "kernel-2.6.13-gentoo-r3 initramfs-genkernel-amd64-2.6.13-gentoo-r3".
54 >
55 > In that case, I believe grub.conf should read:
56 >
57 > default 0
58 > timeout 5
59 > splashimage=(hd0,0)/grub/splash.xpm.gz
60 > title=Gentoo Linux 2.6.13
61 > root (hd0,0)
62 > kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc
63 > ramdisk=8192 real_root=/dev/hda3 udev
64 > initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3
65 >
66
67
68
69
70
71
72
73
74
75 > If " ls kernel* initramfs* " produced other results, then "the
76 > other kernel name" must be
77 > substituted exactly for 'kernel-2.6.13-gentoo-r3' above and "the other
78 > initramfs name" for
79 > 'initramfs-genkernel-amd64-2.6.13-gentoo-r3' above respectively. Don't
80 > lose the initial
81 > slashes in the process.
82 >
83 > If you try this and it does not help, posting the results of the
84 > commands and the grub.conf
85 > may get more help from the smarter than I multitude.
86
87
88 --
89 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] initrd Drake Donahue <donahue95@×××××××.net>