Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:linux:basics:format_new_drive_linux [2025/01/07 12:50] – removed - external edit (Unknown date) 127.0.0.1 | wiki:linux:basics:format_new_drive_linux [2025/01/07 13:09] (current) – Re-formatted code blocks Greg | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How To Format a New Drive on Linux ====== | ||
+ | 1. Open a terminal. | ||
+ | |||
+ | 2. Use the '' | ||
+ | |||
+ | < | ||
+ | |||
+ | 3. Search the output for the disk path that maps to your new drive. It should read something like ''/ | ||
+ | |||
+ | 4. Create a filesystem on the new disk (e.g. for ext4): | ||
+ | |||
+ | < | ||
+ | |||
+ | 5. Create a new directory to mount your disk to; replace " | ||
+ | |||
+ | < | ||
+ | |||
+ | 6. Mount the disk to your new mount point: | ||
+ | |||
+ | < | ||
+ | |||
+ | 7. Grant your user ownership of the new disk: | ||
+ | |||
+ | < | ||
+ | |||
+ | 8. Use '' | ||
+ | |||
+ | < | ||
+ | |||
+ | Search the output for the line that maps to your disk's path. | ||
+ | |||
+ | 9. Open ''/ | ||
+ | |||
+ | < | ||
+ | |||
+ | 10. Add the following line to the end of the file (this will make sure your disk mounts at boot): | ||
+ | |||
+ | < | ||
+ | |||
+ | 11. You're done! |