instagram

/Home to another partition

In this tutorial we will discuss the status of the directory / home move on another hard drive partition. Similarly you can do for all other directories, but / home is perhaps the most useful and meaningful. Why do it? The reasons may be different. The many benefits: a greater extension of the personal folders (eg take them on a new hard drive), increased security in the event of damage to the root filesystem (/).
How to see if you need? Well, first we can see how much disk space remains on the root partition. To do that we give the command:#df -H / dev / hdb1 Filesystem Size Used Avail Use% Mounted on / dev / hdb1 4.0g 2.5G 1.3G 95% / the “df” command just need to show a report on free space a partition. The -H parameter is used to bring the measures in GB, MB, or KB instead of bytes (thus Human readable). As an argument we have to give the root partition. If you have a situation like mine, then you should move something on another hard drive or another empty partition. I THEN BACK / home on another hard disk (/ dev / hda) empty. We proceed. I create new space First I have to create a new partition for / home. This partition situate in the first empty hard disk or reformatted for the occasion. In this part we will work as root. Give the command and #fdisk / dev / hda … Command (m for help): This program deals with the administration of the space of the hard drives. COme the topic we have to move a disk device, the one on which you want to create the partition for / home. In my case / dev / hda. Entering “m” and ENTER, you get a list of available commands (always letters). First, if the disc is not empty, we eliminate all existing partitions. This is done by giving the command: Command (m for help): d [ENTER] Partition number (1-4): 1 [ENTER] This will remove the partition / dev / hda1. Is repeated until you have obtained a free disk. Then we recreate it at will. Suppose we want to create a partition of around 5GB number 1 and another until the end of the number 2. The first partition will be hard for / home, the second for a Windows OS. We create the first partition: Command (m for help): n [ENTER] Command action and extended

0 Comments

Leave Your Reply

Your email address will not be published. Required fields are marked *

*

*