Muck Archlinux

[codesyntax lang=”bash”]

sudo mount /dev/nvme1n1p1 /usb
ls -alh /usb
df  -h  /usb

[/codesyntax]

[codesyntax lang=”bash”]

sudo fdisk /dev/sda

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.


Command (m for help): p

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WDS100T2B0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x113c4b24

Device     Boot  Start        End    Sectors   Size Id Type
/dev/sda1  *      6144     415743     409600   200M  c W95 FAT32 (LBA)
/dev/sda2       421888 1953523711 1953101824 931.3G 83 Linux

Command (m for help): q

kubuntu@kubuntu:~$ sudo mkdir /mnt/sda2

[/codesyntax]

[codesyntax lang=”bash”]

sudo fdisk -l 
Disk /dev/loop0: 2.56 GiB, 2743775232 bytes, 5358936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 61.89 MiB, 64901120 bytes, 126760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 155.63 MiB, 163188736 bytes, 318728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 248.76 MiB, 260841472 bytes, 509456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 81.26 MiB, 85209088 bytes, 166424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 43.63 MiB, 45748224 bytes, 89352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WDS100T2B0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x113c4b24

Device     Boot  Start        End    Sectors   Size Id Type
/dev/sda1  *      6144     415743     409600   200M  c W95 FAT32 (LBA)
/dev/sda2       421888 1953523711 1953101824 931.3G 83 Linux


Disk /dev/sdb: 14.65 GiB, 15728640000 bytes, 30720000 sectors
Disk model: ProductCode     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6F17DAA6-030B-4412-8342-73A5A01D728F

Device       Start      End  Sectors  Size Type
/dev/sdb1       64  7168079  7168016  3.4G Microsoft basic data
/dev/sdb2  7168080  7176575     8496  4.1M EFI System
/dev/sdb3  7176576  7177175      600  300K Microsoft basic data
/dev/sdb4  7180288 30719936 23539649 11.2G Linux filesystem

[/codesyntax]

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

Your email address will not be published. Required fields are marked *