LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2002, 05:00 PM   #1
kabads
Member
 
Registered: Sep 2002
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Creating an ext2 partiton from an old fat32


I dual boot, but hardly ever use win - I've got an 8Gb fat partition that I'd like to turn in to my /usr directory.

I've deleted everything off it and typed mkfs.ext2 /dev/hda6 - and then mount /dev/hda6 /mnt/usr (/mnt/usr being created). However, it complains that /dev/hda6 is still fat and doesn't have write access.

This is all done in single user mode.

Have I missed something here?
 
Old 10-02-2002, 05:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you still need to change the fs type in teh fat table, use fdisk, cfdisk or something similar, and chagne the type there.

you really should think about using ext3 (the j flag) instead though

mke2fs -j /dev/hda6
 
Old 10-04-2002, 09:24 AM   #3
kabads
Member
 
Registered: Sep 2002
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
is it ok to have one ext3 partition and the others ext2?
 
Old 10-04-2002, 04:58 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes. no problem to upgrade the others too...

tune2fs -j /dev/hda2

make sure you set the fstype properly in /etc/fstab i.e. ext3 not ext2
 
Old 10-05-2002, 05:03 AM   #5
kabads
Member
 
Registered: Sep 2002
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
cheers ak
 
Old 10-05-2002, 07:29 AM   #6
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
may be fdisk will help

fdisk /dev/hda6

and change the partition type
 
Old 10-05-2002, 07:34 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah.. i.. already said that...
 
Old 10-09-2002, 06:05 AM   #8
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
oh ok
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fat32 partiton marjan Linux - Hardware 7 06-15-2006 05:03 PM
fat32 partiton cant see it einstien Linux - Hardware 2 07-07-2005 02:40 PM
copy from a fat32 partiton vwal_13 Slackware 4 04-14-2004 07:41 AM
Where and what type of Linux partiton? (EXT2 vs EXT3, 1st or 2nd HD, etc) Noffie Linux - Newbie 3 01-05-2004 09:05 AM
ext2 and fat32 gag Linux - Newbie 2 10-16-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:03 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
Open Source Consulting | Domain Registration