Skip to content

Instantly share code, notes, and snippets.

/***************************************************************************//**
* @file
* @brief NVM3 examples functions
*******************************************************************************
* # License
* <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
*******************************************************************************
*
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
@vinhlq
vinhlq / OVERLAYFS
Created December 16, 2021 15:39 — forked from mutability/OVERLAYFS
readonly root via overlayfs
- install the two shellscripts into the appropriate places under /etc/initramfs-tools
- run update-initramfs
- put "overlay=yes" on the kernel command line
- reboot
With the overlay in place, the real root is mounted readonly on /ro.
Only the root fs is changed, other filesystems are mounted normally.
Remove "overlay=yes" (or change it to something other than yes) and reboot to go back to readwrite.
(This probably means that you want the commandline config to live somewhere other than on the root fs, e.g. under /boot)
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 1 column 15
---
title: OSX-KVM: Cài đặt máy ảo OSX cho linux
tags: ['osx', 'kvm', 'linux']
status: draft
---
  1. Install QEMU

    • Ubuntu

    sudo apt-get install qemu uml-utilities virt-manager dmg2img git wget libguestfs-tools virt-viewer