LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help: NTFS and Slackware 12.2 (http://www.linuxquestions.org/questions/linux-newbie-8/help-ntfs-and-slackware-12-2-a-725753/)

alelb22 05-13-2009 02:23 PM

Help: NTFS and Slackware 12.2
 
SOLVED, SORRY


First, thanks for reading this.

I'm dual booting XP and SW on a Sata disk..
The partitions of that disk are (in XP):
C:\ for Windows
D:\ for files
And the linux partitions (Swap and Ext3)...

I have an IDE disk with files too (Music, videos, etc..)
I can see the files in the C and D drives, but i can not access the IDE partition (I have only one in that disk) (I'm using SW NOW, not XP)


This is the original fstab: (when i installed SW)
/dev/sda6 swap swap defaults 0 0
/dev/sda7 / ext3 defaults 1 1
/dev/sda1 /ntfc-c ntfs-3g umask=000 1 0
/dev/sda5 /ntfc-d vfat defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

This is the one I am using now. With this i can acces C & D:
/dev/sda6 swap swap defaults 0 0
/dev/sda7 / ext3 defaults 1 1
/dev/sda1 /ntfc-c ntfs-3g umask=000 1 0
/dev/sda5 /ntfc-d ntfs-3g umask=000 1 0
/dev/hda5 /ntfc-e ntfs-3g umask=000 1 0
#/dev/sda5 /ntfc-d vfat defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0


HDA5 was added only to test... is not working ^^


I have also tryed with:

ntfs-3g /dev/hda5 /mnt/win
ntfs-3g-mount: failed to access mountpoint /mnt/win: No such file or directory


Using fdisk -l

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf92bf92b

Device Boot Start End Blocks Id System
/dev/hda1 2 10011 80405325 f W95 Ext'd (LBA)
/dev/hda5 2 10011 80405293+ 7 HPFS/NTFS

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9e0e9e0e

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sda2 1913 9729 62790052+ f W95 Ext'd (LBA)
/dev/sda5 1913 8414 52227283+ 7 HPFS/NTFS
/dev/sda6 8415 8536 979933+ 82 Linux swap
/dev/sda7 8537 9729 9582741 83 Linux

Disk /dev/sdb: 4126 MB, 4126146560 bytes
16 heads, 32 sectors/track, 15740 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x051570d6

Device Boot Start End Blocks Id System
/dev/sdb1 1 15740 4029424 c W95 FAT32 (LBA)




Sorry for to things:
Asking noob questions like this.. i wansn't able to find anything that worked here..
My bad ensligh, i think i need more practice =P

If you need more info ask and i will reply as faster as i can...





_______________________
EDIT:

I only needed to do this:
mkdir /mnt/ntfs
mount -t ntfs /dev/hda5 /mnt/ntfs


Sorry for creating this thread

mostlyharmless 05-13-2009 04:26 PM

You are much better off using ntfs-3g like this: mount -t ntfs-3g /dev/hda5 /mnt/ntfs

alelb22 05-14-2009 12:00 AM

Thanks for your comment..
Why is that way better?
Every time i reboot the PC I have to do that, so, how can i avoid retyping it?

And another question:
I've read that writing in NTFS partitions from Linux is unsafe because it may corrupt the partition data. Is that true with this version of Slackware? (12.2)

linuxlover.chaitanya 05-14-2009 01:22 AM

If you use ntfs-3g package then it could as be safe for use. I never had problems till date. (Touch wood).

alelb22 05-14-2009 01:27 AM

Thanks!
And what should I do to make that every time the OS loads that partition is mounted?

linuxlover.chaitanya 05-14-2009 01:38 AM

Edit the fstab file as super user and add the entry there.
But make sure you install the ntfs-3g package before.

Code:

/dev/sda5  /mnt/ntfs  ntfs-3g  defaults  0    0


All times are GMT -5. The time now is 05:19 AM.