Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-11-2004, 05:31 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Distribution: Slackware 10.1
Posts: 23
Rep:
|
Moving files from NTFS drive to a EXT3 drive??
I am a recent convert to Linux (Slackware 10) because I lost a big chunk of my files to windows and partition magic. So, to avoid this from happening again I want to put my apps, music, movies, games, e-books, etc. onto my new Slackware Server.
I was able to get most of these files off of the 160GB NTFS hard drive and put them on a 120GB NTFS hard drive.
I have also formatted the 160GB hard drive with EXT3 and partitioned it...so I think its ready to go again.
My problem is getting the files that are on the 120GB NTFS hard drive over to the 160GB EXT3 hard drive
I have tried to mount it ( # mount -aw -t NTFS /dev/hdd1 /backup )
but all i get is an error that reads, "fs type not supported by kernel"
My first thought was to put the 160GB EXT3 drive in the slackware computer...
and then put the 120GB NTFS drive in the Fedora/win2000 computer.......
BUT......I can't get the networking or file sharing or anything of the sort to work correctly.
All i want is the simplest and quickest wat to get my files onto the other hard drive. I've been racking my brain so much on this i think i'm missing something really simple and i will shoot myself when one of you mentions it (i won't really shoot myself).
Thank you.
Webshark
PS.....whoever helps me with this, I will give you access to my FTP when i get this all setup, but FTP server questions will be for another day. :-)
|
|
|
09-11-2004, 05:38 PM
|
#2
|
Member
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93
Rep:
|
Are you using the stock kernel of Slackware? I am not sure if it includes support for NTFS but it doesn't look like your kernel is. Try recompiling your kernel (which is alot easier than it sounds dont worry ) Just look for a howto on the web
|
|
|
09-11-2004, 05:43 PM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Try mount -aw -t ntfs /dev/hdd1 /backup (without the caps in ntfs, remember linux is case sensitive )
|
|
|
09-11-2004, 10:39 PM
|
#4
|
LQ Newbie
Registered: Sep 2004
Distribution: Slackware 10.1
Posts: 23
Original Poster
Rep:
|
I tried it again using lower case, and i got the same error.
I will look into recompiling the kernel, thanks!! :-)
|
|
|
09-11-2004, 11:11 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Ok, just curious anyways, why are you using the -aw parameter? I've read what it does, and linux by default doesn't support writting to ntfs partitions (it's very experimental, limited and not recommended except you get some third party drivers). Also the -a command seems to mount all the stuff in fstab, I'm sure you don't want to do that...
Try: mount -t ntfs /dev/hdd1 /backup just in case...
Also, slackware by default supports reading ntfs filesystems.
|
|
|
09-12-2004, 12:05 AM
|
#6
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
modprobe ntfs
That should load the driver. If it isn't compiled in for some reason...do a search for a Red Hat NTFS tutorial. Same issue, I don't remember the solution off hand.
|
|
|
05-28-2006, 12:12 AM
|
#7
|
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260
Rep:
|
Hello webshark,
You could make the OS decide the type of the filesystem that is on the disk you are going to mount. You can use the 'auto' option instead of 'ntfs'. This would make the OS probe the disk for the filesystem and mount it correspondingly. Also use the 'read only' option with the '-o' switch. Writing to an NTFS partition is still in development, as you know. So you could use the command 'mount -t auto -o ro /dev/hdd1 /backup'. Usually the command works even if you specify the 'ntfs' option, has not faced a trouble all these time. So could you please just send in what are you getting when you try this command.. Also have you partitioned the hard drive and mounted it to /backup alright? That too may cause a problem.. Waiting for your reply..
Thanks,,,
|
|
|
05-28-2006, 12:31 AM
|
#8
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
I would just use Windows to make a FAT32 partition somewhere, copy the files to it, where you'll easily be able to pick them up from Linux.
|
|
|
05-28-2006, 12:28 PM
|
#9
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Sorry that you lost your files, man. It's a little late now, but Linux tools seem to have a lot better record with resizing NTFS than Winbloze tools do. You can use the qtparted GUI (which invokes ntfsresize as needed) from Live CDs like Kanotix.
The "stock" Slackware 2.4.31 kernel (the one from the installation disk) does indeed include NTFS read support. I have my setup with Winbloze as my doc and music server and I can read everything from my Slackware and Debian machines. I used to mount it all the time and I didn't have to specify ntfs in the mount command.
Try a plain mount with no options, like this:
Code:
mount /dev/hdd1 /backup
I got tired of issuing the command so I just updated my fstab so that it gets mounted on startup.
I have an entry in my fstab like this:
Code:
/dev/hda9 /mnt/NTFS ntfs auto,owner,ro,umask=0222 0 0
Last edited by Randux; 05-28-2006 at 12:31 PM.
|
|
|
05-28-2006, 02:38 PM
|
#10
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
If you do decide to recompile the kernel, I would recommend using the latest 2.6 kernel from kernel.org. NTFS is supported better in the 2.6 kernel. By the way, creating a fat32 drive and moving the files there is a great way to share the files between both OS. ext3 is not supported natively in windows and you will need to get 3rd part software to do it. (I'm not sure how reliable this is)
regards,
...drkstr
|
|
|
05-28-2006, 03:02 PM
|
#11
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
The should do it, since the ntfs driver is not being loaded by default in Slackware. If you want to have the driver loaded on every boot, open the file
Code:
/etc/rc.d/rc.modules
in an editor and look for the line
Code:
#/sbin/modprobe ntfs
Remove the hash '#' and after reboot, the driver will be loaded automatically.
Eric
|
|
|
All times are GMT -5. The time now is 04:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|