LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-06-2001, 09:30 AM   #1
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
file format


haven't really done an 'upgrade' of file format yet but:

if say i want to change from ext2 to ext3, does this mean that it will totally wipe out all my existing data?

(i'm guessing that it will coz there needs to be a re-format... tell me if i'm wrong please...)

so if it does erase existing data on that partition, besides backing up and then putting all the stuff back in after the install, is there another way to preserve both the data and the applications i have already installed in the present ext2 partition?

( i don't have that problem right now, i'm just doing some thinking...)

thanks!
 
Old 12-06-2001, 10:18 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Usually when changing file systems you wipe out everything on there... however there are exceptions:
http://sourceforge.net/projects/e2fsprogs
tune2fs (I'm told) can non-destructivly convert an ext2 filesystem to an ext3 filesystem.
 
Old 12-06-2001, 10:41 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
yeah, can someone big and clever say wether what seems to be the standard way to change to ext2 to ext3 is 100000% non-destructive:

tune2fs -j /dev/hda5
[replace ext2 with ext3 in /etc/fstab]

and what if you don't mount it as ext3? just ext2 instead, will it simply not keep the journal upto date, or will it corrupt the journal or something?

you'd need to unmount the device before changing the type, so to do it on your own system, you'd want to boot on rescue mode from your distro no?
 
Old 12-06-2001, 12:50 PM   #4
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
Quote:
you'd need to unmount the device before changing the type, so to do it on your own system, you'd want to boot on rescue mode from your distro no?
actually i don't know how to go about it at all... i'm just starting with the preliminary questions before even getting there... as u can see i'm currently a redhatter and i just download iso images and do the simplest automated upgrade from the burned discs... (ok i can see the slackies sniggering away in some dark recompiling corner and the smug looks on the apt-get debbies )

out of context of post: in any case, i'm contemplating slack or debian... will get to it straight after my exams...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb "not in executable format: File format not recognized" tcma Programming 9 07-18-2007 07:02 AM
mpc file format? minm Linux - Software 4 06-22-2005 08:21 AM
djvu file format irfanhab Linux - General 1 09-07-2004 04:35 AM
format/file delete neozero62 Linux - Software 1 05-17-2004 07:39 PM
help uncompressing file format mxrush Linux - Newbie 7 04-01-2004 08:16 PM


All times are GMT -5. The time now is 11:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration