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.
- Host: GitHub
- URL: https://github.com/kiran-kumar-k3/linux-mount-home
- Owner: KIRAN-KUMAR-K3
- License: mit
- Created: 2024-04-22T23:20:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T23:38:27.000Z (about 2 years ago)
- Last Synced: 2025-01-11T08:26:48.979Z (over 1 year ago)
- Topics: automation, linux, mounting, shell-script
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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! 🚀