[SOLVED] Access to other partitions: NTFS and FAT32
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
you'd better know what are you really doing. what if we adviced you to rm -fr ~ ? =) or, say, paste an output from execution of an obfuscated perl command that will copy /etc/shadow and encrypt it, then returned?)))
well, to be on-topic, /etc/fstab is a config that is read by kernel on boot, it means all partitions added in there are going to be mounted by kernel, if possible(if they really exist and have valid fs).
upd: i used vol_id that returned me an UUID of partition. i too have 3 HDDs, linux won't boot if i use standard method of specifying /dev/sda1 or /dev/sdc1 in /etc/fstab. my current fstab was created by me from an outputs of vol_id in the past, it looks like:
These drives will be automatically mounted at the specified mount points.
Suppose you have a HDD X which is ntfs and you place it where HDD Y [which was FAT32], then you will run into unable to mount problem at boot. But you can always edit your fstab like I showed and mount them accordingly. Also if you wouldn't want to make the change permanent , that is, you would like to just plugin a HDD and mount it and do your work and plug it out. Then use this instead [it will temporarily mount your HD]:
mount -t ntfs-3g[or vfat incase of fat32] -o rw,users /dev/hda[N] /mount/point
Replace /hdaN accordingly, check your fdisk -l output and it will show where your HDD was plugged.