Whilst playing around with my Chromebook, I had occasion to want to use Google’s Public DNS instead of my ISP’s, because my ISP just went insane and blocked GitHub. I kinda need GitHub (kinda), so I wanted to change the DNS settings on my Chromebook.

The problem is that the ChromeOS rootfs is mounted read-only. So in order to modify the /etc/resolv.conf file, I had to do some tweaking and living-life-on-the-edge-ing. I disabled root filesystem verification. The problem is that if and when I re-enable Normal mode (I’m currently running Developer Mode), I’ll have to use a recovery image to restore my system.

I ran the following command in Crosh (after doing ‘shell’):

sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions 2

Then, I rebooted. The rootfs is now read/write.