Gentoo Archives: gentoo-catalyst

From: William Kilian <will@×××.com>
To: gentoo-catalyst@××××××××××××.org
Subject: Re: [gentoo-catalyst] gensplash kernel with internal initramfs
Date: Wed, 12 Jan 2005 10:01:48
Message-Id: 41E4F57D.3080906@tk2.com
In Reply to: Re: [gentoo-catalyst] gensplash kernel with internal initramfs by David Wilk
1 You have to tell lilo a separate initrd line. Here's an example:
2
3 image=/boot/vmlinuz-2.4.19
4 label=2.4.19
5 initrd=/boot/initrd-2.4.19.img
6 read-only
7 root=/dev/ram0
8 append="init=/linuxrc"
9
10 I think lilo loads the initrd, but the kernel just finds it. So
11 appending a kernel argument wouldn't help load the initrd. At any rate,
12 I know you don't specify "initrd=whatever" in the append line with lilo.
13 Note that grub also has to be told separately where the initrd is. And
14 if you watch closely grub tells you when it boots something like
15 "loading initrd", then "loading kernel".
16
17 William Kilian
18
19 David Wilk wrote:
20
21 >Yes absolutely. Sorry about that. here's the append line for
22 >isolinux.cfg (CD):
23 >
24 >append initrd=initrd root=/dev/ram0 init=/linuxrc acpi=ht
25 >looptype=squashfs loop=/livecd.squashfs udev nodevfs cdroot vga=791
26 >dokeymap splash=silent,theme:metal console=ttyS0,9600n8 console=tty0
27 >
28 >I've put the same thing into /etc/lilo.conf with and without the
29 >initrd in there.
30 >
31 >Dave
32 >
33 >
34 >On Tue, 11 Jan 2005 17:31:57 -0500, Chris Gianelloni
35 ><wolf31o2@g.o> wrote:
36 >
37 >
38 >>On Tue, 2005-01-11 at 14:59 -0700, David Wilk wrote:
39 >>
40 >>
41 >>>Howdy folks,
42 >>>
43 >>>I've taken the gentoo 2004.3 livecd and customized it a bit as an
44 >>>install cd. I made my own kernel with an internal initramfs with
45 >>>gensplash that uses an external initrd as well just like the livecd.
46 >>>This works perfectly (just like the livecd) when the BIOS is
47 >>>configured to boot from the CD.
48 >>>
49 >>>I have, however, a method to allow booting from the CD without
50 >>>actually bootstraping from the CD. THe running system (from the HD)
51 >>>mounts the CD, copies the kernel and initrd onto the HD, runs lilo
52 >>>with those as defaults and then reboots. When the system comes back
53 >>>up, it loads the CD kernel and initrd off the HD and the system boots
54 >>>just as if the BIOS had booted the CD.
55 >>>
56 >>>My problem is this. Although the kernel and internal initramfs load
57 >>>just fine off the CD resulting in a beautiful bootsplash screen, it
58 >>>does no such thing when loaded off the HD. THe kernel boots fine, but
59 >>>the initramfs is not loaded and there is no bootsplash. I have the
60 >>>same kernel boot 'append' line in both isolinux.cfg on the CD as well
61 >>>as in /etc/lilo.conf on the HD.
62 >>>
63 >>>
64 >>Could you post the append line? It might make it easier for people to
65 >>visualize.
66 >>
67 >>
68 >>
69 >>>I've spent days puzzling over which lilo or kernel parameters might
70 >>>make this work and have come up with nothing. If anyone has any ideas
71 >>>I would love to hear them.
72 >>>
73 >>>
74 >>--
75 >>Chris Gianelloni
76 >>Release Engineering - Operational/QA Manager
77 >>Games - Developer
78 >>Gentoo Linux
79 >>
80 >>
81 >>
82 >>
83 >>
84 >--
85 >gentoo-catalyst@g.o mailing list
86 >
87 >
88 --
89 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] gensplash kernel with internal initramfs David Wilk <davidwilk@×××××.com>