MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 9 posts ] 
How to migration Root FS from reiserfs to ext4 
Author Message
Forum Novice
Forum  Novice

Joined: Sun Apr 08, 2012 10:14 am
Posts: 10
Has thanked: 4 times
Have thanks: 2 times
Post # 299148
Post How to migration Root FS from reiserfs to ext4
I installed Mepis on the Reiserfs, but now wish to change Root file system to Ext4. I've tried a few times, but think the Initrd on the boot time encountered with error, when boot the system with new Ext4 partition. Do i need to apply on the Initrd file? I do the copy progress with "rsync -azvr" command.


Thu Apr 26, 2012 5:37 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Aug 06, 2006 3:02 pm
Posts: 2175
Location: New Zealand BOP
Has thanked: 77 times
Have thanks: 467 times
Post # 299171
Post Re: How to migration Root FS from reiserfs to ext4
I have done something like that but instead of using rsync, I used cp -ax media/source* media/destination
then I fixed permissions by logging in as root instead of the user and issues chown -R NAME /home/NAME && chgrp -R users /home/NAME

Logged out of root and after that, the system operated as normal when logged in as a regular user.

Mike P

_________________
Mike P

Regd Linux User #472293
(1)Lenovo e520, i7-2640M, 8GB, 750GB Seagate Hybrid, MX-14.1_DVD (my own respin)
(2) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, Radeon HD 4250, 4Gb, 1.5TB, antiX-13-64


Fri Apr 27, 2012 3:34 am
Profile
Forum Novice
Forum  Novice

Joined: Sun Apr 08, 2012 10:14 am
Posts: 10
Has thanked: 4 times
Have thanks: 2 times
Post # 299187
Post Re: How to migration Root FS from reiserfs to ext4
I think there is a problem in Initrd file.


Fri Apr 27, 2012 12:11 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4588
Has thanked: 491 times
Have thanks: 640 times
Post # 299196
Post Re: How to migration Root FS from reiserfs to ext4
You probably just need to reinstall Grub... use the LiveCD and do a Grub repair.


Fri Apr 27, 2012 2:32 pm
Profile
Forum Novice
Forum  Novice

Joined: Sun Apr 08, 2012 10:14 am
Posts: 10
Has thanked: 4 times
Have thanks: 2 times
Post # 299206
Post Re: How to migration Root FS from reiserfs to ext4
Adrian wrote:
You probably just need to reinstall Grub... use the LiveCD and do a Grub repair.

Do it, just "grub-install", but didn't solve. Both before and after above action encountered whit following error:
Code:
cannot create /var/log/syslog.pid: read-only file system
and other things like this.
I tried with "single user mode", after geven root password tried create a directory in the root home directory but said:
Code:
can not create folder: read-only file system

Whatever the problem related to the file system. In your opinion rsync don't suitable for this job.


Fri Apr 27, 2012 8:45 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4588
Has thanked: 491 times
Have thanks: 640 times
Post # 299207
Post Re: How to migration Root FS from reiserfs to ext4
Hmm, you cannot write on the partition, it's not rsync's fault. Did you mount the partition read only somehow?


Fri Apr 27, 2012 9:40 pm

Adrian thanked by: MSOA
Profile
Forum Novice
Forum  Novice

Joined: Sun Apr 08, 2012 10:14 am
Posts: 10
Has thanked: 4 times
Have thanks: 2 times
Post # 299220
Post Re: How to migration Root FS from reiserfs to ext4
Edite: Delete duplicate post


Last edited by MSOA on Sat Apr 28, 2012 2:42 am, edited 1 time in total.



Sat Apr 28, 2012 2:36 am
Profile
Forum Novice
Forum  Novice

Joined: Sun Apr 08, 2012 10:14 am
Posts: 10
Has thanked: 4 times
Have thanks: 2 times
Post # 299221
Post Re: How to migration Root FS from reiserfs to ext4  [Solved]
Changed options in partition mount from:
Code:
/dev/sda3 / ext4 defaults,noatime,notail 0 0

To:
Code:
/dev/sda3 / ext4 errors=remount-ro 0 1

Indeed, which of options was caused the partition mounted Read-Only?
Thanks frinds


Sat Apr 28, 2012 2:39 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10948
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3703 times
Have thanks: 889 times
Post # 299224
Post Re: How to migration Root FS from reiserfs to ext4
Not sure what you're asking about, but ro is read-only. rw is read-write.

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Sat Apr 28, 2012 4:50 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.