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

grub problem: cannot read from drive



I have grub on mbr of /dev/hda.  I have a new harddrive at /dev/hdc
with Debian.  I have an older, 200meg hard drive at /dev/hdb.

I am trying to install Debian onto /dev/hdb1.  I have done so, but I
cannot get grub to boot it.  When I am at grub command line, I type
this:

kernel (hd1,0)/

Then if I hit <tab> it shows a the listing of files and directories
in /.  I type vmlinuz so command line looks like this:

kernel(hd1,0)/vmlinuz root=/dev/hdb1

When I press <enter> I get this error:

"Bad file or directory type"

Grub info file says it cannot handle sym links (or directories for
that matter), but it does fine on /dev/hdc with symlinks.  When I
type in the actual file ((hd1,0)/boot/vmlinuz-2.2.17) I get the same
error.  I cannot get grub to see anything below the toplevel
directories in /.

I have not tried moving the actual kernel to the toplevel, but I
should not have to.  Any ideas?

Oh yes, /dev/hdb1 is marked as bootable with fdisk and has ext2
filesystem on it.  Fsck find no errors.

I could use kernel off /dev/hdc but it is 2.2.15 and /dev/hdb has no
2.2.15 modules.  I could also get 2.2.15 for /dev/hdb but again there
is no reason why I should do this.

-- 
Pat Mahoney  <pat7@gmx.net>


Hobbes:  Do you have an idea for your story yet?
Calvin:  No, I'm waiting for inspiration.  You can't just turn on
         creativity like a faucet.  You have to be in the right mood.
Hobbes:  What mood is that?
Calvin:  Last-minute panic.
                -- From "Calvin and Hobbes" by Bill Watterson



Reply to: