USBメモリの初期化
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* USBメモリの初期化 [#rb8d1ca1]
LinuxでUSBメモリを初期化する
** パーティショニング [#c5a56c0b]
$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): o ... 新しい(GPT)パーティションテ...
This option deletes all partitions and creates a new pro...
Proceed? (Y/N): y
Command (? for help): n ... 新しいパーティションを追加する
Partition number (1-128, default 1):
First sector (34-15618014, default = 2048) or {+-}size{K...
Last sector (2048-15618014, default = 15618014) or {+-}s...
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): w ... 書き込み
Final checks complete. About to write GPT data. THIS WIL...
PARTITIONS!!
Do you want to proceed? (Y/N): y ... もちろんyes
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
** フォーマット [#b52d8164]
# sudo mkfs.vfat -v -c -F 32 /dev/sdb1
mkfs.fat 3.0.26 (2014-03-07)
/dev/sdb1 has 246 heads and 62 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 15615967 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 15221 sectors, and provides 1948186 clusters.
There are 32 reserved sectors.
Volume ID is f7750ba1, no volume label.
Searching for bad blocks 173408... 343776... 512080... ...
~
#htmlinsert(amazon_pc.html);
終了行:
* USBメモリの初期化 [#rb8d1ca1]
LinuxでUSBメモリを初期化する
** パーティショニング [#c5a56c0b]
$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): o ... 新しい(GPT)パーティションテ...
This option deletes all partitions and creates a new pro...
Proceed? (Y/N): y
Command (? for help): n ... 新しいパーティションを追加する
Partition number (1-128, default 1):
First sector (34-15618014, default = 2048) or {+-}size{K...
Last sector (2048-15618014, default = 15618014) or {+-}s...
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): w ... 書き込み
Final checks complete. About to write GPT data. THIS WIL...
PARTITIONS!!
Do you want to proceed? (Y/N): y ... もちろんyes
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
** フォーマット [#b52d8164]
# sudo mkfs.vfat -v -c -F 32 /dev/sdb1
mkfs.fat 3.0.26 (2014-03-07)
/dev/sdb1 has 246 heads and 62 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 15615967 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 15221 sectors, and provides 1948186 clusters.
There are 32 reserved sectors.
Volume ID is f7750ba1, no volume label.
Searching for bad blocks 173408... 343776... 512080... ...
~
#htmlinsert(amazon_pc.html);
ページ名: