LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-16-2005, 01:14 PM   #1
Oesie
LQ Newbie
 
Registered: Jan 2005
Location: Netherlands
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Changing file system from NTFS to Linux Ext2


Since Windows XP is giving me a hardtime I want to transfer my files from my NTFS hard drives to a Debian Linux ext2 hdd. But I'm not sure how that stuff works, like if it is the same as NTFS.

At the moment I've like 4 hdd's (NTFS) with data on it. When I need data of a HDD I connect that hdd to my pc (they aren't all in). I've one spare hdd left now and can move the data one by one. But can I disconnect and connect linux ext2 drives on linux aswell. Or do they always need to be placed?

Another thingie that is going like the way I thought. One of my NTFS drives is currently beging formatted to Linux ext2 but PartionMagic is everytime giving up on me. Does de hdd size matter (it is 120 gig)? Do I need to make partions first, or should I format it through my debian?
 
Old 01-16-2005, 02:13 PM   #2
playcat
LQ Newbie
 
Registered: Jan 2005
Location: Republic of Srpska
Posts: 7

Rep: Reputation: 0
hello

i'm using fedora core 2, but distro isn't much important here. i don't know if my kernel can use ntfs, but i know it can be compiled to be able to use it, but only in read mode. i don't know how's the situation with your debian.

about switching HDDs, i don't see that it would be a problem. when you plug them, just mount them as you would with floppy disc or cd-rom, using comand `mount`.
you are disconnecting them only when u shut down the system anyway (u unplug the computer case from power?) so you don't even need to unmount them.

so, it would be something like

mkdir /mnt/other-hdd (or some other name)
mount /dev/hdb0 -t ntfs /mnt/other-hdd (i think that next HDD would be hdb, and check first if your kernel recognizes NTFS)

then cd into /mnt/other-hdd and use it as u use hda

if u have few partitions on hdd, then use commant fdisk -l hdb, and u'll se how they are numbered.

hope this works,
bye
 
Old 01-16-2005, 03:23 PM   #3
Oesie
LQ Newbie
 
Registered: Jan 2005
Location: Netherlands
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
I've found a way to format my disk under Debian and created a partion. I made a dir test in /mnt and mounted it afterwards. When I do 'df' is show my hdd mounted in /mnt/test so I assume everything is ok.

Can I now just upload files to /mnt/test/? I assume that it is in the /root dir of that hdd then. So when I switch hdd's it shouldn't give a problem? Do I need to unmount the hdb before I shutdown and remove the hdb?

Are there anythings that I might have overlooked? Because I'm gonna swith all my data from NTFS to Linux ext3, but that will require 4 hdd's and need to make sure I can change them without any probys. Thanks.
 
Old 01-16-2005, 06:47 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
For the love of God do NOT use ext2!!! If your machine dies unexpectedly it doesn't play very nice at all after that, I'd suggest ext3, you don't need to lose your data it's a simple command to change it over and you'll be glad you did.

Code:
# do for each partition
mke2fs -j /dev/hda1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print out ext2 File System justmehere Linux - General 2 08-02-2005 08:13 PM
boot time NTFS errors on ext2 file system adrianmariano Linux - Hardware 2 01-14-2005 06:38 PM
Can We Mount NTFS Windows file System from linux gautam_iiith Linux - General 6 10-23-2003 06:47 PM
How can I nfs mount an NTFS file system on my linux server jj4broder Linux - Networking 4 09-30-2003 02:03 PM
mounting ntfs file system on Redhat Linux 8.0 boy Linux - Hardware 2 12-02-2002 06:36 AM


All times are GMT -5. The time now is 11:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration