Hello,
I wonder if some wise person here can give me some suggestion on how to
solve this problem.
I have Gentoo (2005.0) installed on my master primary device, and I
am trying to create a minimal Linux system on a new disk, my slave
primary device.
So, I partition and make a 32M ext2 file system, make the appropriate
directories and devices, install busybox and other odds and ends. Then I
copy over the kernel from my Gentoo system (same hardware, so the same
kernel).
Finally I install grub on the slave primary device, and set up my
grub.conf like so:
default 0
timeout 10
title=minimal linux on slave primary device
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1
root (hd1,0) should be the first partition on my slave primary device
/boot/vmlinuz is indeed my kernel (I didn't bother with a separate
boot partition )
finally root=/dev/hdb1 tells grub that the root is on the first
partition of my slave primary device
I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
"Error 15: File not found".
It doesn't tell me which file isn't found, but I've learned that this
usually means the kernel. So I double and triple check the spelling and
the location. It's right, unless I'm going blind.
As an experiment, I added these lines to grub.conf on hda, so that I
could use grub on hda but boot from my kernel and root on hdb:
title=minimal linux on slave primary device
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1
this worked, which perhaps suggests that my grub setup on hdb is faulty.
So I reinstalled grub on hdb, but it still fails with the same error.
Lastly the grub install reported no errors.
Any suggestions?
Sincerely,
Michael Shiloh
--
[email protected] mailing list