Created
October 6, 2023 22:22
-
-
Save Steinhagen/050f7878be0332fd1ab56561d3e3b11f to your computer and use it in GitHub Desktop.
NixOS Mobile sdcard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ sudo fdisk /dev/sdb | |
Welcome to fdisk (util-linux 2.39.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): F | |
Unpartitioned space /dev/sdb: 0 B, 0 bytes, 0 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
Command (m for help): i | |
Partition number (1,2, default 2): 1 | |
Device: /dev/sdb1 | |
Start: 2048 | |
End: 264191 | |
Sectors: 262144 | |
Size: 128M | |
Type: Linux filesystem | |
Type-UUID: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 | |
UUID: CFB21B5C-A580-DE40-940F-B9644B4466E1 | |
Name: boot | |
Attrs: LegacyBIOSBootable | |
Command (m for help): i | |
Partition number (1,2, default 2): 2 | |
Device: /dev/sdb2 | |
Start: 264192 | |
End: 125042654 | |
Sectors: 124778463 | |
Size: 59,5G | |
Type: Linux filesystem | |
Type-UUID: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 | |
UUID: CFB21B5C-A580-DE40-940F-B9644B4466E3 | |
Name: MOBILE_INSTALLER | |
➜ df -T /dev/sdb2 | |
Sistem de fișiere Tip 1K-blocuri Utilizat Disponibil Utilizat% Montat pe | |
/dev/sdb2 ext4 61382680 2545316 58820980 5% /run/media/username/MOBILE_INSTALLER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment