howto linux usb harddisk partition using fdisk cfdisk
1)List
# fdisk -l
2)Partition
# cfdisk /dev/sdb <----- Here sdb is the USB drive.
or
# fdisk /dev/
* first Detete all partition
* the create new (using cfdisk we can do it easily)
3) Format
# fdisk -l
# mkfs.ext4 /dev/sdc5
# mkfs.ext4 /dev/sdc6
# mkfs.ext4 /dev/sdc7
4) Mount
# fdisk -l
4) Mount ?
ReplyDeletecorrect:
# mkdir /mnt/foo
# mount /dev/sdc5 /mnt/foo
$ cd /media/saju/a9e0d610-0412-4da0-b127-927cead21a2d
ReplyDelete$ sudo chmod -R 777 ../