LinuxQuestions.org
Help answer threads with 0 replies.
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 06-12-2004, 04:14 PM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
Arrow How to change the fs on the root partition?


How do I change the file system of the root partition?

After reading up on various file system I thought that reiserfs would be the best file system for the root partition of my laptop. That partition is currently ext3.

I tried "mkfs.reiserfs /dev/hda7" but of course that didn't work since it was already mounted. I'm afraid of doing "mkfs.reiserfs -f /dev/hda7" since I'm afraid if that might screw anything up...

How can I change the file system of / before I mount it?

Thanks.
 
Old 06-12-2004, 04:40 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
mkfs will actually format the partition and remove all of your data so I suggest you make a good backup and then use a live cd or the first CD for your distro which usually has some kind of recovery mode and do it from there.
 
Old 06-12-2004, 06:34 PM   #3
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by david_ross
mkfs will actually format the partition and remove all of your data so I suggest you make a good backup and then use a live cd or the first CD for your distro which usually has some kind of recovery mode and do it from there.
Ugh. Good thing I hadn't done it on my /usr and download partitions... Thanks man.

Some kind of recovery mode? And do it from there? Could I do it from there without erasing all my data? How would I go about it then?
 
Old 06-13-2004, 11:15 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will not be able to do it without removing the data. The filesystems are very different so writing conversion tools would be difficult. The only 2 conversions that I know can be done are:
ext2->ext3 (using tune2fs - I think this can be done in reverse too)
fat32->ntfs (using convert.exe)
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
Change root Name virtualme Linux - Newbie 2 02-23-2005 12:19 AM
Can't change the read permissions on an NTFS partition as root? EOHooligan Linux - Newbie 4 01-09-2005 06:48 AM
how can i change the root name rinux Linux - Newbie 16 06-01-2003 10:17 AM

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

All times are GMT -5. The time now is 07:54 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