Skip to content

Tag Archives: filesystem

Mounting an NTFS filesystem

13-Jan-10

Mounting an NTFS filesystem
Suppose your ntfs filesystem is /dev/sda1 and you are going to mount it on /mymnt/win, do the following.
First, create a mount point.

mkdir /mymnt/win
Next, edit /etc/fstab as follows. To mount read-only:

/dev/sda1 /mymnt/win ntfs-3g ro,umask=0222,defaults 0 0

To mount read-write:
/dev/sda1 [...]

Running fsck on your server

24-Nov-09

Q. My laptop partition  /dev/sdb1  is showing file system error, how  do i use fsck command to check for file system error and repair the partition.

Solution  is to use   fsck – check and repair a Linux file system or use e2fsck – check a Linux ext2/ext3 file system.
Device              [...]