LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-18-2006, 12:11 PM   #1
daboochmeister
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, 12:15 PM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Code:
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 12:17 PM.
 
  


Reply

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


All times are GMT -5. The time now is 07:19 PM.

Main Menu
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