PDA

View Full Version : Dual boot:: Mount 'ntfs' within FC6


eundfc6
2007-02-19, 04:02 AM CST
Folks,

I have dual boot laptop and I would like to mount my NTFS partition within FC6. For some reason I don't see /dev/hda1 (windowz portion) and 'mount' command doesn't work:

[root@localhost5 /]# dmesg | grep hda
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda: DMA, hdb: pio
hda: FUJITSU MHV2060AH, ATA DISK drive
hda: max request size: 128KiB
hda: 117210240 sectors (60011 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3
EXT3 FS on hda2, internal journal
SELinux: initialized (dev hda2, type ext3), uses xattr
[root@localhost5 /]# mount /dev/hda1 /mnt
mount: unknown filesystem type 'ntfs'
[root@localhost5 /]# mount -t ntfs /dev/hda1 /mnt
mount: unknown filesystem type 'ntfs'
[root@localhost5 /]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
32597816 11844184 19070996 39% /
/dev/hda2 101105 28687 67197 30% /boot
tmpfs 516932 0 516932 0% /dev/shm
[root@localhost5 /]#

sideways
2007-02-19, 05:00 AM CST
Try this

su -
rpm -Uvh http://rpm.livna.org/livna-release-6.rpm
yum install kmod-ntfs
modprobe ntfs
mkdir /mnt/win_ntfs
mount -t ntfs /dev/hda1 /mnt/win_ntfs


to mount automatically at boot put this line in /etc/fstab



/dev/hda1 /mnt/win_ntfs ntfs ro,umask=0222 0 0

There's also a read-write driver, ntfs-3g.

btw To see you partitions and drives use the commnad 'fdisk -l' (as root)

ProbablyX
2007-02-19, 09:36 AM CST
Fedora doesnt support NTFS by default. But it's easilly fixed:


su
yum install ntfs-3g


if you haven't done so already you must also run:

mkdir /mnt/windows


Now you can mount your win partition:

mount -t ntfs-3g /dev/hda1 /mnt/windows


If you get a message saying that the disk is not readable because Windows was not shut down properly, use:


mount -t ntfs-3g --ro /dev/hda1 /mnt/windows


To mount it read only.

gala_dragos
2007-02-19, 11:57 AM CST
Try ProbalyX option! It's safer and much reliable. You can get more NTFS tools by looking in the "extras" repository for FC6. Kyum or Yumex makes it easier. Also get a tutorial or manual about mounting partitions under linux for knowing exactly what to do and oher stuff.