2009/07/13

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 則留言: