convert current mint6 install from ext3 to ext4

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

convert current mint6 install from ext3 to ext4

Postby element on Wed Mar 25, 2009 11:53 am

is there a way for me convert my current mint6 install from ext3 to ext4? or i'd be willing to re-install on ext4 if that was only option. i was able to install fedora on ext4 by adding "ext4" switch when i booted from the cd, but it didn't work with mint.
also, is there a cutting edge perpetual beta version of mint? i want that.
element
Level 1
Level 1
 
Posts: 22
Joined: Fri Oct 03, 2008 12:54 am

Linux Mint is funded by ads and donations.
 

Re: convert current mint6 install from ext3 to ext4

Postby AK Dave on Wed Mar 25, 2009 8:22 pm

Ubuntu Intrepid doesn't support ext4 in the kernel, and Mint Felicia is spun from Intrepid, so Felicia doesn't support ext4 either.

You could do some experimental Ubuntu upgrade to Jaunty alpha-6 (or wait till tomorrow and it'll be Jaunty beta-1) and then you'll have a kernel that can support ext4. But you still won't have an ext4 filesystem until you format your partition(s) to such.

There is no on-the-fly transition from ext3 to ext4.

Closest thing would be to use Ubuntu's upgrade paths to convert your Mint Felicia into Ubuntu Jaunty. Then boot from a Jaunty usb stick. Make a dd copy of your system partition. Reformat as ext4. Restore the system partition with dd. Maybe that would work, and if it doesn't you still have a dd backup to restore later.

What is so mission critical that you cannot wait a month for Ubuntu Jaunty?
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1043
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: convert current mint6 install from ext3 to ext4

Postby Fred on Wed Mar 25, 2009 8:46 pm

AK Dave wrote:
Make a dd copy of your system partition. Reformat as ext4. Restore the system partition with dd. Maybe that would work, and if it doesn't you still have a dd backup to restore later.

What is so mission critical that you cannot wait a month for Ubuntu Jaunty?

I would have to take issue here Dave. The dd command takes not only the data but also the file system structure. It is a cloning command. So if you copy with the dd and then restore you will have restored the file system as well as the data. A better bet would be the cp command or my preference, rsync. These would copy and restore only data.

For anything mission critical I would strongly recommend you pass on ext4 for a while. Currently the journal in ext4 can be written to before the actual data is committed to disk. This has some definite data loss possibilities on an unexpected power loss or system crash. Actually the current reliability of ext4 in the 2.6.28 kernel is somewhat less than ext3 writeback mode. I might consider ext4 on a laptop or desktop with UPS, where a power failure is very unlikely, but not on a system running on standard commercial power.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: convert current mint6 install from ext3 to ext4

Postby element on Wed Mar 25, 2009 9:33 pm

well you guys answered my question. i'll just do clean install when mint does ext4 native. or image it and play.
@AK Dave: not mission critical, i just like to stay on the leading edge.
@Fred: not sure about the data loss, http://lkml.org/lkml/2009/3/24/460 . and this is a laptop. dell mobile workstation m65 ( just to let anyone wondering that mint6_64 runs perfect on it).
thanks :)
element
Level 1
Level 1
 
Posts: 22
Joined: Fri Oct 03, 2008 12:54 am

Re: convert current mint6 install from ext3 to ext4

Postby Fred on Wed Mar 25, 2009 9:52 pm

element,

I would of course defer to Linus in all cases. I think the message here is reliability has to be lower than the ext3 ordered mode where writes/syncs automatically occur every 5 sec. This isn't the case with ext4. Having said that, I am not sure he is saying that ext4 is more or less reliable than ext3 writeback, just that he thinks the logic in writeback is flawed. And who am I to disagree? :-)

If I understand correctly, there is an ordered mode coming to ext4 in 2.6.30. I would wait on that for a desktop. I am also sure more bugs will be turned out and squashed too.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: convert current mint6 install from ext3 to ext4

Postby merlwiz79 on Thu Mar 26, 2009 2:50 am

Currently ext4 has a data loss problem. http://blogs.gnome.org/alexl/2009/03/16 ... c-my-take/
With the patches queued for 2.6.30 it is safe.
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: convert current mint6 install from ext3 to ext4

Postby AK Dave on Fri Mar 27, 2009 6:30 pm

Right said Fred, rsync not dd. :D

As for ext4, it might be fine with 2.6.30 but we don't have 2.6.30 around here so maybe I'll just wait on ext4 and suggest the same.
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1043
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot] and 11 guests