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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-16-2006, 04:25 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Rep:
|
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
|
|
|
|
06-16-2006, 06:07 AM
|
#2
|
|
Member
Registered: Jan 2006
Distribution: Debian
Posts: 462
Rep:
|
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.
|
|
|
|
06-16-2006, 07:05 AM
|
#3
|
|
Member
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Rep:
|
The ntfs volume may be dodgy itself. Try checking the volume for errors via windows.
|
|
|
|
06-16-2006, 07:33 AM
|
#4
|
|
Member
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145
Rep:
|
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.
|
|
|
|
06-16-2006, 11:30 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
Thanks for welcoming me.
I have 2 hard disks, each with one partition.
sda1 -> Windows
sdb1 -> Linux
|
|
|
|
06-17-2006, 09:36 AM
|
#6
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.....
|
|
|
|
06-18-2006, 01:48 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
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 
|
|
|
|
06-18-2006, 11:19 AM
|
#8
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.....
|
|
|
|
06-18-2006, 11:27 AM
|
#9
|
|
Member
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211
Rep:
|
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.
|
|
|
|
06-18-2006, 04:44 PM
|
#10
|
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
For a start,
is wrong. Use either -r or -o ro.
|
|
|
|
06-19-2006, 03:28 AM
|
#11
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
Quote:
|
Originally Posted by ioerror
For a start,
is wrong. Use either -r or -o ro.
|
ill try this tonight 
|
|
|
|
06-19-2006, 05:10 AM
|
#12
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
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 
|
|
|
|
06-20-2006, 11:57 AM
|
#13
|
|
Member
Registered: Jan 2006
Distribution: Debian
Posts: 462
Rep:
|
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.
|
|
|
|
06-20-2006, 12:40 PM
|
#14
|
|
Member
Registered: Oct 2005
Location: mumbai
Posts: 34
Rep:
|
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
|
|
|
|
06-21-2006, 03:12 AM
|
#15
|
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
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!!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|