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

Re: Recovering from failure to install Grub



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.

-- 
Brian.


Reply to: