Linux 掛載新硬碟

Add new partition:

fdisk /dev/hdb

In fdisk, use “t” command to choose system id (partition type: Linux, SWAP or others).

If you can see the new partition in the list of fdisk -l, then use mkfs to create file system. The Linux default file system is ext3.

mkfs ext3 /dev/hdb1

If all steps are okay above, then edit /etc/fstab to mount you file system.

2 則留言


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Exit mobile version