1 00:00:06,799 --> 00:00:10,544 So here's the lab solution, starting with sudo lsblk where we 2 00:00:10,544 --> 00:00:14,289 can see NVMe 0n1. That's what I'm going to use. 3 00:00:14,869 --> 00:00:21,009 So sudo fdisk on dev NVMe0N1 and that 4 00:00:21,009 --> 00:00:27,149 allows me to create the new partition. 5 00:00:28,059 --> 00:00:33,143 Now what do we see here? We see something weird, and that is that fdisk is creating 6 00:00:33,143 --> 00:00:38,226 a new DOS MBR disk label that is in fact very old. And in order to fix 7 00:00:38,226 --> 00:00:43,310 that, I need to set the GPT partition label. That's what we can see right here. 8 00:00:43,390 --> 00:00:47,719 Create new label G for GPT. So I'm typing G for GPT. 9 00:00:48,219 --> 00:00:53,274 You don't want an MBR partition disk label because then you can create four primary 10 00:00:53,274 --> 00:00:58,329 partitions only. That's the old school way of doing it. I'd say don't do it. 11 00:00:59,049 --> 00:01:04,723 So now I'm going to use N for new partition number one, and I need to have 12 00:01:04,723 --> 00:01:10,396 it for a size of one gibibyte. So plus one uppercase g is to create one gigabyte. 13 00:01:10,396 --> 00:01:16,069 Oh, no, I'm not reading carefully. We're still at the prompt for the first sector. 14 00:01:16,569 --> 00:01:21,793 I'm pressing enter for the first sector and then I'm pressing 1G to 15 00:01:21,793 --> 00:01:27,016 specify the size, using W to write and next sudo mkfs dot use 16 00:01:27,016 --> 00:01:32,239 step completion if you want to see all the mkfs that are available. 17 00:01:32,739 --> 00:01:38,759 I'm going to use mkfs ext4 on devnvme0n1p1 18 00:01:38,759 --> 00:01:44,780 that is creating the ext4 file system. 19 00:01:45,299 --> 00:01:46,659 And now I'm going to mount it. 20 00:01:47,790 --> 00:01:53,159 Mount dev nvme0n1p1mnt as a temporary mount. 21 00:01:57,769 --> 00:02:02,586 And of course we need sudo in order to do that. So now it is 22 00:02:02,586 --> 00:02:07,403 mounted, and lsblk is showing that it's actually currently mounted. And that's all that we 23 00:02:07,403 --> 00:02:12,219 were asked for in this lab. So let's continue with the next lesson.