LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2004, 07:16 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Changing filesystems


Hi,

I used fat32 and ntfs on two harddrives before and now I am going to change. The ntfs-disc is no problem but on the one where I have fat32 I also have ext3 in two partitions. I would like to NOT have more then only one partition, an ext3.

The ntfs disc is for downloaded files, the other disc is now for linux (ext3) and backup + misc (fat32). The final state would be on disc with system files + programs and another with downloaded files (the backup is not needed anymore).

Disc 1: 5Gb ext3 (linux) + 35Gb fat32 (misc, old from when I used windows)
Disc 2: 120Gb ntfs (download, old from when I used windows)

would become:

Disc 1: 40Gb ? (linux)
Disc 2: 120Gb ? (download)


The first question is: can I make my ext3/fat-disc into only one partition without having to reinstall linux?

Second: which filesystem (if I have to reinstall linux I might considering to change the existing ext3) is best for this use (system versus downloaded files as movies, packed programs, mp3, etc)? My first thought was reiserfs and then ext3.

/MezzyMeat
 
Old 11-04-2004, 07:42 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Generally, you can simply, using a Live CD or recovery disk, tar/gzip up the entire root directory before deleting that partition. But be sure to do it with the drive umounted (that's why it needs to be done from a recover disk or equivalent means).

edit: for part 2, just use ext3. it is probably considered the defacto fs on Linux, so no reason why you shouldn't use it.

If the total file size on the ext3 partition can fit into the fat32 partition, I recommend doing it in the following order:
1. tar up all the stuff on the ext3 partition (make sure you use the -cp option to preserve file attributes).

2. move this giant of a tarfile into the fat32 partition.

3. reboot in windows, move the tar file into your ntfs partition.

4. repartition, recreate the enlarged ext3

5. extract the tar from the ntfs into the ext3

6. reinstall the bootloader.

7. delete the ntfs partition.

8. create the new ext3 partition.

Last edited by ugenn; 11-04-2004 at 07:46 AM.
 
  


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
Filesystems debnewb Linux - General 2 04-19-2005 05:19 PM
changing partitions filesystems and mounting them? dr_zayus69 Linux - Hardware 7 12-28-2004 08:22 PM
Filesystems Jeebizz Slackware 1 10-18-2004 02:18 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 08:21 AM
Filesystems narusegawa Slackware 1 03-27-2003 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 AM.

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