Linux « Nkf - Change Japanese encording | HOME | 迷惑コメント撃退!! »
Make a partition on new HDD
If you wanna check current partition setup for HDD,
# fdisk /dev/sda
if you dont know what is your HDD device name, check with below command.
# cat /var/log/dmesg
コマンド (m でヘルプ): m
コマンドの動作
a ブート可能フラグをつける
b bsd ディスクラベルを編集する
c dos 互換フラグをつける
d 領域を削除する
l 既知の領域タイプをリスト表示する
m このメニューを表示する
n 新たに領域を作成する
o 新たに空の DOS 領域テーブルを作成する
p 領域テーブルを表示する
q 変更を保存せずに終了する
s 空の Sun ディスクラベルを作成する
t 領域のシステム ID を変更する
u 表示/項目ユニットを変更する
v 領域テーブルを照合する
w テーブルをディスクに書き込み、終了する
x 特別な機能 (エキスパート専用)
Then, check with option p, and take option q to finish.
How to setup partitions.
1) Firstly setup partitions with option n
2) Continuously take option n to create partitions as many as you want.
3) Then take option p to check whether the setup is correct.
4) If you want to change ID (file system), take option t
5) Take option w to save and finish.
Format new HDD or USB memory stick
After made partitions, you need to format your HDD.
# mkfs.ext3 -vc /dev/sdd1
Option v is to be verbose, c is to check the disk before format.
How to mount
Check this page !!

