On Wednesday 25 June 2003 09:02, Kevin McKinley wrote: > On Tue, 24 Jun 2003 14:05:24 -0400 > > David Z Maze <[EMAIL PROTECTED]> wrote: > > > Your files are in /boot/boot/grub, and they should be in /boot/grub. > > > > > > To solve your problem, do "cp -a /boot/boot/grub /boot". > > > > That's not going to help if /boot is a separate partition. You need > > to separately tell GRUB where to find the stage1.5 and stage2 files > > and where to install the boot sector; the Info manual suggests that > > you want > > > > root (hd0,0) > > setup (hd0) > > > > In this situation, I believe /boot/boot/grub is the correct directory. > > You may be right. > > But why would /boot being a separate partition have anything to do with it? > His partition has a directory boot, and inside that directory another > called grub. That would be OK if it were mounted on /, but of course we > can't do that.
Under Linux, /boot/grub is mounted on /boot (/dev/hda1), so Linux thinks it's called /boot/boot/grub. > When a partition containing boot/grub is mounted on /boot, the path to the > files becomes /boot/boot/grub. Yes, that's what Linux thinks, *and* what grub-install thinks when it's running under Linux (I think). > But grub isn't looking there for the files; > its looking in /boot/grub and not finding them. When run off a Grub boot floppy, root (hd0,0) mounts /boot as the directory GRUB is 'in', so GRUB thinks the directory the files are in is (hd0,0)/boot/grub. This is the *same* directory as [dev/hda1]/boot/grub i.e. /boot/boot/grub in Linux terms. i.e both Linux and GRUB are looking in the same place - or certainly should be. > My solution puts the files where grub expects to see them. > > I suspect this happens because the default way to install debian is without > a separate /boot partition, so grub-install isn't handling the situation > well. Maybe it isn't, but copying the files into both /boot/boot/grub *and* /boot/grub should surely let GRUB find 'em in one place or the other. > If someone can see a flaw in the above please let me know; I may yet be the > learner here. > > Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]