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

Re: Recovering from failure to install Grub



On Wed 18 Jan 2017 at 04:55:05 -0600, Richard Owlett wrote:

> On 1/17/2017 5:58 PM, Brian wrote:
> >On Tue 17 Jan 2017 at 14:19:11 -0600, Richard Owlett wrote:
> >
> >>I just installed Jessie to a USB flash drive.
> >>Unfortunately I mistyped the name of the preseed.cfg file and ran the one
> >>which did not install grub to the target drive.
> >>On a working Jessie machine I inserted the flash drive and then ran
> >>update-grub.
> >>I was then able to boot the copy of Debian residing on the flash drive.
> >>It appears to run properly and is now installing some packages that
> >>intentionally had not been installed by preseeding.
> >>
> >>Looking for instructions for installing Grub to an existing drive I found
> >>https://wiki.debian.org/Installation+Archive+USBStick?highlight=%28grub-install%29|%28jessie%29
> >>.
> >>
> >>It was written to address a different situation.
> >>It seems to say that all I have to do is run
> >>
> >>   /usr/sbin/grub-install --boot-directory=<mount_point>/boot /dev/sdb
> >>
> >>Is that correct for my situation?
> >
> >Yes.
> 
> So incomplete as to be *WRONG* !
> There is enough of grub placed on the flash drive to get a grub> command
> line prompt.
> <TAB> does list available commands but scrolls off screen too fast to be
> useful.

At the prompt;

 set pager=1

> May I humbly beg a more useful answer?

Read grub-install(8) to check the correctness of the command.

-- 
Brian.


Reply to: