Linux - GeneralThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
mount -t ntfs -o r /dev/sda1 /windows/C
...but I always get:
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
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)
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.
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
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.
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.
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