LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2005, 02:02 PM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Lightbulb Reiserfs


I have a few extra partitions, and I thought of an idea...just hear me out.

All of my partitions are partitioned as ext3, and I want them to be reiserfs or reiser4. Here is what I want to do, if possible. I have a couple of extra partitions, and I want to back up all of my files to them, and then reformat the partitions that they currently sit on. Then I would copy it all back to the original partition. This isn't so complicated for my home and files, but for / it might get tricky. Any ideas, or would it be safer to leave it the way it is for / ?
 
Old 11-12-2005, 02:12 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
For the /home partition this is no problem.
But for the / partition you should do a fresh install
 
Old 11-12-2005, 02:12 PM   #3
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
If you've got the space, go for it.
Just do it with a live cd.
 
Old 11-12-2005, 02:19 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
First make sure you know how you partitions are named, eg
say / is /dev/hda3 and you want to transfer the content in /dev/hda8

(I assume there is a filesystem in /dev/hda8,
if not, just do mkreiserfs /dev/hda8 to format the partition)

I would do :

- boot from a Live CD like slackware CD1 or Knoppix
- create the mountpoints and mount the partitions :
Code:
mkdir /mnt/from
mkdir /mnt/to
mount /dev/hda3 /mnt/from
mount /dev/hda8 /mnt/to
cd /mnt/from
tar cf - . | (cd /mnt/to; tar xvf -)
Now that you have copied the whole / partition,
you need to adjust fstab and lilo
Code:
chroot /mnt/to
vi /etc/fstab # edit the new mount point for /, eg here it is /dev/hda8
vi /etc/lilo.conf # update the root partition in lilo : /dev/hda8
lilo # run lilo to take the changes in account
reboot

Last edited by keefaz; 11-12-2005 at 02:21 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 07:36 AM
Can you convert Reiserfs 3 to Reiserfs 4 JSylvia007 Linux - Distributions 1 08-19-2004 03:01 PM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 07:20 PM
Reiserfs Uchiha sasuke Linux - General 9 11-04-2003 02:58 AM
reiserfs juby Linux - Software 5 06-24-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration