Cannot select options to "GRUB install devices" prompt

0

Hi all,

I was trying the tutorial in setting up an environment and building applications (https://docs.aws.amazon.com/robomaker/latest/dg/gs-build.html) when I encountered this problem. Specifically, after creating the environment, when I tried to download the 'Hello World' sample, the following showed up after a while:

The GRUB boot loader was previously installed to a disk that is no longer 
present, or whose unique identifier has changed for some reason. It is important
to make sure that the installed GRUB core image stays in sync with GRUB modules 
and grub.cfg. Please check again to make sure that GRUB is written to the 
 appropriate boot devices.

If you're unsure which drive is designated as boot drive by your BIOS, it is 
often a good idea to install GRUB to all of them.

Note: it is possible to install GRUB to partition boot records as well, and some
appropriate partitions are offered here. However, this forces GRUB to use the 
blocklist mechanism, which makes it less reliable, and therefore is not 
recommended.

  1. /dev/nvme0n1 (51539 MB; ???)    3. none of the above
  2. - /dev/nvme0n1p1 (51538 MB; /)
 
(Enter the items you want to select, separated by spaces.)

 GRUB install devices:

Nothing I typed worked; all it does is go into a new line after I press the ENTER key every time without any sort of response. Things I've tried:
'1', then ENTER key
'1. /dev/nvme0n1', then ENTER key
'1.', then ENTER key
'1 2', then ENTER key
'1. /dev/nvme0n1 (51539 MB; ???)', then ENTER key

Does anyone else have this problem / encountered this? This sounds like a ridiculously simple problem to solve, but I can't seem to find out how.

asked 4 years ago571 views
3 Answers
0

Hello,
Could you please provide the following details:

  1. IDE URL
  2. AWS Region you were operating in,
  3. Instance type, and
  4. Software suite

Thanks.

answered 4 years ago
0

I was able to go around the issue (more on it below).

  1. I deleted that environment already
  2. us-east-2 (Ohio), subnet-1f179453
  3. Not sure what this is (still a newbie), but is EC2 what you're looking for?
  4. ROS Kinetic

I (kind of) fixed the issue by first doing an apt update and upgrade before doing anything else in new environment instances, which will trigger the GRUB install devices prompt but in a GUI instead, and that allowed me to select the partition to install. Sometimes when I did that it would tell me

Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

which goes away after I leave it alone for some time (around 5-15 minutes).

answered 4 years ago
0

Thank you. Yes, I meant the EC2 instance. We tried to follow the steps and reproduce the issue, but we couldn't. Good to know that it is working for you. Please let us know if you have any further questions.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions