Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
As far as I understand you.. You want to repartition your hard disk without loosing your data... For things like this I always use programs like Partition Magic or Paragon Hard Disk Manager.. But QtParted shall handle with this as well..
I'm not sure if QtParted will save your data. Remember that always such repartitioning maybe risky.
Also, the fact that you want to take data from sdb1 and give it to sda2 is impossible for one easy reason, they are separate disks!
This could be done with LVM, which is logical volume management, but that has to be setup before the switch is made. You can repartition, and just make things setup differently, but with your current setup, you're not going to be able to transfer from one disk to another. You should setup LVM if you reinstall, so you can shuffle around disks in the future.
As stated what you want to do is impossible but you can move a subdirectory like /usr, /var or /home to a seperate partition on your 2nd hard drive which will free up space on your / partition. As suggested you can use qtparted. Be sure to unmount /data prior to resizing and backup up any data you can not afford to lose. However, it will depend if your 2nd drive contains more then one partition.
Distribution: Ubuntu, Debian, Various using VMWare
I suggest that you get the GParted LiveCD, and use that. You must ensure that any partitions you are resizing are unmounted when you resize them - and you can't unmount /. If you use this LiveCD, then you don't have to worry about it, because the partitions are not mounted by default.
I recently did some major repartitioning with GParted, and did not lose any data, but MAKE SURE YOU BACKUP.