1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PCをshredする

Posted at

pc初期化方法について

  • メモとして共有
  • PCの初期化方法を紹介

ubuntuのライブブート

  1. ubuntuのライブDVDorUSBを用意し,ubuntuを試すで起動
  2. 起動したらterminalへ

ディスクを調べ初期化

  • terminalで以下のコマンドを実行
$dmesg | grep sd
#実行後[sda][sdb]などディスクの名前が表示されるので確認
[ ] sd 0:0:0:0: [sda] 0000000000 512-byte logical blocks: (2.00 TB/1.82 TiB)
......
[ ] sd 2:0:0:0: [sdb] 0000000000 512-byte logical blocks: (2.00 TB/1.82 TiB)
......
[ ] sd 4:0:0:0: [sdc] 0000000000 512-byte logical blocks: (2.00 TB/1.82 TiB)
......
[ ] sd 5:0:0:0: [sdd] 0000000000 512-byte logical blocks: (4.00 TB/3.64 TiB)
......
  1. shred
  • 消したいディスクを選択削除
$sudo shred -v -n 3 -z /dev/sda #最後に削除したいディスクを選択
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?