Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-18-2006, 01:11 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Moving existing install to new fs type

I have an existing SUSE10.1 install where I have / in an LVM partition with a reiserfs fs. Only /boot and swap in other partitions. I would like to switch to a different filesystem, either reiser4 or XFS (haven't decided, and not trying to start that debate).

Procedure i'm imagining (but looking for advice on) is:
- boot on a livecd
- create new LVM logical volume
- create fs in new logical volume
- mount both
- copy all files (e.g. tar | cpio?)
- adjust grub menu.lst in /boot

BUT -- is there any special way I need to copy all the files to make sure all special devices, block files, etc. get copied? I had been thinking a tar | cpio, but I don't know for sure if that's best or even safe. Also, are there adjustments I'll have to make on the target system? Seems like I wouldn't have to make fstab adjustments ... no? Any others?

Or -- is there simply a better way overall to do this?

Thx for any advice!
Old 06-18-2006, 01:15 PM   #2
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
cp -a /src/* /dest
from a live cd ought to do it.

Adjust /etc/fstab and /boot/grub/menu.lst to suit as you said yourself. Also make sure the kernel has support for the new filesystem compiled directly in it or make sure your initrd contains the filesystem module and any other required modules.

Edit: ooh, you may or may not have to reinstall grub

Last edited by phil.d.g; 06-18-2006 at 01:17 PM.


copying, filesystems

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
New Parition on existing install chow-stl Slackware - Installation 5 06-28-2005 07:10 AM
Install with existing users?? Okie2003 MEPIS 6 06-02-2005 05:39 PM
moving hard drive with existing data to FC3 supra92 Linux - General 6 12-28-2004 04:09 PM
Moving existing users from one Linux server to... xmdms Linux - General 7 03-04-2004 06:41 PM
Moving existing directory to new partition? chris8myshoe Linux - General 3 02-04-2004 09:48 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration