Skip to content

Instantly share code, notes, and snippets.

/a.rb Secret

Created October 5, 2014 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b2dcba1659070f33318a to your computer and use it in GitHub Desktop.
Save anonymous/b2dcba1659070f33318a to your computer and use it in GitHub Desktop.
benzrf@benzrf-laptop:~$ sudo umount /dev/sdb
umount: /dev/sdb: not mounted
benzrf@benzrf-laptop:~$ sudo fdisk /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Command (m for help): o
Building a new DOS disklabel with disk identifier 0x6f091ad7.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment