[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub problems - not booting from flash disk
From: |
David N. Welton |
Subject: |
grub problems - not booting from flash disk |
Date: |
03 May 2004 14:52:35 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
[ Please CC replies to me - thanks! ]
Hi, I have a flash disk that Linux can use as IDE via an adapter, and
sees as /dev/hdc. I am having trouble installing grub on it.
I can boot just fine if grub comes up from the regular HD MBR and then
I do root (hd1,0) setup (hd1) and kernel /boot/vmlinux
I can't seem to install grub properly so that the system will boot
completely from the flash device. Grub comes up ok, but then the
system keeps saying that it can't find /boot/vmlinux, which is
certainly there.
If I enter into grub from /dev/hda then everything works
normally... root (hd1,0), setup (hd1) kernel, boot and so forth. Same
with the floppy.
The grub shell seems to go ok:
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p (hd1,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.
but the problem is when it actually comes up, no more
/boot/grub/stage1... doing find /boot/grub/stage1 finds it on hd0,0.
Oddly enough, doing find /grub/stage1 turns up a file on hd1,0.
So I'm pretty much at a loss at this point.
Thanks for your time,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
- grub problems - not booting from flash disk,
David N. Welton <=