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 |
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-23-2008, 06:25 AM
|
#1
|
|
Member
Registered: Dec 2006
Location: Glasgow
Distribution: openSuse 11.0 x64
Posts: 32
Rep:
|
Backup question
Hi
If I make a copy of everything in the "/" directory (all files and folders), re-install openSuse and then copy that back-up back to my hard disc, will that give me exactly the same system as I had before?
I'm asking as I may need to change my hard disc partitions and re-install openSuse. I want openSuse to be as it was before making the partition adjustments.
|
|
|
|
10-23-2008, 06:53 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Copying everything in / is largely redundant with re-installing. Why not just copy the key configuration files?---e.g. everything in your home directory, plus the contents of /etc.
You could also consider re-sizing the existing partitions and/or cloning the installation using dd.
If you will post the current configuration--including the output of fdisk -l--maybe someone will have more specific advice.
|
|
|
|
10-23-2008, 10:59 AM
|
#3
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Look into System Imager. It does exactly what you want to do.
And backing up all of / then copying over most of what is the base install of Suse is just wasting your time. Search for bare-metal recovery. You can save time and space by just backing up any configuration changes for applications and data that isn't part of the actual OS install.
|
|
|
|
10-23-2008, 11:25 AM
|
#4
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,822
|
Quote:
Originally Posted by trickykid
Look into System Imager. It does exactly what you want to do.
And backing up all of / then copying over most of what is the base install of Suse is just wasting your time. Search for bare-metal recovery. You can save time and space by just backing up any configuration changes for applications and data that isn't part of the actual OS install.
|
Agreed. Just copying stuff is highly dangerous, and even if it does work, things will probably be a bit...'off'.
|
|
|
|
10-23-2008, 04:34 PM
|
#5
|
|
Member
Registered: Dec 2006
Location: Glasgow
Distribution: openSuse 11.0 x64
Posts: 32
Original Poster
Rep:
|
Backup
Thank you all for your help. It is clear to me that, as a former Windows user, my understanding of real OSs is somewhat rudimentary.
Until this morning, my laptop was dual-boot (Windows and openSuse 11.0 x64). I decided that, as I haven't used Windows for months to get rid of it. One option was as I described - backup, re-install and then restore....however, it seems it's not as simple as that. I have now deleted the Windows partition and reformatted it to ext3. My aim is to redistribute the free space.
My disk info now shows:
DEVICE FILESYSTEM TOTAL SPACE AVAILABLE SPACE
------ ---------- ----------- ---------------
15G Media ext3 14.0 GB 2.8 GB
10G Media ext3 9.8 GB 478.9 MB
Data ntfs 40.1 GB 17.7 GB
48G Media ext3 44.7 GB 42.2 GB
I want to be able to reallocate the space from the 48G Media to the 10G Media. Unfortunately, these are not contiguous partitions. The relevant parts of the partition table are:
DEVICE SIZE TYPE MOUNT START END
------ ---- ---- ----- ----- ---
/dev/sda 111.7 GB ST91208234AS 0 14592
/dev/sda1 45.4 GB Linux native /tmp 0 5931
/dev/sda2 40.0 GB HPFS/NTFS /windows/D 5936 11168
/dev/sda3 26.2 GB Extended 11169 14592
/dev/sda5 2.0 GB Linux swap swap 11169 11430
/dev/sda6 9.9 GB Linux native / 11431 12731
/dev/sda7 14.2 GB Linux native /home 12732 14592
I want to move the empty space at sda1 to the end of sda6. sda6 is almost out of space and I have had a couple of software installations failing because of that.
Is there an easy way of getting sda6 to use the space at sda1? I think that I'm at the limit of my Linux knowledge with this, so any help would need to have step by step instructions which a child could follow.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
|
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
|
|