Access to other partitions: NTFS and FAT32
Debian Lenny Gnome
Compaq, 1100MHz, 512k I have 2 partitions on the Windows HD that I'd like to access, and another HD also installed in the She-Beast. How do I mount a drive? My computer is really screwy, and I think Eric became frustrated trying to help me get this going. At one point, The winderz partition was mounted, but it showed 0 files in the folder. Eric has been so kind to offer many hours of his time on this, as well as other ailments. I just don't want to bother him with this one anymore. He needs a rest from me!!! |
Give us the output of:
fdisk -l That will show the locations of all partitions on all drives. Then we can mount them so you can have access. |
Did you install ntfs-3g?
|
Not sure what it all means...
Quote:
|
Quote:
My brother Eric mentioned that too... |
Type in a terminal:
su Enter password for root. Quote:
Quote:
You have 2 NTFS partitions at: Quote:
|
if on debian, run apt-get install ntfs-3g then mount -t ntfs-3g /dev/your_ntfs_drive /where/to/mount
|
The output:
Quote:
|
Shylock, you are correct about the partitions/formats (post #6)
|
Edit your /etc/fstab as root:
Code:
nano /etc/fstab Code:
/dev/hda1 /ntfs1 ntfs-3g rw,users,auto,noatime,exec 0 0 Code:
mkdir /ntfs1 /ntfs2 /fat |
GREAT!!! Thank yous!
Now I have access to my music, movies, and porn! ;-D Will the drives be automatically mounted the next time I start the box? hdd is constantly changed out with other HDs; I have a dozen of them... Will Debian recognize the new drive as hdd also? Any foreseen issues with this? |
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: Code:
UUID=ad4ade0f-7ffe-4df1-b567-7e730dfcb6d1 / ext3 errors=remount-ro 0 1 in fact 1-2, 3 and 4 entries here are separate HDDs. |
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]: Code:
mount -t ntfs-3g[or vfat incase of fat32] -o rw,users /dev/hda[N] /mount/point After the job is one use: Code:
umount /dev/hdaN |
SOLVED!
Thanks friends! |
All times are GMT -5. The time now is 09:34 AM. |