Reply to comment

grub-install

I am getting an error while trying to install grub...here is my error message:

dan@socrates:~$ sudo grub-install --recheck --root-directory=/mnt/buildroot /dev/sda
rm: cannot remove `/mnt/buildroot/boot/grub/device.map': Read-only file system
rm: cannot remove `/mnt/buildroot/boot/grub/stage1': Read-only file system
dan@socrates:~$ sudo mount -o remount,rw /mnt/buildroot/boot dan@socrates:~$ sudo grub-install --recheck --root-directory=/mnt/buildroot /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
The file /mnt/buildroot/boot/grub/stage1 not read correctly.

Any hints as to what may be causing this error?

Many thanks,
Dan

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options