[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub configuration question



On Tue, 6 May 2003 02:13:57 -0400
Haines Brown <brownh@hartford-hwp.com> wrote:

> I picked up the term "cross installation" from the debian install
> manual; sorry if it is not conventional. My understanding is that a
> cross installation installs debian from an existing linux
> installation. Here's the steps: 

Ahh, OK. I've never tried that, obviously. :)

> > Debian's kernel-image-2.4.18-686 package has a kernel which requires
> > initrd, as does kernel-image-2.4.20-1-686.
> 
> Thanks for the useful info, but how does one know?

Go to Debian's web site. Follow the "Debian Packages" link to the "Search
package directories" link, and enter "kernel-image-2.4.18" search box.
Select "Any" for Distribution and click "Search". Select the particular
kernel image package you're interested in from the list, and look at the
dependencies. If "initrd-tools" is a dependency, the kernel requires initrd.

> Bottom line: the following configuration causes Error 15: File not
> found.
> 
>   title debian alt
> 	root (hd0,0)
> 	kernel /vmlinuz-2.4.18-686 root=/dev/sdb1
> 	initrd (hd1,0)/initrd.img-2.4.18-686

In Debian both kernels and initrds are in /boot:

kernel (hd1,0)/boot/vmlinuz-2.4.18-686 root=/dev/sdb1
initrd (hd1,0)/boot/initrd.img-2.4.18-686

I may have missed the /boot/ part earlier; my apologies if I did.
I don't know what initrd files are named; I don't have any on my system. But
the name must match exactly; if there's an initrd symlink that's OK too.

Kevin



Reply to: