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 |
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.
|
|
10-02-2002, 06:00 PM
|
#1
|
Member
Registered: Sep 2002
Distribution: Debian
Posts: 69
Rep:
|
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?
|
|
|
10-02-2002, 06:13 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
10-04-2002, 10:24 AM
|
#3
|
Member
Registered: Sep 2002
Distribution: Debian
Posts: 69
Original Poster
Rep:
|
is it ok to have one ext3 partition and the others ext2?
|
|
|
10-04-2002, 05:58 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
10-05-2002, 06:03 AM
|
#5
|
Member
Registered: Sep 2002
Distribution: Debian
Posts: 69
Original Poster
Rep:
|
cheers ak
|
|
|
10-05-2002, 08:29 AM
|
#6
|
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
|
may be fdisk will help
fdisk /dev/hda6
and change the partition type
|
|
|
10-05-2002, 08:34 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
yeah.. i.. already said that...
|
|
|
10-09-2002, 07:05 AM
|
#8
|
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
|
oh ok
|
|
|
All times are GMT -5. The time now is 03:09 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
|
|