Gentoo Archives: gentoo-amd64

From: Karol Krizka <kkrizka@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] initrd
Date: Sun, 30 Oct 2005 15:46:42
Message-Id: 200510300745.09633.kkrizka@gmail.com
In Reply to: Re: [gentoo-amd64] initrd by DR GM SEDDON
1 On Sunday 30 October 2005 01:48, DR GM SEDDON wrote:
2 > Karol Krizka wrote:
3 > >On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
4 > >>my grub.conf:
5 > >>' default 0
6 > >>timeout 5
7 > >>splashimage=(hd0.0)/grub/splash.xpm.gz
8 > >>
9 > >>title=linux-2.6.13
10 > >>root (hd0.0)
11 > >>kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc
12 > >>ramdisk-8193 real_root=/dev/hda3 udev
13 > >>initrd /initrd'
14 > >
15 > >I have the sameconfig and it works ok exept the name of /initrd I
16 > >have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the
17 > > problem?
18 > >
19 > >>I see hoew by saying root (hd0,0) leaves things relative to /boot. But
20 > >>there is no linuxrc in /boot. I think this is the prob.
21 > >
22 > >/linuxrc is in the initramfs thing so that's not the problem.
23 > >
24 > >>The error code is 15.
25 > >>Thanks
26 > >>
27 > >>Craig Webster wrote:
28 > >>>On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
29 > >>>>Dmitri Pogosyan wrote:
30 > >>>>>Not really, you can use initramfs in place of initrd. I have in
31 > >>>>>grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel /
32 > >>>>>kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc
33 > >>>>>real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
34 > >>>>>
35 > >>>>>>Dear list, I have just started using Gentoo and up-to-now am
36 > >>>>>>impressed. I have generated a kernel using 'genkernel' and the
37 > >>>>>>kernel is in /boot. However, I do not have 'initrd' but
38 > >>>>>>'initramfs'. is this a problem or should I modify grub
39 > >>>>>>appropriately? Gavin. -- gentoo-amd64@g.o mailing list
40 > >>>>
41 > >>>>I noticed your files are in / not /boot where mine are. Should I
42 > >>>>mv them?
43 > >>>
44 > >>>They're in / only on the boot partition ie they are in the root of
45 > >>>(hd0,0).
46 > >>>
47 > >>>If you are specifying your files as living in /boot on the boot
48 > >>>partition then this could stop your system booting fully.
49 > >>>
50 > >>>Perhaps you could post your grub.conf?
51 > >>>
52 > >>>Yours,
53 > >>>Craig
54 > >>>--
55 > >>>Craig Webster | t: +44 (0)131 516 8595 | e: craig@××××××.net
56 > >>>Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
57 >
58 > grub.conf
59 > 'default 0
60 > timeout 5
61 > splashimage=(hd0,0)/grub/splash.xpm.gz
62 >
63 > title=linux-2.6.13
64 > root (hd0,0)
65 > kernel /genkernel-x86_64-2.6.13-gentoo-r3 root=/dev/ram0
66 > init=/initramfs-genkernel-x86_64-2.6.13-gentoo-r3 ramdisk=8192
67 > real_boot=/dev/hda3 udev
68 > initrd /initrd'
69 >
70 Try replacing the kernel name with kernel-genkernel-x86_64-2.6.13-gentoo-r3,
71 if that dosn't work show us the outpot of ls /boot.
72
73 <snip>
74 >
75 > I wondered, should /boot be ext2? Or should I use some of the 'default'
76 > entries?
77 This is my line for the boot partition:
78 /dev/hda1 /boot auto noauto,noatime,notail
79 1 1
80 It's reiserFS I think. I used "auto" because I wasn't sure what to type for
81 it.
82
83 > Thanks.
84 > I looked at the url mentioned it tells me my error(15) is grub not
85 > finding my kernel. How do I tell grub to boot my kernel from the
86 > command line? It tells me the kernel needs to be loaded first.
87 Press e over the kernel you want to boot, then choose the line you want to
88 edit and press e again. You can also use d to delete a line. There is
89 instructions for more key bindings on the bottom of GRUB.
90
91 --
92 Karol Krizka