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

grub configuration question

My attempts to configure grub.conf to boot debian result in kernel
"file not found" error. 

I am migrating from Red Hat on a primary HD (SCSI ID=0) to woody
debian installed on a secondary HD (SCSI ID=1). I did a cross
installation of debian on the secondary HD, including the kernel, but
did not install grub on the secondary HD. Now am trying to boot debian
with the grub boot loader installed on my primary HD.

Here's one of the configurations I tried:
  title debian 2.4.18-686
	root (hd0,0)
	kernel (hd1,0)/vmlinuz-2.4.18-686 root=/dev/sdb1
	initrd /initrd.img-2.4.18-686

The primary disk's grub is in its /boot directory located on its first
partition. Debian's kernel is located on the secondary hard disk /boot
directory, which in this case is located under the root directory on
the first partition. So I want to mount debian's root partition on

Examples of the grub.conf file show the kernel file name simply as
"vmlinuz," and that's also what I get with name completion when I
enter "kernel vm" TAB. However, is my assumption correct that the full
kernel file name must be specified? (I did try "vmlinuz" with the same
result as the full filename). The debian kernel is rw-r--r--.

I do not know if debian must load modules to boot, but I assumed that
the initrd command does no harm and, in any case, a "file not found"
suggests to me the problem is at an earlier point. Do I need to
specify the initrd? The initrd.img file is present in /boot/grub on
the secondary disk, but no stage* files.

Haines Brown

Reply to: