Linux - GeneralThis 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.
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.
I've looked in the threads but i'm a newbie and I can't seem to understand most of the similar questions not to mention that there are only few threads about this.
Can anyone tell me how to move my /home to a seperate partition?? (step by step pls... )
Do I have to make a new partition??
According to some of the threads that i've read(if i understand it correctly), I still have to mount or automount my /home partition(correct me if i'm wrong)
any help would be greatly appreciated.... thnx in advance....
Do you want to physically move the partition, do you want to resize it to make it bigger or smaller, or simply move your files in /home to another partition.
You'll need your /home directory there to login, so you want it to mount up in fstab automatically...
Here's how I'd do it:
Assuming you've got the free space and it's just sitting there unformatted yet already partitioned:
mke2fs -j /dev/hdx (where hdx is the partition you created using something like fdisk or cfdisk)
mkdir /mnt/temphd
mount -t ext3 /dev/hdx /mnt/temphd
mv /home /mnt/temphd
umount /mnt/temphd
mount -t ext3 /dev/hdx /home
Adjust /etc/fstab:
/dev/hdx /home ext3 defaults 1 1
Now on each subsequent reboot, /dev/hdx should mount up at /home
Someone correct anything I'm missing/wrong.. I'm not on my box to try it.
Originally posted by Stephanie Do you want to physically move the partition, do you want to resize it to make it bigger or smaller, or simply move your files in /home to another partition.
I want to make it bigger, but somebody suggested that i move /home to another partition...
If you've got the free space on the same HD, you can use parted to resize the existing partition...
If you already have /home on a seperate partition you can just resize it. However if you have a single partition system, you'll be resizing / with the extra space. You might still want to move /home to a seperate partition just for "backup" in case the / gets dorked somehow you won't lose everything (just a reinstall to fix).
Yes I have free space on the same HD. I have partition magic, i think i'll use it to resize my / partition.... but if i understand it correctly... if ever i decide to resize my / partition, theres a posibility that it can cause problems with my / partition or Linux??
Depends really on whether the version of Partition Magic supports the file system you used. I believe it will support ext 2/3 and Reiser, but if you did not use those you may have problems.
And I personally wouldn't use a win program to resize my linux partitions. That's why I am suggesting parted. But if you aren't comfortable with the command line at all, then you might be able to use PM, your choice really.
Originally posted by jayakrishnan the best thing to do is backup ur data and reinstal linux
this time give it more space
No it's not. Reinstalling is bad advice. Unless you've corrupted an HD, or you're completely switching out hardware including the HD and want a fresh start/clean install then there is no reason to reinstall. Rebooting is even for the most part not necessary. Reinstalling is just plain a waste of time (usually).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.