LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse 9.1 Professioanl Partitions (https://www.linuxquestions.org/questions/linux-newbie-8/suse-9-1-professioanl-partitions-200306/)

mykrob 07-02-2004 09:09 AM

Suse 9.1 Professioanl Partitions
 
I know similar question have been asked before, but i'd really like to get some clarification before messing things up. I am running Suse 9.1 Professional on a 100GB partition. I want to take 60GB of this partition and make it a separate partition, and transfer my /home directory here.. This way, if i totally mess up the system, my personal files will be safe..

Can someone walk me through using the Suse partitioning tools (or any other method) to safely partition my drive, move my files, and i think i have to edit the fstab as well.. Only been using this for a few weeks..I like it thus far. Havent touched Windows in this time either :)


Thanks,
-myk

Jose Muņiz 07-02-2004 09:45 AM

1. First you need to create the partition. Go to YaST and then click on System -> Partitioner.
2. Next, click on the partition you want to resize and click on "Resize". Once you select the new size, you will have an amount of unpartitioned space.
3. Create a new partition.
4. Create a new partition (had to do it twice ... once the space has been assigned to a partition), of course select your desired fs format etc.
5. Once you have the partition, move your home directory, say if you have /home/user, move user.
6. Go to /etc/fstab and edit it

/dev/newpart /home ext3(or other format) options 0 0


Note that you must change the second 0 if you want fsck to check it. Under options you've got to include the same options you would with mount. I have "defaults" there :)

mykrob 07-02-2004 10:11 AM

Thanks,
-i'm assuimng this needs to be done as root?
and once i move the /home directory to the new drive and edit the fstab, i probably have to reboot?


All times are GMT -5. The time now is 09:28 PM.