LinuxQuestions.org
Visit Jeremy's Blog.
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 09-02-2006, 07:08 AM   #1
Babe963
Member
 
Registered: Aug 2006
Distribution: Debian unstable/testing
Posts: 34

Rep: Reputation: 15
Want to add an extra hard drive ?


Hi..

I have 2 sata hard drives now ..
A Maxtor 300 GB with Win XP and a Maxtor 80 GB with Linux Debian one it...

The XP drive is formated in NTFS .. and the Linux in EXT3 ...

I now want to add an extra old IDE ATA drive that I have to be as a middle medium between them where I can access files from both OS without any problems ..

My question is how do I go about formatting that drive to something compatible with both ? I now NTFS wont work so should I go to FAT 32? And from where should I format it to be best compatible with linux? I can do it using a windows booting disk? or use swissknife from windows? or any suggestions are apprecaited...


Thanx
 
Old 09-02-2006, 07:21 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
NTFS can be read by Linux. Write support is "experimental" at this point, but it has been done successfully and is only going to get better. If you want to be safe, though, go wit FAT32. To be sure Windows will recognize the drive, I'd suggest using Windows to format it. Just install the drive boot into Windows, and goto the control panel. Windows should recognize the drive and you can right click on it to select formatting.
 
Old 09-02-2006, 08:30 AM   #3
Babe963
Member
 
Registered: Aug 2006
Distribution: Debian unstable/testing
Posts: 34

Original Poster
Rep: Reputation: 15
What about linux ,,, will it give me any problems with a windows formatted drive in FAT32 ?

I am slowly moving form windows to Linux .. hoping to do a semi complete transition soon .. So my main concern is Linux working properly with the drive ...
 
Old 09-02-2006, 11:14 AM   #4
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Thumbs up Linux should read FAT32 OK formatted by M$ OS. Register @ Arow link RLU, then +Systm

I have just started 4mtng my FILE/DATA HD partitions in M$ so the various Linux distro WILL read them. Was recommended to use FAT, but sometimes option is not avail to me (why?) Diff FAT vs FAT32 to Linux (??).
Have not tried FAT32 4mtd in Linux yet, but do not see why much difference as FileSystem FAT32 is the same.

Just noticed 64bit Vista Ultimate beta 2 (5384) will open files (.txt) on my ODIN x86_64 install DVD (Mdv 2007 beta2), hopefully it does not cause media errors later (don't think it should as read only, no attempt was made to save/change). Do not recall XP allowing that, must recheck later.
.pdf OK btwn M$ & Linux when using .pdf readers
B.. Congrats on shift attempts
[quote=Babe963]SNPD Will linux give me any problems with a windows formatted drive in FAT32 ? slowly moving form windows to Linux [quote]
 
Old 09-02-2006, 12:33 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
So my main concern is Linux working properly with the drive ...
This is really easy, and a good thing for a "newbie" to get to grips with.
Do as previously suggested: install your new drive, and format it to FAT32 using win (you should find that easy enough, although I forget the windows commands now...). Now would be a good time to put some files on your new drive, so there's something to "see" from linux later.

Now boot to linux.
You need to create a mount point for your new drive:
Open a terminal, and become root
su
give root's password
Make a directory to mount your new drive:
mkdir /mnt/newdrive
Make the directory accessible to everyone:
chmod 777 /mnt/newdrive
Use whatever editor you like to edit the file /etc/fstab eg:
kwrite /etc/fstab
Add the following line, as a line on its own:
Code:
/dev/hdc1 /mnt/newdrive vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
Note: "/dev/hdc1" may need to be changed, depending on how you physically installed your drive (ie which cable it is on, & whether master / slave)

Edit:If you are not sure which device is your new disk, the command fdisk -l (that's "minus Ell" not "minus one") will list the available partitions, look for the one that is listed as FAT32.

Save the file /etc/fstab and exit your editor.
Issue the following command to mount all the devices mentioned in fstab (including your new drive)
mount -a

If you don't get any error messages, all is well.
Exit from your terminal (ie close it)
Navigate to /mnt/newdrive with your file browser. Your files should be there. In the future, your new drive will always be mounted automatically at boot time.

HTH

Last edited by tredegar; 09-02-2006 at 01:00 PM.
 
Old 09-02-2006, 05:16 PM   #6
Babe963
Member
 
Registered: Aug 2006
Distribution: Debian unstable/testing
Posts: 34

Original Poster
Rep: Reputation: 15
Cool , its getting late now will do as u instructed tomorrow morning

Just another thing..
The drive I will be using have 2 partitons one in NTFS and the other with FAT32.. For the mean time clearing the NTFS partition is more than a few days job so I may leave it as it is for the mean time,, but I can make use of the 60 GB i have on the second partition which is already in FAT32..
This is a drive I have been using in my USB case,, Will physically install it on an IDE tomorrow

How should I go about mounting the FAT32 partition? Will the first partition thats in NTFS cause any problems?


Thanx,
Babe963
 
Old 09-04-2006, 06:47 PM   #7
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Thumbs up Linux partitioning wizard should see NTFS partition, make suggestions to mount FAT32

When you install Linux, the partitioning wizard should see it all and make suggestions for you. If you understand what you are seeing, can just accept it. Or can Edit to your choosing.
Will show you the NTFS part by itself with the start & end points. Just make sure you do not tell wizard to use entire drive (reformats), pick option to keep existing partitions. It will then propose swap, / , /home from the FAT32 space hopefully. Good luck!
Quote:
Originally Posted by Babe963
SNPD I can make use of the 60 GB i have on the second partition which is already in FAT32.. install it on an IDE tomorrow
How should I go about mounting the FAT32 partition? Will the first partition thats in NTFS cause any problems?
 
  


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
Extra Hard drive invisible? Hopeful Red Hat 1 05-19-2005 01:27 PM
Extra Hard Drive FAT32 cant be read AndrewZorn Linux - Newbie 15 04-04-2005 08:15 AM
mounting extra hard drive Brother Michael Linux - Newbie 1 08-18-2003 07:15 PM
Extra hard drive. New distro? Misteree Linux - General 21 02-20-2003 05:42 PM
extra hard drive finger51 Linux - Newbie 7 09-24-2002 09:31 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration