grub-install

Yan Mo yinoryan at gmail.com
Tue May 18 06:04:59 PDT 2010


On Sat, May 15, 2010 at 4:06 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> Yan Mo wrote:
> > Hi, got past the previous issue by using a newer machine.
> >
> > Now have got upto section 8.4.2 in the LFS-BOOK-6.6
> >
> > After entering:
> >
> >   grub-install --grub-setup=/bin/true /dev/sda
> >
> > It gives the messages:
> >
> >   grub-probe: error: cannot find a device for /boot/grub.
> >
> >   No path or device is specified.
> >   Try ``grub-probe --help'' for more information.
> >   Auto-detection of a filesystem module failed.
> >   Please specify the module with the options `--modules' explicitly.
> >
> > After doing a searchs of the Linux From Scratch website, I noticed that
> this
> > section of the book changes frequently. Should I try one of the previous
> > ways of doing this? I'm concerned I may not be able to reboot my computer
> if
> > I just try things...
>
> Did you exit/reenter chroot and forget to remount the special
> filesystems as specified in Section 6.2?
>
> You need to have at least /dev mounted and accessible while in chroot.
> I'm not sure about grub, but you may also need /sys and /proc.
>
>   -- Bruce
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

Yeah, I'm not sure about grub[byness] neither. There's no way I could deal
with a billion different ways that someone's disk has been partitioned. Now
that I've got a working system that will fit on a CD, are there any
straightforward instructions somewhere on how to make a live-CD?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100518/30d1002f/attachment.html>


More information about the lfs-support mailing list