Linux Command | Jan. 15, 2010

Pro contributor
14Jan2010,09:18   #1
pankaj.sea's Avatar
Suppose Mr. Raju is trying to mount a hard drive partion in Fedora or Red Hat linux, by giving a simple command
Quote:
mount -t XXX /dev/sda1 /mnt
But every time he gets error that OS is unable to mount the file system, which belongs to a Windows system. User may force mount the drive. The drive is of Capacity 50GB!
So, what command should he use to force mount it!
Go4Expert Founder
15Jan2010,15:17   #2
shabbir's Avatar
Welcome to the forum
Pro contributor
15Jan2010,17:09   #3
pankaj.sea's Avatar
Quote:
Originally Posted by shabbir View Post
Welcome to the forum
Why now?
Pro contributor
15Jan2010,17:13   #4
Mridula's Avatar
Is this?

mount -t xxx /dev/sda1 /mnt -o force
Pro contributor
15Jan2010,17:16   #5
pankaj.sea's Avatar
Quote:
Originally Posted by Mridula View Post
Is this?

mount -t xxx /dev/sda1 /mnt -o force
Your command is incomplete!
Pro contributor
15Jan2010,17:57   #6
Mridula's Avatar
Oh!! Ya, typo mistake !!

This should be fine now!!

mount -t xxx /dev/sda1 /mnt/sda1 -o force
Pro contributor
15Jan2010,18:25   #7
pankaj.sea's Avatar
Quote:
Originally Posted by Mridula View Post
Oh!! Ya, typo mistake !!

This should be fine now!!

mount -t xxx /dev/sda1 /mnt/sda1 -o force
This is incorrect too!
you should mention file system! see the question and you'll get the exact file system's clue!
Pro contributor
15Jan2010,18:51   #8
Mridula's Avatar
> sudo mount -t xxx /dev/sda1 /mnt/sda1 -o force
Pro contributor
15Jan2010,19:02   #9
Mridula's Avatar
> sudo mount -t xxx /dev/sda1 /mnt/windows -o force
Pro contributor
15Jan2010,19:09   #10
pankaj.sea's Avatar
Quote:
Originally Posted by Mridula View Post
> sudo mount -t xxx /dev/sda1 /mnt/windows -o force
Hey Mridula!
in place of guessing, focus on the command u r writing!
Think, which portion is for mentioning the File System of the disk!
Then make the necessary change and post!
Now, your every command's syntax is correct!