HD Install :: frugal on compact flash
The second post of this thread says "Grub will insist on the MBR of hda". Hence, that's exactly what I thought.
A grub install straight from the LiveCD doesn't work. I'm assuming this is because the device map is wrong. I edit the device map, but then grub-install fails for that device (/dev/hdc or /dev/cloop does not have a corresponding bios drive). So I symlink /boot to /mnt/hdc1/boot the same as the instructions above, and then grub tells me that /boot/grub/stage1 does not exist. I've verified that it's there - it definitely exists.
In order to completely remove the effects of other IDE devices I've installed DSL to a USB key and am trying to run from there. And now I find that neither method of installing to USB drive works properly either. (As a side note, I changed "KNOPPIX" to "knoppix" as suggested in another thread, but my method of booting still did not work [boot: install nopcmcia]. If I let it boot normally, then exit the window manager, it works.)
After booting from USB, I install to the CF using the grub option. Now I try to run grub-install again and it says "/grub/stage1" does not exist. I have even symlinked /grub with /mnt/hdc1/boot/grub - just in case /grub means 'grub in the root directory'. But this doesn't work either (same error).
DSL is driving me insane.
Please, what else can I do?
That comment may be for 0.91, or the grub-install script. I've never seen anything like that (guess because I always install grub from "grub" not "grub-install"). If you delete device.map and run grub as root (sudo won't work, use sudo su before typing grub) it will probe for drives.
Grub-install is a script, it cannot detect everything or even work everytime. I really think you should get grub-splash.dsl, and install grub using the instructions there - assuming you still have that install and it installed everything except grub...
Ok, thanks for your help, mate. I've tried what you suggested. I ran grub setup inside the grub shell on my drive and it said it finished fine.
I don't know if grub reads the device.map from the drive or the root filesystem, I tried it both ways. Even then, I don't know that grub reads device.map at all, because neither way worked. I need to install DSL with one hardware configuration, then run it from another (plus and minus the CDROM on the first IDE channel) - I had a theory that this was breaking grub, but I have no evidence to support it. It just doesn't work any which way I try to run it.
I've given up on grub, lilo and dsl, I'm gonna go back to syslinux on a FAT partition.
Thanks again.
original here.