Welcome to the Linux Foundation Forum!

Lab 42.2

Posts: 23

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 ...

Comments

  • Posts: 23
    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?

  • Posts: 1,276
    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.

    Regards,

    Luis.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training