You are not logged in.

#1 2010-11-20 19:52:32

blackdeagle
Member
From: Karlsruhe, Germany
Registered: 2008-09-13
Posts: 47

How to migrate to ext4

Hi guys,

I have a very old archlinux installation on my netbook. I now want to migrate to ext4 with converting my HD completely to ext4 (not only mounting it as ext4).
Is it ok to backup my HD with dd and recover it afterwards directly on my netbook again? Would it work?

--blackdeagle

Offline

#2 2010-11-20 20:11:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to migrate to ext4

You can convert from ext3 to ext4 https://wiki.archlinux.org/index.php/Ex … ns_to_ext4

Last edited by karol (2010-11-20 20:12:08)

Offline

#3 2010-11-20 20:13:24

blackdeagle
Member
From: Karlsruhe, Germany
Registered: 2008-09-13
Posts: 47

Re: How to migrate to ext4

I tried to convert already but it didn't work properly. My partitions are still on ext3, I don't know why!
So I decided to completely reformat the hard drives but thanks for your response

Offline

#4 2010-11-20 20:57:55

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: How to migrate to ext4

Backing up your stuff, formatting your partitions in ext4 and copying your stuff back is what worked flawlessly for me, and since it seems ext3 to ext4 conversions sometimes don't perform as optimal as clean 'native' ext4 partitions, that's the best way imho. Unless you have tons of data it doesn't take long.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-11-20 20:58:57

blackdeagle
Member
From: Karlsruhe, Germany
Registered: 2008-09-13
Posts: 47

Re: How to migrate to ext4

alright, thats my answer.
thanks .:B:.

thread can be closed

Offline

#6 2010-11-21 00:22:37

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: How to migrate to ext4

blackdeagle wrote:

Hi guys,

I have a very old archlinux installation on my netbook. I now want to migrate to ext4 with converting my HD completely to ext4 (not only mounting it as ext4).
Is it ok to backup my HD with dd and recover it afterwards directly on my netbook again? Would it work?

--blackdeagle

Don't use dd to backup though, you want the files/directories, not an image of the partition/drive (use cp -a or rsync -a, so permissions are preserved)

Offline

Board footer

Powered by FluxBB