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?

TIA



Reply via email to