An open API service indexing awesome lists of open source software.

https://github.com/kiran-kumar-k3/linux-mount-home

Automates mounting a secondary drive as `/home` in Linux, simplifying storage expansion for user directories.
https://github.com/kiran-kumar-k3/linux-mount-home

automation linux mounting shell-script

Last synced: about 2 months ago
JSON representation

Automates mounting a secondary drive as `/home` in Linux, simplifying storage expansion for user directories.

Awesome Lists containing this project

README

          

# Linux Mount Home

The Linux Mount Home script automates the process of mounting a secondary drive as the `/home` directory in Linux. Simplify the expansion of available storage for user home directories by designating a secondary drive for home directory storage. This script guides users through the process of selecting the drive and specifying the username for the home directory, making it effortless to expand storage capacity and manage user data in Linux environments.

## Usage

1. **Clone Repository**:
Clone this repository to your Linux system:
```bash
git clone https://github.com/KIRAN-KUMAR-K3/linux-mount-home.git
```

2. **Navigate to Repository**:
Navigate to the repository directory:
```bash
cd linux-mount-home
```

3. **Make Script Executable**:
Make the script executable:
```bash
chmod +x mount_home.sh
```

4. **Run Script**:
Run the script with sudo privileges:
```bash
sudo ./mount_home.sh
```

5. **Follow Instructions**:
Follow the on-screen instructions to select the drive and enter the username for the `/home` directory.

## Requirements

- Linux
- Bash shell

## License

This project is licensed under the terms of the [MIT License](https://github.com/KIRAN-KUMAR-K3/linux-mount-home/blob/ca7fbef5c3512b94b40f6adde69d6982917f1f78/LICENSE). See the LICENSE file for details.

Feel free to contribute or report issues! 🚀