Welcome to the Linux Foundation Forum!

Lab 42.2

BattogtokhBattogtokh Posts: 19
edited February 2017 in LFS201 Class Forum

Hi, I am having trouble with updating /boot/grub/grub.cfg file on Ubuntu 16.04. I tried rescue mode, but it is still doesn't accept my edit because it is "Read only" file. I tried /etc/default/grub, but there is nothing to change for UUID. Please advise where I am lost. I googled for hours to get through it. But still scratching my head ...


  • BattogtokhBattogtokh Posts: 19
    edited February 2017

    Oh i see that file can be updated with :wq! in vim, even it is readonly. Please advise what else I could try updating read only files?

  • luisviveropenaluisviveropena Posts: 727
    edited March 2017

    Hi Battogtokh,

    You can use the following command to remount a partition as read write:

    mount -o remount, rw /

    In case that you want to remount the root partition as read-write.



Sign In or Register to comment.