LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-09-2008, 12:09 AM   #1
xcorsary
Member
 
Registered: Mar 2008
Location: Medellin - Colombia
Distribution: kubuntu
Posts: 31

Rep: Reputation: 15
Thumbs up formating a partition (sda5 - NTFS filesystem) to make it "linuxable" (fedora 8)


hi guys and girls...

i have a fedora8 installed, and a parition which was used by a w2k os.
i moved all the data (moustly music and videos) from the sda5 partition, 'couse some linux user tould me i shoul not try to save something on a ntfs filesystem from linux, 'couse this could cause damage.

i read some other threads and they speak of the mkfs comand. i took a look at the manual, but din't understood very well, and im afraid of making a mistake here.

any help? and how important is to have an ext2 or ext3 filesystem if i wanna save music and video?... i mean, whats the diference anyway?

tkx a lot

mk
 
Old 04-09-2008, 01:43 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Use ext3 rather than ext2. You could use Fedora Core's partitioning program or
use the command: "sudo /sbin/mkfs.ext3 /dev/sda5".

Then mount the partition where you want it and use the "chown" and "chmod" commands on the mounted partition to change the ownership & permissions.
Lastly, edit /etc/fstab so that it is mounted when you boot.
 
Old 04-09-2008, 08:26 AM   #3
xcorsary
Member
 
Registered: Mar 2008
Location: Medellin - Colombia
Distribution: kubuntu
Posts: 31

Original Poster
Rep: Reputation: 15
hi,
2 things

- i did what
Quote:
/sbin/mkfs.ext3 /dev/sda5
under root, but when i tipe fdisk -l, the partition still apears as HPFS/NTFS... should it say linux instead?

- how do i edit the "/etc/fstab" so that it is mounted when I boot?
 
Old 04-09-2008, 08:41 AM   #4
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
add a line
/dev/sda5 /mnt/whateverdirectory ext3 defaults 1 2

does fdisk -l still say NTFS after a restart?
 
Old 04-09-2008, 09:31 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Did you use fdisk to create the partition and not change the type id of the partition to linux (83). Verify that there is an ext file system on the disk with "file -s /dev/sda5". You may just need to change the type in fdisk.
 
Old 04-09-2008, 11:59 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Just to elaborate on jschiwal's post. The partition ID is basically nothing more then a label and nothing to do with its filesystem. Creating a filesystem on a partition will not change its ID.
 
Old 04-16-2008, 06:52 PM   #7
xcorsary
Member
 
Registered: Mar 2008
Location: Medellin - Colombia
Distribution: kubuntu
Posts: 31

Original Poster
Rep: Reputation: 15
dobre utra jschiwal! , tkx now it works! i just had to change permissions... :P

tkx guys!
 
  


Reply

Tags
formating, ntfs


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 edit file and make read/write / on "repair filesystem" mode? tovohery Linux - General 5 02-18-2008 02:39 AM
Mounting NTFS Sata drive on FC5, "/dev/sda5 is not a valid block device" FlamingBee Linux - Newbie 13 11-04-2006 07:18 PM
USB HDD Mounting Problem "/dev/sda5 found in /etc/fstab" zcapx32 Linux - Hardware 5 06-30-2006 03:55 AM
Can I "merge" my NTFS XP partition into my Fedora patition? jdruin Linux - Hardware 4 04-20-2004 07:34 AM
"read-only filesystem" occurs in make install davemar Linux From Scratch 2 03-11-2004 10:33 AM


All times are GMT -5. The time now is 03:13 PM.

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