LinuxQuestions.org
Help answer threads with 0 replies.
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 05-15-2006, 10:01 AM   #1
thugic
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 51

Rep: Reputation: 15
Backup, Repartition, Restore


What's up dear friends,
I've been running Slack for a long period of time, and totally avoided the use of Wintendo all that time. Now, I've noticed I'm running out of space on my /home partition and, since I would like to reformat everything, I'd like to change my filesystem to ReiserFS, all of that without losing any of my files, configs etc.
I thought I could tar or gzip whole the root folder with the /home partition, put those huge files on another HDD and then resize, reformat etc. and after that star Slax or any other Live distro and mount the new partitions, untar/unzip the huge created files and change /etc/fstab and reinstall LiLo.
Is that possible? Is there any other way to resize and change filesystem type without losing files? (Except staring Wintendo and using PM, thats obvious)
Thanks in advance,
-thugic
 
Old 05-15-2006, 11:15 AM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Quote:
Originally Posted by thugic
What's up dear friends,
I've been running Slack for a long period of time, and totally avoided the use of Wintendo all that time. Now, I've noticed I'm running out of space on my /home partition and, since I would like to reformat everything, I'd like to change my filesystem to ReiserFS, all of that without losing any of my files, configs etc.
I thought I could tar or gzip whole the root folder with the /home partition, put those huge files on another HDD and then resize, reformat etc. and after that star Slax or any other Live distro and mount the new partitions, untar/unzip the huge created files and change /etc/fstab and reinstall LiLo.
Is that possible? Is there any other way to resize and change filesystem type without losing files? (Except staring Wintendo and using PM, thats obvious)
Thanks in advance,
-thugic
The way you are talking about is perfectly fine. You can use bzip2 if you need big-time compression but it's very slow. If you have two drives mounted at once you could tar directly to the backup drive, if this is what you are saying.

I did this recently and it worked great. It's less risk than resizing the filesystems. Backup/restore is the 100% sure thing.
 
Old 05-21-2006, 06:07 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Or if you have that backup drive in the box, or on the network, you can use rsync.
 
Old 05-30-2006, 07:18 AM   #4
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
I was thinking of doing the exact thing. I have 2 80Gb HDD's on the first i have /dev/hda1 - ext2 mounted on /mnt/hda1 (old Windows C partition) , /dev/hda2 - ext3 mounted on /mnt/hda2 (old Windows D partition) , /dev/hda5 - ReiserFS mounted on / (currently Slackware / partition) and /dev/hda6 - swap and the other drive I have only /dev/hdc1 - ext3 mounted on /mnt/hdc1 (backup disk). I am a newbie in linux unlike "thugic" so if someone would take the time to explain a bit more clearly to me with commands, etc. I would be more than greatfull. The thing is I want to have only 1 partition on /dev/hda with Slackware on it and ReiserFS and keep the system I have(configurations, updates, EVERYTHING), so is there any way or program that can change /dev/hda1 and /dev/hda2 file system to ReiserFS and merge /dev/hda1, /dev/hda2 and /dev/hda5 all toghether to just a partiton /dev/hda1 (smth like Partion Magic is on Windows) and then I just modify /etc/fstab and run liloconfig again ? Or if nothing like this exists how should I backup all my system on /dev/hdc1, delete all the partitions, merge them, change fstype to ReiserFS and then put my system back ?! I'm sorry if I haven't been to clear, did my best to write correctly and usefull info. If anything unclear I'm willing to give any information. Thanks.
 
Old 05-30-2006, 11:37 AM   #5
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Dude, the first thing is to clean up your post so we can read it! Then we will try to help
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup and restore Kmail RaiReg Linux - Newbie 1 09-09-2005 05:41 PM
backup / restore 5pints Linux - Software 2 01-11-2005 10:08 AM
Problem with backup and restore? tradewind Linux - Enterprise 8 07-13-2004 07:24 AM
Backup and restore? tradewind Red Hat 2 07-02-2004 11:18 PM
RH 7.3 Backup and Restore MrJoshua Linux - General 1 06-18-2003 12:39 PM

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

All times are GMT -5. The time now is 05:20 PM.

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