Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-15-2006, 10:01 AM
|
#1
|
Member
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 51
Rep:
|
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
|
|
|
05-15-2006, 11:15 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
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.
|
|
|
05-21-2006, 06:07 AM
|
#3
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Or if you have that backup drive in the box, or on the network, you can use rsync.
|
|
|
05-30-2006, 07:18 AM
|
#4
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
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.
|
|
|
05-30-2006, 11:37 AM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Dude, the first thing is to clean up your post so we can read it! Then we will try to help
|
|
|
All times are GMT -5. The time now is 05:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|