Skip to content

Instantly share code, notes, and snippets.

@midu
Created February 13, 2011 21:36
Show Gist options
  • Save midu/825160 to your computer and use it in GitHub Desktop.
Save midu/825160 to your computer and use it in GitHub Desktop.
remove_rootfs_verification() {
echo "$*" | sed '
s| root=/dev/dm-0 | root=/dev/sd%D%P |
s| dm_verify[^=]*=[-0-9]*||g
s| dm=*"[^"]*"||
s| ro | rw |'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment