Gentoo Archives: gentoo-amd64

From: William Tetrault <xcourse97@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] initrd
Date: Sun, 30 Oct 2005 17:42:19
Message-Id: 200510301138.23431.xcourse97@charter.net
In Reply to: Re: [gentoo-amd64] initrd by DR GM SEDDON
1 On Sunday 30 October 2005 03:48 am, 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 SNIP
15 > >
16 > >>>>I noticed your files are in / not /boot where mine are. Should I
17 > >>>>mv them?
18 > >>>
19 > >>>They're in / only on the boot partition ie they are in the root of
20 > >>>(hd0,0).
21 > >>>
22 > >>>If you are specifying your files as living in /boot on the boot
23 > >>>partition then this could stop your system booting fully.
24 > >>>
25 > >>>Perhaps you could post your grub.conf?
26 SNIP
27
28 I've been using gentoo for 3 yrs now and using a grub.conf exactly as follows
29 for all that time. It has <never> failed to work. I did not create
30 the /boot dir with mkdir, that was done when I cp'd my bzImage
31 from /usr/src/linux/arch/x86_64/boot/bzImage to /boot, and I did it that way
32 because that's how the docs said to do it.
33
34 tbill@Shooter ~ $ cat /boot/grub/grub.conf
35 default 0
36 timeout 10
37 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
38
39 title=Gentoo (linux kernel 2.6.11-gentoo-r10)
40 root (hd0,0)
41 kernel (hd0,0)/boot/bzImage root=/dev/sda1
42
43 If you, when you installed gentoo in the first place, placed /boot in its own
44 partition, then anything you copy to that partition is going to start with
45 "/boot...". How else are you going to tell the kernel to copy something to
46 the boot partition when /boot is all you've mounted there? If you, as root,
47 tell the system to mount the partition where you've installed grub.conf, how
48 else do you specify it except as "mount /boot". I don't mean to belabor the
49 point, but....
50
51 So tell grub to look on "(hd0,0)/boot/bzImage" for the kernel to boot,
52 only,since you don't have a bzImage but a genkernel, change it accordingly:
53 (hd0,0)/boot/genkernel-*. I assure you that this <does not> "stop your
54 system from booting fully."
55
56 Also, since you're getting error code 15, what you have in /etc/fstab is
57 completely immaterial. Grub can't even find your kernel, and grub's interest
58 stops at finding the kernel, so take care of grub's errors first, then worry
59 about whether your fstab is properly set up.
60
61 Bill Tetrault
62 Madison, WI
63 --
64 gentoo-amd64@g.o mailing list