LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2006, 04:25 AM   #1
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
cannot mount Windows (NTFS) partition


Hi everyone.

I'm new with Linux. I have Susse 10.0. I have 2 NTFS partitions in my hard disk. C has Windows, D has the Linux. The D partition mounts automatically, no problems at all. I cannot mount C. I've tried several variations of the command:
Code:
mount -t ntfs -o r /dev/sda1 /windows/C
...but I always get:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
PLEASE HELP!!!


Code:
linux:/dev # mount
/dev/sdb6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sdb1 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
Code:
linux:/etc # cat fstab
/dev/sdb6            /                    reiserfs   acl,user_xattr        1 1
/dev/sda1            /windows/C           ntfs       ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb1            /windows/D           ntfs       ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb5            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/dvdrecorder     /media/dvdrecorder   subfs      noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none                 /subdomain       subdomainfs noauto         0 0
 
Old 06-16-2006, 06:07 AM   #2
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Question More info needed...

Dear ShraX!

Let me congratulate for joining the Linux users world. In the beginning it won't be that easy, but in time you will get into it. Don't panic if you have a problem, just ask. People WILL help with pleasure. Now the problem:
As I see, you appear to have a SCSI HDD. First of all in Linux there are no C and D and E and ... drives. You must understand what kind of naming has Linux. It is a very smart and easy naming system. First of all lets chack your comp. In "sda1" the "s" means, that you have a SCSI device. (Pendrives too will appear as scsi devices (emulating). For non SCSI HDDs it is not sda1, it is hda1.) The "a" means, that it is the first HDD(or any other device) of yours. The "1" means, that it is the first partition on that device. So, for example: on the 3rd hardisc the 5th partition will be sdc5. Understand? So, next time if you write about your partitioning, please include the "sda"s. OK? You know, C and D are relative, they not always represent the real partitioning.
So: Please write down these infos to get help:
How many HDDs do you have?
Which hdd contains the windows and which the Linux?
On which partitions are Win and Lin installed?
You must also know, that it is not fully supported to write on NTFS partitions. They will be mounted read-only.

Last edited by pusrob; 06-16-2006 at 06:14 AM.
 
Old 06-16-2006, 07:05 AM   #3
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
The ntfs volume may be dodgy itself. Try checking the volume for errors via windows.
 
Old 06-16-2006, 07:33 AM   #4
brainiac
Member
 
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145

Rep: Reputation: 15
Simple way, can be changed later if desired. Create a directory called windows. Then do your mount of /dev/sda1 to your newly created /windows directory and you should be able to "see" it. It should be read only, as writing to it might be a bit iffy. For file transfers I use Konqueror (KDE)in root mode. If it is going to be accessed from "Linux" a lot then change your fstab entry to mount it to your /windows directory you created. I am not that familiar with ntfs so someone else can probably better help you on your fstab entry you need to make it mount at boot up. Oh Yeah Welcome.
 
Old 06-16-2006, 11:30 PM   #5
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for welcoming me.

I have 2 hard disks, each with one partition.

sda1 -> Windows
sdb1 -> Linux
 
Old 06-17-2006, 09:36 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by SharX
Thanks for welcoming me.

I have 2 hard disks, each with one partition.

sda1 -> Windows
sdb1 -> Linux
This doesn't match the info in your original post.
You have not responded to any of the suggestions so far.....
 
Old 06-18-2006, 01:48 AM   #7
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
This doesn't match the info in your original post.
You have not responded to any of the suggestions so far.....
well its the truth
i haven't tried the suggestion made because it is in Chinese as far as I can tell
 
Old 06-18-2006, 11:19 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by SharX
well its the truth
i haven't tried the suggestion made because it is in Chinese as far as I can tell
What are you talking about---what suggestion is in Chinese? What do you not understand?

It's the truth?? What? Your description here:
Quote:
I have 2 hard disks, each with one partition.

sda1 -> Windows
sdb1 -> Linux
does not match the information in your original post. Which is correct?

You are not going to get any help here if you don't give us useful information or feedback to our questions.....
 
Old 06-18-2006, 11:27 AM   #9
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by SharX
I have 2 hard disks, each with one partition.

sda1 -> Windows
sdb1 -> Linux
So no swap partition? And you really should create a seperate partition for the /home directory.
 
Old 06-18-2006, 04:44 PM   #10
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
For a start,

Quote:
-o r
is wrong. Use either -r or -o ro.
 
Old 06-19-2006, 03:28 AM   #11
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ioerror
For a start,



is wrong. Use either -r or -o ro.
ill try this tonight
 
Old 06-19-2006, 05:10 AM   #12
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
What are you talking about---what suggestion is in Chinese? What do you not understand?

It's the truth?? What? Your description here:

does not match the information in your original post. Which is correct?

You are not going to get any help here if you don't give us useful information or feedback to our questions.....
thanks for trying to help, i appreciate it. i just dont get most of what was said (like brainiac's reply)

Quote:
Originally Posted by UK MAdMaN
So no swap partition? And you really should create a seperate partition for the /home directory.
the partitions are like i said, i dont know what is a swap partition. please excuse me, im a linux newbie
 
Old 06-20-2006, 11:57 AM   #13
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Wink SWAP is this:

Dear SharX!

A SWAP partition is a kind of extra memory for Linux. If you run out of RAM, becouse of something, Linux will use this partition for memory. Your computer will be slow, but it will work. I don't know if you ever noticed, that in windows sometimes you have less and less space on drive C (where Win is installed). It is becouse Windows uses a swap file on the partition it is installed, and not a separate partition like Linux, so this file grows and grows. It only will happen if you run out of free RAM. So create a 300 Megs of SWAP partition, it should be enough. Partition Magic 8 can do it too if you use it. Find the "Linux SWAP" entry when choosing the partition type. You can use other partitioners of course, like QTParted. You choose.
Now about mounting your NTFS. Do you have a "windows" named directory in the root directory (root directory is the dir from where you cannot go up any further)? If you have, do you have in windows dir the "C" and "D" named directory? If some of these are missing, create them (only root can create dirs there, so use su in concole, then mc to create them). If you have these, type mount /dev/sda1. This should work. Your fstab seems to be good (Suse made it). Write down if something is wrong.

Last edited by pusrob; 06-20-2006 at 12:04 PM.
 
Old 06-20-2006, 12:40 PM   #14
pansarevaibhav
Member
 
Registered: Oct 2005
Location: mumbai
Posts: 34

Rep: Reputation: 15
ntfs partation

Hi,
did u check with kernel compilation , did your os supports for ntfs support.
otherwise u can upgrade your kernel for ntfs usage.
I had done it twice on red hat , and with upgrading of kernel.
one site is devoted for this perpose ie linux-ntfs.org
pansarevaibhav
 
Old 06-21-2006, 03:12 AM   #15
SharX
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I used -r, didn't work. Tried checking the disk as Daws said, and then it worked!! The disk had a few errors.

Thanks everyone!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
How to mount Windows NTFS partition?? crash_override_me Ubuntu 13 12-10-2005 01:40 PM
How can i mount my NTFS partition?? PICOspark Linux - Newbie 4 12-12-2004 06:06 AM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 11:49 AM
Mount an NTFS Partition? oostevo Linux - General 3 11-23-2001 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration