Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Working on my Linux partition i want to copy a file my windows partition,but i try all the command i could they never work.
I try this command :
mount -t vfat /dev /hda1 /mnt/windows
Which never work.
Later did a friend tells me i hae to configure my kernel to work with NTFS but i don't know how to do this.
Any help will be highly appreciated.
Thank you.
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
you are trying to access a ntfs partition then
mount -t ntfs /dev/hda1 /mnt/windows
would be the right way of using mount (please note: there is no space between /dev and /hda1)
depending on your distro ntfs support is already included.
Thank you so much for that contribution,
I´ve used the command:
mount -t ntfs /dev/hda1 /mnt/windows
and yet i couldn´t find any file on my Linux,
i mean the folder windows.
But i discover on using the command ¨df¨ i got this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
23742884 4465744 18051620 20% /
/dev/hda6 101054 9856 85981 11% /boot
tmpfs 253964 0 253964 0% /dev/shm
So i use mount -t ntfs /dev/hda6 /mnt/windows,it gave me a sign as if it´s copied,on checking the windows folder,i couldn´t find anything there.
then identify from that the parition which is formatted as ntfs, then type as you did above, only this time replace the /dev/hda1 with whatever the output of fdisk -l gives you as your ntfs partition. to see your files, you'll need to change directory into /mnt/windows, wherein you should find your ntfs files. you're best off mounting your ntfs drive as read-only as ntfs support is still not totally write-enabled. so your mount command will look something like:
Yah thanks so much for this,i tried it,but it keeps complaining about an unknown filesystem.What do you think i can do next.
Here´s the result down here.
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 6 48163+ de Dell Utility
/dev/hda2 * 7 3687 29567632+ 7 HPFS/NTFS
/dev/hda3 3688 9318 45231007+ f W95 Ext'd (LBA)
/dev/hda4 9319 9729 3301357+ db CP/M / CTOS / ...
/dev/hda5 6889 9318 19518943+ 7 HPFS/NTFS
/dev/hda6 3688 3700 104359+ 83 Linux
/dev/hda7 3701 6888 25607578+ 8e Linux LVM
Partition table entries are not in disk order
[root@tola ~]# mount /dev/hda6 /mnt/windows -t ntfs -o ro
mount: unknown filesystem type 'ntfs'
[root@tola ~]# mount /dev/hda7 /mnt/windows -t ntfs -o ro
mount: unknown filesystem type 'ntfs'
If you're using Fedora Core 5, as suggested by some of your other threads, then you can get an NTFS kernel module RPM from www.linux-ntfs.org, install that and you'll have support for NTFS (presumably you'll still need to load the module with "modprobe ntfs" or similar.. see the instructions on the site), then you'll be able to mount the filesystem.
Which distro are you using? Suse mounts NTFS drives automatically - but in read-only mode.
Everything I have read so far discourages writing to NTFS drives, but says it is possible using the tools mentioned above.
Another way is to create a FAT32 partition. Then you can share documents between Windows and linux without worrying about damaging the NTFS filesystem.
Yes! I've check into this website: http://www.linux-ntfs.org/content/view/187
to get kernel download, but i got this message on my screen because thing was unable to install:
Malicious software can damage your computer or cause other harm.
DETAILS:
Package kernel-module ntfs-2.6.9-42.0.2. Elhugenmen - 2.1.20-0.rr.10.0.i686.rpm is not signed.
And please whats distro and how can i get information about it.
Are you trying to copy from windows to linux or from linux to windows? You cannot access linux from windows. You can however access windows drives from linux(both ntfs and vfat) and write to fat32 partitions.
Now assuming that you are trying to access windows from your FedoraCore 5, you first have to download software that reads ntfs partitions because Redhat and FedoraCore does not have ntfs reading facility.
When you login to linux, open a terminal and type uname -r command to know the kernel release. Now use uname -p to know your processor type. Once you have these two information go to http://www.linux-ntfs.org/content/view/187, (this page is for FedoraCore 5) to choose the rpm that supports your kernel and processor type.
Quote:
but i got this message on my screen because thing was unable to install:
Malicious software can damage your computer or cause other harm.
DETAILS:
Package kernel-module ntfs-2.6.9-42.0.2. Elhugenmen - 2.1.20-0.rr.10.0.i686.rpm is not signed.
Hey bro, how can you get this message? Did you try to install it from windows?
Login to linux, open a terminal and type rpm -iUvh <packagename.rpm>, where
<packagename.rpm> is the rpm file you downloaded. Once its installed you can access your ntfs partition upon mounting.
Now to mount first you should create a folder in /mnt, say /mnt/windows
To do that type mkdir /mnt/windows
You say fdisk -l gave you this,
Quote:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 6 48163+ de Dell Utility
/dev/hda2 * 7 3687 29567632+ 7 HPFS/NTFS
/dev/hda3 3688 9318 45231007+ f W95 Ext'd (LBA)
/dev/hda4 9319 9729 3301357+ db CP/M / CTOS / ...
/dev/hda5 6889 9318 19518943+ 7 HPFS/NTFS
/dev/hda6 3688 3700 104359+ 83 Linux
/dev/hda7 3701 6888 25607578+ 8e Linux LVM
and you are saying,
Quote:
[root@tola ~]# mount /dev/hda6 /mnt/windows -t ntfs -o ro
mount: unknown filesystem type 'ntfs'
[root@tola ~]# mount /dev/hda7 /mnt/windows -t ntfs -o ro
mount: unknown filesystem type 'ntfs'
hda6 and hda7 are linux partitions! How can you mount them as ntfs?
You should be typing hda2 and/or hda5 as: mount -t ntfs /dev/hda2 /mnt/windows
If you do this you will definitely get access to your ntfs partition. This is valid for a single session. Before you logout you have to unmount the partition with: umount /dev/hda2ORumount /mnt/windows
If you want your ntfs partition to be automatically mounted each time you login you have to edit /etc/fstab file. But you first try this. Good Luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.