[SOLVED] Format and Build File System on a Partition
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Format and Build File System on a Partition
I'm feeling really, really stupid -- I cannot remember (and I can't seem to find) how to format a drive partition (or, for that matter, a second drive that I want to add later)! Yikes!
I have left-over free space on a hard drive, unformatted. Now I want to use that space and I can't recall what utility to use to format the blasted thing so I can run mkfs -t ext4 (and, maybe, mklost+found while I'm at it. I've already used cfdisk to add that space as sda10, written the partition table, done all that, have the entry in /etc/fstab (commented-out, of course).
Would some kind soul please give me a kick in the right direction?
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
Quote:
Originally Posted by Richard Cranium
So, "mkfs -t ext4 /dev/sda10" doesn't work?
Well -- duh! -- it did. And golly-gee, lost+found was sitting there, too.
Cripes, I hate when I miss stuff -- been a lot of years since I last fiddled with a drive (the setup program does a nice job of fiddling, so...). Used to have to format the things, partition 'em, build file systems, yadda, yadda. So drag me kicking and screaming into the 21st century, eh?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.