Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#1
I have an external HDD that I use to house all of my media and a few other things. It makes it easy to share things between my various distros and Windows. I have had some issues getting the HDD to fully work with Mepis (Mepis can mount it, read it, but not write to it or copy). Is there a good guide or would someone be willing to work with me to get it to work in antiX?
Posts: 1,081
OU812
Joined: 29 Sep 2007
#2
For your linux partitions, you could (as root) try something like

chmod -R -v 777 /mnt/sdb1

which will give rw permission to each directory, file, etc. and output the results to your terminal.

john
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#3
How do I go about installing the NTFS read capability in antiX?
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#4
Linux should be able to read an NTFS partition without anything extra. To write to it you need ntfs3g. You must also edit you fstab so that the file system is ntfs3g. eg:

/dev/sdb2 /mnt/sdb2 ntfs-3g defaults,noatime 0 0

This way it will mount with write permission.

eriefisher
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#5
When I turn the drive on there are three entries in /media that are sdc (which I assume is my drive because sda is Mepis and sdb is a few other distros, all on different HDD's than my 400GB Seagate).

sdc1

sdc3

sdc6

All of them do not have the little green dot to signify they are mounted bu when I click the folder in rox it opens up and there is nothing in it. I tried running"mount -a" and still nothing in any of the sdc folders. Any ideas?
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#6
Please post the contents of your /etc/fstab and in a console use fdisk -l and post the output.

eriefisher
Posts: 3
jdyahoo
Joined: 27 Mar 2008
#7
eriefisher wrote:Please post the contents of your /etc/fstab and in a console use fdisk -l and post the output.

eriefisher
Can I get an English translation for this? __{{emoticon}}__
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#8
For your fstab right click to get the menu and select run. When it opens enter gksu leafpad /etc/fstab. It will ask for your root password and then open your fstab in leafpad. Just select it all and copy and paste it here.

For fdisk right click to get the menu and select terminal. Type su and then your root password. Now you can type fdisk -l. Do this with the external drive plugged in so it will show up. Now copy the out put and pasts it here.

eriefisher
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#9
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sdb4 / ext3 defaults,noatime 1 1
/dev/sdb7 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
# Dynamic entries below
/dev/sda1 /mnt/sda1 ext3 noauto,users,exec 0 0
/dev/sda2 swap swap sw,pri=1 0 0
/dev/sda3 /mnt/sda3 ext3 noauto,users,exec 0 0
/dev/sdb1 /mnt/sdb1 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0
/dev/sdb3 /mnt/sdb3 ext3 noauto,users,exec 0 0
/dev/sdb5 swap swap sw,pri=1 0 0
/dev/sdb6 swap swap sw,pri=1 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/scd0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0

This is going to sound really bad but how do you copy and paste from a terminal? I am used to using Konsole and you cant just copy and paste normal in it. Ctrl+c and right clicking don't work in a terminal.
moron
Posts: 200
moron
Joined: 12 Sep 2007
#10
Jaws,
If you have a wheeled mouse the process is easy. Just highlight the text you want to copy and then move to the page/process/editor you want to copy it to and click on the mouse wheel. That works in most Linux versions.
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#11
Thanks!! That was easy!

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b04cf

Device Boot Start End Blocks Id System
/dev/sdb1 1 1312 10538608+ 83 Linux
/dev/sdb2 4432 4865 3486105 5 Extended
/dev/sdb3 1313 2625 10546672+ 83 Linux
/dev/sdb4 * 2626 4431 14506695 83 Linux
/dev/sdb5 4661 4865 1646631 82 Linux swap / Solaris
/dev/sdb6 4517 4660 1156617 82 Linux swap / Solaris
/dev/sdb7 4432 4516 682699+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdc: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39c791b3

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 48642 390709825 7 HPFS/NTFS
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#12
Is there some reason you have three /swap partitions?

eriefisher
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#13
Make that four /swap partitions?

I just realized that you said it was external so I assume usb. This is why it's not showing up in the fstab. It does show up with fdisk though so I'm not sure why hal or ivman won't see it to mount it so lets try manually. Check that ntfs3g is installed so you have write capabilities. Now create a directory where you want to mount the drive ie:/home.

As root

mkdir /home/jaws/mediafiles

now try to mount the drive

mount -t ntfs3g /dev/sdc1 /home/jaws/mediafiles

This should mount the drive with write capabilities under the folder in your home called mediafiles. To remove the drive you will have to unmount it manually as well with:

umount /dev/sdc1

eriefisher
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#14
This drive hasn't changed much and when I was just starting out installing they were created by default. Never really thought to change it. I guess it is kind of unnecessary. Oh well. Any idea about my external drive?