Creating Partitions In Linux Using fdisk (and other tools)

preview_player
Показать описание
When it comes to command line installations of Linux (and other operating systems), the scariest part for most people is partitioning and formatting your drives. But it's not that complicated, and tools like fdisk make it really simple. In this video, I show the basics of fdisk, mkswap, mkfs and related command line tools.

WANT TO SUPPORT THE CHANNEL?

DONATE CRYPTO:
💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ

SOCIAL PLATFORMS:

DT ON THE WEB:

FREE AND OPEN SOURCE SOFTWARE THAT I USE:

Your support is very much appreciated. Thanks, guys!
Рекомендации по теме
Комментарии
Автор

We fell into his trap, he tricked us into seeing that arch isn't that hard to install.

In all seriousness thank you for the video and thank you for the nice, informative, clean content.

Skeleton-wnzu
Автор

Great video on the basics of 'fdisk', but I'd like to add a few things:

- Most old dogs have been using 'cfdisk' since before Y2K, except when you need a quick list of the partitions.
- Swap files are preferred over swap partitions these days due to the ease of maintenance/expansion.
- I would have added a quick explaination between 'MBR' and 'GPT', which is very important when we're talking partitions.

Keep up the good work, sir!

jaxxarmstrong
Автор

I literally yesterday was installing arch and wondering what all these partitions are about. Well I know soon enough. Thank you DT for your work!

Jore__
Автор

This series of basic tools is great DT. Love them!

driden
Автор

We think alike. For years, I have kept a separate partition called storage that all of my personal files of any type are kept on, as well as VMs. That way, I don't have to back up anything to reinstall my OS, or change my OS. Nice instruction on fdisk. I've never really done that kind of stuff from the command line. Always use GParted or whatever is built into the graphical installer I'm running. I've always preferred GUI over command line. I use the options menu in gnome-disks to set up auto-mounting of my storage drive.

russellbrooks
Автор

I love these Professor Messer courses. Thanks, Jam..., I mean DT!

jessevas
Автор

I was literally looking for a partitioning tutorial from you two days ago when I changed from Windows to Ubuntu! I found it today.
The reason why is because my 10yo laptop has an SSD and HDD. Now previously the whole C drive was on the SSD and the rest on the HDD, but now I installed Ubuntu and don't know where the OS is installed.

ljupconewman
Автор

Hey DT, what tool you use to empty your trash in your main production machine?

gamingvignesh
Автор

just my comment your videos are like 200% times more engaging than the ones from the linux foundation in coursera

seta
Автор

Soooo, a couple of questions:
- if I have a SSD and a HDD, both of 1 TB and non-NVME, how do I differentiate between them ?
- if I install Linux on sdb and later I remove the drive that is now sda, when I boot back into Linux, would it still be sdb, or it would be sda ? How does consistency between drives, when swapping is a thing, work ? Edit: ok, finished viewing the video, this is done using UUID.

Winnetou
Автор

Why position SWAP at the beginning of the disk? Isn't it better to position it at the end of the disk, so that you could resize it?

typingcat
Автор

Because of the hard limit of 4 primary partitions on dos partition tables, I'd have probably done an extended partition. Also worth mentioning,
[sudo] umount /mnt/music
[sudo] mount -a # assuming defaults includes auto - probably standard
In lieu of a reboot to test changes to /etc/fstab.

Is there a particular reason to make the swap as the first partition, or was it just done for simplicity?

mikechappell
Автор

With all the RAM you can get cheaply nowadays do swap partitions even make sense? At a certain point dont you simply have enough RAM?

wisnoskij
Автор

Thank dude, imagine if the rest of the arch install was this easy 😂

cloudytea
Автор

if you continue at the warning it actually converts that drive to gpt

holyhelga
Автор

I need some help with doom emacs/vim, where can i find some support? i did not find it on google so i may have to speak with somebody

bleighhh
Автор

And to think this was an issue that I was struggling with working on just a week ago.

kingofbubbles
Автор

Why does fdisk -l show a bunch of loop files instead of /dev/nvme1 on my Ubuntu system? Should I worry about it ?

janlam
Автор

I wonder whether in "m for help" the m is short for mayday (m'aidez) ie - Help Me! Was the creator French?

peterbutler
Автор

Hey DT, what happened to your Gemini Capsule?

scientiac