Greetings To The GTALUG Community:
I'm trying to discover where an overlay filesystem is mapped, for a
Debian live boot from a USB stick.
After perusing a dog's breakfast of output from various linux commands,
I am appealing to GTALUG members for guidance.
* * *
* * *
I boot live Debian 11 linux from a USB memory stick.
This provides an overlay filesystem:
...
user@debian:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.6M 1.6G 1% /run
/dev/sdb1 3.5G 3.5G 0 100% /run/live/medium
/dev/loop0 2.9G 2.9G 0 100%
/run/live/rootfs/filesystem.squashfs
tmpfs 7.8G 1.6G 6.3G 20% /run/live/overlay
overlay 7.8G 1.6G 6.3G 20% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 8.0K 7.8G 1% /tmp
tmpfs 1.6G 1.7M 1.6G 1% /run/user/1000
/dev/sdc1 59G 1.7G 57G 3% /media/user/245B-74A8
/dev/sda2 1.8T 767G 958G 45%
/media/user/32ec11e8-082c-4ca5-b751-dc2852f9d5e2
user@debian:~$
...
* * *
* * *
I believe that the overlay filesystem provides the root directory for
linux.
Files under GNOME shows under Other Locations > Computer a root
directory:
...
user@debian:/$ ls -aAl
total 0
lrwxrwxrwx 1 root root 7 Dec 17 2022 bin -> usr/bin
drwxr-xr-x 2 root root 144 Dec 17 2022 boot
drwxr-xr-x 18 root root 3580 Mar 20 17:58 dev
drwxr-xr-x 1 root root 640 Mar 20 14:32 etc
drwxr-xr-x 1 root root 60 Mar 20 08:14 home
lrwxrwxrwx 1 root root 31 Dec 17 2022 initrd.img ->
boot/initrd.img-5.10.0-20-amd64
lrwxrwxrwx 1 root root 31 Dec 17 2022 initrd.img.old ->
boot/initrd.img-5.10.0-20-amd64
lrwxrwxrwx 1 root root 7 Dec 17 2022 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Dec 17 2022 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Dec 17 2022 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Dec 17 2022 libx32 -> usr/libx32
drwxr-xr-x 1 root root 60 Mar 20 08:17 media
drwxr-xr-x 2 root root 3 Dec 17 2022 mnt
drwxr-xr-x 2 root root 3 Dec 17 2022 opt
dr-xr-xr-x 266 root root 0 Mar 20 08:14 proc
drwx------ 1 root root 60 Dec 17 2022 root
drwxr-xr-x 31 root root 800 Mar 20 08:17 run
lrwxrwxrwx 1 root root 8 Dec 17 2022 sbin -> usr/sbin
drwxr-xr-x 2 root root 3 Dec 17 2022 srv
dr-xr-xr-x 13 root root 0 Mar 20 08:14 sys
drwxrwxrwt 17 root root 400 Mar 20 18:49 tmp
drwxr-xr-x 1 root root 80 Dec 17 2022 usr
drwxr-xr-x 1 root root 140 Dec 17 2022 var
lrwxrwxrwx 1 root root 28 Dec 17 2022 vmlinuz ->
boot/vmlinuz-5.10.0-20-amd64
lrwxrwxrwx 1 root root 28 Dec 17 2022 vmlinuz.old ->
boot/vmlinuz-5.10.0-20-amd64
user@debian:/$
...
When I right-click on the word Computer in the title bar of the Files
window, and select Properties, it shows:
...
Name /
Type Folder (inode/directory)
Contents 297,003 items, totaling 10.9 GB
(some contents unreadable)
The space allocation graphic shows:
1.7 GB used
6.7 GB available
Filesystem type overlay
Open in Disks
...
* * *
* * *
I have tried using many linux commands to find out where the overlay
filesystem is mapped:
...
df -h
ls -l /dev/disk/by-id
gdisk (/dev/sda)
gdisk (/dev/sdb)
gdisk (/dev/sdc)
cfdisk /dev/sda
cfdisk /dev/sda
cfdisk /dev/sdc
sfdisk -J /dev/sda
sfdisk -J /dev/sdb
sfdisk -J /dev/sdc
user@debian:/$ cd /dev
user@debian:/dev$ ls -aAl
sfdisk -T --label (dos, gpt)
blkid
lsblk
lsblk
parted -l
mount
sgdisk
...
Output from all these commands is in the attached text file:
ASP -- commands - looking for overlay filesystem device - 20240320.txt
* * *
* * *
Suggestions from GTALUG members would be greatly appreciated !!
Steve Petrie
Etobicoke (Toronto), Ontario, Canada
[email protected]
416-233-6116
ASP -- commands - looking for overlay filesystem device - 20240320.txt 20
March 2024
==> df -h
...
user@debian:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.6M 1.6G 1% /run
/dev/sdb1 3.5G 3.5G 0 100% /run/live/medium
/dev/loop0 2.9G 2.9G 0 100% /run/live/rootfs/filesystem.squashfs
tmpfs 7.8G 1.6G 6.3G 20% /run/live/overlay
overlay 7.8G 1.6G 6.3G 20% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 8.0K 7.8G 1% /tmp
tmpfs 1.6G 1.7M 1.6G 1% /run/user/1000
/dev/sdc1 59G 1.7G 57G 3% /media/user/245B-74A8
/dev/sda2 1.8T 767G 958G 45%
/media/user/32ec11e8-082c-4ca5-b751-dc2852f9d5e2
user@debian:~$
...
* * *
* * *
==> ls -l /dev/disk/by-id
...
user@debian:~$ ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Mar 20 08:14 ata-HL-DT-ST_BD-RE_WH16NS40_K93HCDJ1451
-> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 20 17:15
ata-WDC_WD2003FZEX-00SRLA0_WD-WMC6N0K42XZW -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 20 17:15
ata-WDC_WD2003FZEX-00SRLA0_WD-WMC6N0K42XZW-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 20 17:15
ata-WDC_WD2003FZEX-00SRLA0_WD-WMC6N0K42XZW-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 20 17:15
ata-WDC_WD2003FZEX-00SRLA0_WD-WMC6N0K42XZW-part3 -> ../../sda3
lrwxrwxrwx 1 root root 13 Mar 20 15:13 nvme-eui.0025385381b04eae ->
../../nvme0n1
lrwxrwxrwx 1 root root 13 Mar 20 15:13
nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0K311636N -> ../../nvme0n1
lrwxrwxrwx 1 root root 9 Mar 20 17:26 usb-SMI_USB_DISK-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 20 17:26 usb-SMI_USB_DISK-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 20 17:26 usb-SMI_USB_DISK-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Mar 20 17:15 wwn-0x50014ee0af21010f -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 20 17:15 wwn-0x50014ee0af21010f-part1 ->
../../sda1
lrwxrwxrwx 1 root root 10 Mar 20 17:15 wwn-0x50014ee0af21010f-part2 ->
../../sda2
lrwxrwxrwx 1 root root 10 Mar 20 17:15 wwn-0x50014ee0af21010f-part3 ->
../../sda3
user@debian:~$
...
* * *
* * *
==> gdisk (/dev/sda)
...
user@debian:~$ sudo gdisk
GPT fdisk (gdisk) version 1.0.6
Type device filename, or press <Enter> to exit: /dev/sda
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Model: WDC WD2003FZEX-0
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): DF4920AE-9226-4515-8E76-57E49A49F8B3
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2157 sectors (1.1 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1050623 512.0 MiB EF00
2 1050624 3873746943 1.8 TiB 8300
3 3873746944 3907028991 15.9 GiB 8200
Command (? for help): i
Partition number (1-3): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system partition)
Partition unique GUID: 5EE8CDB8-29F4-4087-874C-68FFEC52DE09
First sector: 2048 (at 1024.0 KiB)
Last sector: 1050623 (at 513.0 MiB)
Partition size: 1048576 sectors (512.0 MiB)
Attribute flags: 0000000000000000
Partition name: ''
Command (? for help): i
Partition number (1-3): 2
Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: F8B3A9FC-F6CD-433F-8B90-EDD230888441
First sector: 1050624 (at 513.0 MiB)
Last sector: 3873746943 (at 1.8 TiB)
Partition size: 3872696320 sectors (1.8 TiB)
Attribute flags: 0000000000000000
Partition name: ''
Command (? for help): i
Partition number (1-3): 3
Partition GUID code: 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F (Linux swap)
Partition unique GUID: B02F6A2C-CF62-4134-999E-6C9D68009ADA
First sector: 3873746944 (at 1.8 TiB)
Last sector: 3907028991 (at 1.8 TiB)
Partition size: 33282048 sectors (15.9 GiB)
Attribute flags: 0000000000000000
Partition name: ''
Command (? for help): q
user@debian:~$
...
==> gdisk (/dev/sdb)
...
user@debian:~$ sudo gdisk
GPT fdisk (gdisk) version 1.0.6
Type device filename, or press <Enter> to exit: /dev/sdb
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 1
Command (? for help): p
Disk /dev/sdb: 122880000 sectors, 58.6 GiB
Model: USB DISK
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): EDF5FB7F-67C3-4777-9E49-DB8AA9D6A5F6
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 122879966
Partitions will be aligned on 8-sector boundaries
Total free space is 122869859 sectors (58.6 GiB)
Number Start (sector) End (sector) Size Code Name
2 1656 11729 4.9 MiB EF00 EFI system partition
Command (? for help): i
Using 2
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system partition)
Partition unique GUID: A154D80B-701F-424B-86FF-29AC65D2764A
First sector: 1656 (at 828.0 KiB)
Last sector: 11729 (at 5.7 MiB)
Partition size: 10074 sectors (4.9 MiB)
Attribute flags: 0000000000000000
Partition name: 'EFI system partition'
Command (? for help):
...
user@debian:~$ sudo gdisk
GPT fdisk (gdisk) version 1.0.6
Type device filename, or press <Enter> to exit: /dev/sdb
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Using GPT and creating fresh protective MBR.
Warning! Main partition table overlaps the first partition by 64 blocks!
You will need to delete this partition or resize it in another utility.
Command (? for help): p
Disk /dev/sdb: 122880000 sectors, 58.6 GiB
Model: USB DISK
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 823222FA-8E5B-448F-97DD-CBCA609E3A67
Partition table holds up to 248 entries
Main partition table begins at sector 2 and ends at sector 63
First usable sector is 64, last usable sector is 7187776
Partitions will be aligned on 8-sector boundaries
Total free space is 1 sectors (512 bytes)
Number Start (sector) End (sector) Size Code Name
2 1656 11727 4.9 MiB 0700 ISOHybrid1
Command (? for help): i
Partition number (1-2): 1
Command (? for help): i
Partition number (1-2): 2
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 823222FA-8E5B-448F-97DF-CBCA609E3A67
First sector: 1656 (at 828.0 KiB)
Last sector: 11727 (at 5.7 MiB)
Partition size: 10072 sectors (4.9 MiB)
Attribute flags: 1000000000000001
Partition name: 'ISOHybrid1'
Command (? for help): q
user@debian:~$
...
==> gdisk (/dev/sdc)
...
user@debian:~$ sudo gdisk
GPT fdisk (gdisk) version 1.0.6
Type device filename, or press <Enter> to exit: /dev/sdc
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************
Command (? for help): q
user@debian:~$
...
* * *
* * *
==> cfdisk /dev/sda
...
Disk: /dev/sda
Size: 1.82 TiB,
2000398934016 bytes, 3907029168 sectors
Label: gpt, identifier:
DF4920AE-9226-4515-8E76-57E49A49F8B3
Device Start
End Sectors Size Type
>> /dev/sda1 2048
>> 1050623 1048576 512M EFI System
>>
/dev/sda2 1050624
3873746943 3872696320 1.8T Linux filesystem
/dev/sda3 3873746944
3907028991 33282048 15.9G Linux swap
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Partition UUID: 5EE8CDB8-29F4-4087-874C-68FFEC52DE09
â
â Partition type: EFI System (C12A7328-F81F-11D2-BA4B-00A0C93EC93B)
â
âFilesystem UUID: 20CD-484A
â
â Filesystem: vfat
â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
[ Delete ] [ Resize ] [ Quit ]
[ Type ] [ Help ] [ Write ] [ Dump ]
...
label: gpt
label-id: DF4920AE-9226-4515-8E76-57E49A49F8B3
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 3907029134
sector-size: 512
/dev/sda1 : start= 2048, size= 1048576,
type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B,
uuid=5EE8CDB8-29F4-4087-874C-68FFEC52DE09
/dev/sda2 : start= 1050624, size= 3872696320,
type=0FC63DAF-8483-4772-8E79-3D69D8477DE4,
uuid=F8B3A9FC-F6CD-433F-8B90-EDD230888441
/dev/sda3 : start= 3873746944, size= 33282048,
type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F,
uuid=B02F6A2C-CF62-4134-999E-6C9D68009ADA
...
==> cfdisk /dev/sdb
...
Disk: /dev/sdb
Size: 58.59 GiB,
62914560000 bytes, 122880000 sectors
Label: dos,
identifier: 0x2268297a
Device Boot Start
End Sectors Size Id Type
>> /dev/sdb1 * 0
>> 7187839 7187840 3.4G 0 Empty
>>
/dev/sdb2 1656
11729 10074 4.9M ef EFI (FAT-12/16/32)
Free space 7188480
122879999 115691520 55.2G
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Partition type: Empty (0)
â
â Attributes: 80
â
â Filesystem UUID: 2022-12-17-13-09-30-00
â
âFilesystem LABEL: d-live nf 11.6.0 gn amd64
â
â Filesystem: iso9660
â
â Mountpoint: /run/live/medium (mounted)
â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
[Bootable] [ Delete ] [ Resize ] [
Quit ] [ Type ] [ Help ] [ Write ] [ Dump ]
Quit program
without writing changes
...
label: dos
label-id: 0x2268297a
device: /dev/sdb
unit: sectors
sector-size: 512
/dev/sdb1 : start= 0, size= 7187840, type=0, bootable
/dev/sdb2 : start= 1656, size= 10074, type=ef
...
==> cfdisk /dev/sdc
...
Disk: /dev/sdc
Size: 58.59 GiB,
62914560000 bytes, 122880000 sectors
Label: dos,
identifier: 0x0e02c707
Device Boot Start
End Sectors Size Id Type
>> /dev/sdc1 2048
>> 122877951 122875904 58.6G 7
>> HPFS/NTFS/exFAT
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Partition type: HPFS/NTFS/exFAT (7)
â
âFilesystem UUID: 245B-74A8
â
â Filesystem: vfat
â
â Mountpoint: /media/user/245B-74A8 (mounted)
â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
[Bootable] [ Delete ] [ Resize ] [
Quit ] [ Type ] [ Help ] [ Write ] [ Dump ]
Quit program
without writing changes
...
label: dos
label-id: 0x0e02c707
device: /dev/sdc
unit: sectors
sector-size: 512
/dev/sdc1 : start= 2048, size= 122875904, type=7
...
* * *
* * *
==> sfdisk -J <dev>
...
user@debian:~$ sudo sfdisk -J /dev/sda
{
"partitiontable": {
"label":"gpt",
"id":"DF4920AE-9226-4515-8E76-57E49A49F8B3",
"device":"/dev/sda",
"unit":"sectors",
"firstlba":34,
"lastlba":3907029134,
"sectorsize":512,
"partitions": [
{"node":"/dev/sda1", "start":2048, "size":1048576,
"type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
"uuid":"5EE8CDB8-29F4-4087-874C-68FFEC52DE09"},
{"node":"/dev/sda2", "start":1050624, "size":3872696320,
"type":"0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid":"F8B3A9FC-F6CD-433F-8B90-EDD230888441"},
{"node":"/dev/sda3", "start":3873746944, "size":33282048,
"type":"0657FD6D-A4AB-43C4-84E5-0933C84B4F4F",
"uuid":"B02F6A2C-CF62-4134-999E-6C9D68009ADA"}
]
}
}
...
user@debian:~$ sudo sfdisk -J /dev/sdb
{
"partitiontable": {
"label":"dos",
"id":"0x2268297a",
"device":"/dev/sdb",
"unit":"sectors",
"sectorsize":512,
"partitions": [
{"node":"/dev/sdb1", "start":0, "size":7187840, "type":"0",
"bootable":true},
{"node":"/dev/sdb2", "start":1656, "size":10074, "type":"ef"}
]
}
}
...
user@debian:~$ sudo sfdisk -J /dev/sdc
{
"partitiontable": {
"label":"dos",
"id":"0x0e02c707",
"device":"/dev/sdc",
"unit":"sectors",
"sectorsize":512,
"partitions": [
{"node":"/dev/sdc1", "start":2048, "size":122875904, "type":"7"}
]
}
}
user@debian:~$
...
==> cfdisk /dev/sdc
...
Disk: /dev/sdc
Size: 58.59 GiB,
62914560000 bytes, 122880000 sectors
Label: dos,
identifier: 0x0e02c707
Device Boot Start
End Sectors Size Id Type
>> /dev/sdc1 2048
>> 122877951 122875904 58.6G 7
>> HPFS/NTFS/exFAT
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Partition type: HPFS/NTFS/exFAT (7)
â
âFilesystem UUID: 245B-74A8
â
â Filesystem: vfat
â
â Mountpoint: /media/user/245B-74A8 (mounted)
â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
[Bootable] [ Delete ] [ Resize ] [
Quit ] [ Type ] [ Help ] [ Write ] [ Dump ]
Quit program
without writing changes
...
label: dos
label-id: 0x0e02c707
device: /dev/sdc
unit: sectors
sector-size: 512
/dev/sdc1 : start= 2048, size= 122875904, type=7
...
* * *
* * *
==> sfdisk -g
...
user@debian:~$ sudo sfdisk -g
/dev/nvme0n1: 238475 cylinders, 64 heads, 32 sectors/track
/dev/sda: 243201 cylinders, 255 heads, 63 sectors/track
sfdisk: cannot open /dev/sr0: No medium found
user@debian:~$
...
==> https://vitux.com/display-drives-on-linux/
sudo fdisk -l
...
user@debian:~$ sudo fdisk -l
Disk /dev/nvme0n1: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 960 EVO 250GB
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: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2003FZEX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: DF4920AE-9226-4515-8E76-57E49A49F8B3
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 3873746943 3872696320 1.8T Linux filesystem
/dev/sda3 3873746944 3907028991 33282048 15.9G Linux swap
Disk /dev/sdb: 58.59 GiB, 62914560000 bytes, 122880000 sectors
Disk model: USB DISK
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: 0x2268297a
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 7187839 7187840 3.4G 0 Empty
/dev/sdb2 1656 11729 10074 4.9M ef EFI (FAT-12/16/32)
Disk /dev/sdc: 58.59 GiB, 62914560000 bytes, 122880000 sectors
Disk model: USB DISK
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: 0x0e02c707
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 122877951 122875904 58.6G 7 HPFS/NTFS/exFAT
Disk /dev/loop0: 2.82 GiB, 3033255936 bytes, 5924328 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
user@debian:~$
...
==> sudo blkid
...
user@debian:~$ sudo blkid
/dev/sdb1: BLOCK_SIZE="2048" UUID="2022-12-17-13-09-30-00" LABEL="d-live nf
11.6.0 gn amd64" TYPE="iso9660" PTUUID="2268297a" PTTYPE="dos"
PARTUUID="2268297a-01"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="20CD-484A" BLOCK_SIZE="512" TYPE="vfat"
PARTUUID="5ee8cdb8-29f4-4087-874c-68ffec52de09"
/dev/sda2: UUID="32ec11e8-082c-4ca5-b751-dc2852f9d5e2" BLOCK_SIZE="4096"
TYPE="ext4" PARTUUID="f8b3a9fc-f6cd-433f-8b90-edd230888441"
/dev/sda3: UUID="a54c0db8-a253-423e-abcb-0f93f0c26c78" TYPE="swap"
PARTUUID="b02f6a2c-cf62-4134-999e-6c9d68009ada"
/dev/sdb2: SEC_TYPE="msdos" UUID="DEB0-0001" BLOCK_SIZE="512" TYPE="vfat"
PARTUUID="2268297a-02"
/dev/sdc1: UUID="245B-74A8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="0e02c707-01"
user@debian:~$
...
==> lsblk
...
user@debian:/$ sudo lsblk -o
NAME,KNAME,MAJ:MIN,FSTYPE,SIZE,MOUNTPOINT,LABEL,UUID,STATE,TYPE
NAME KNAME MAJ:MIN FSTYPE SIZE MOUNTPOINT
LABEL UUID STATE
TYPE
loop0 loop0 7:0 squashfs 2.8G
/usr/lib/live/mount/rootfs/filesystem.squashfs
loop
sda sda 8:0 1.8T
running
disk
ââsda1 sda1 8:1 vfat 512M
20CD-484A
part
ââsda2 sda2 8:2 ext4 1.8T
/media/user/32ec11e8-082c-4ca5-b751-dc2852f9d5e2
32ec11e8-082c-4ca5-b751-dc2852f9d5e2 part
ââsda3 sda3 8:3 swap 15.9G
a54c0db8-a253-423e-abcb-0f93f0c26c78
part
sdb sdb 8:16 iso9660 58.6G
d-live nf 11.6.0 gn amd64 2022-12-17-13-09-30-00 running
disk
ââsdb1 sdb1 8:17 iso9660 3.4G /usr/lib/live/mount/medium
d-live nf 11.6.0 gn amd64 2022-12-17-13-09-30-00
part
ââsdb2 sdb2 8:18 vfat 4.9M
DEB0-0001
part
sdc sdc 8:32 58.6G
running
disk
ââsdc1 sdc1 8:33 vfat 58.6G /media/user/245B-74A8
245B-74A8
part
sr0 sr0 11:0 1024M
running
rom
nvme0n1 nvme0n1 259:0 232.9G
live
disk
user@debian:/$
...
==> sudo parted -l
...
user@debian:~$ sudo parted -l
Model: ATA WDC WD2003FZEX-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 1983GB 1983GB ext4
3 1983GB 2000GB 17.0GB linux-swap(v1) swap
Model: SMI USB DISK (scsi)
Disk /dev/sdb: 62.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 848kB 6006kB 5158kB primary esp
Model: SMI USB DISK (scsi)
Disk /dev/sdc: 62.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 62.9GB 62.9GB primary fat32
Error: /dev/nvme0n1: unrecognised disk label
Model: Samsung SSD 960 EVO 250GB (nvme)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
user@debian:~$
...
* * *
* * *
==> mount
...
user@debian:/$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=8084160k,nr_inodes=2021040,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=1625824k,mode=755)
/dev/sdb1 on /run/live/medium type iso9660
(ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
/dev/loop0 on /run/live/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /run/live/overlay type tmpfs (rw,noatime,size=8129120k,mode=755)
overlay on / type overlay
(rw,noatime,lowerdir=/run/live/rootfs/filesystem.squashfs/,upperdir=/run/live/overlay/rw,workdir=/run/live/overlay/work)
tmpfs on /usr/lib/live/mount type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=1625824k,mode=755)
/dev/sdb1 on /usr/lib/live/mount/medium type iso9660
(ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
/dev/loop0 on /usr/lib/live/mount/rootfs/filesystem.squashfs type squashfs
(ro,noatime)
tmpfs on /usr/lib/live/mount/overlay type tmpfs
(rw,noatime,size=8129120k,mode=755)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs
(rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11180)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=1625820k,nr_inodes=406455,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdc1 on /media/user/245B-74A8 type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sda2 on /media/user/32ec11e8-082c-4ca5-b751-dc2852f9d5e2 type ext4
(rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
user@debian:/$
...
* * *
* * *
...
user@debian:/$ cd /dev
user@debian:/dev$ ls -aAl
total 0
crw-r--r-- 1 root root 10, 235 Mar 20 08:14 autofs
drwxr-xr-x 2 root root 420 Mar 20 08:14 block
drwxr-xr-x 2 root root 120 Mar 20 08:14 bsg
crw------- 1 root root 10, 234 Mar 20 08:14 btrfs-control
drwxr-xr-x 3 root root 60 Mar 20 08:14 bus
lrwxrwxrwx 1 root root 3 Mar 20 08:14 cdrom -> sr0
lrwxrwxrwx 1 root root 3 Mar 20 08:14 cdrw -> sr0
drwxr-xr-x 2 root root 3340 Mar 20 17:34 char
crw------- 1 root root 5, 1 Mar 20 08:14 console
lrwxrwxrwx 1 root root 11 Mar 20 08:14 core -> /proc/kcore
drwxr-xr-x 6 root root 120 Mar 20 14:31 cpu
crw------- 1 root root 10, 62 Mar 20 08:14 cpu_dma_latency
crw------- 1 root root 10, 203 Mar 20 08:14 cuse
drwxr-xr-x 7 root root 140 Mar 20 08:14 disk
drwxr-xr-x 3 root root 100 Mar 20 08:14 dri
lrwxrwxrwx 1 root root 3 Mar 20 08:14 dvd -> sr0
lrwxrwxrwx 1 root root 3 Mar 20 08:14 dvdrw -> sr0
crw-rw---- 1 root video 29, 0 Mar 20 08:14 fb0
lrwxrwxrwx 1 root root 13 Mar 20 08:14 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Mar 20 08:14 full
crw-rw-rw- 1 root root 10, 229 Mar 20 08:14 fuse
crw------- 1 root root 245, 0 Mar 20 17:34 hidraw0
crw------- 1 root root 10, 228 Mar 20 08:14 hpet
drwxr-xr-x 2 root root 0 Mar 20 08:14 hugepages
lrwxrwxrwx 1 root root 12 Mar 20 08:14 initctl -> /run/initctl
drwxr-xr-x 4 root root 440 Mar 20 17:34 input
crw-r--r-- 1 root root 1, 11 Mar 20 08:14 kmsg
lrwxrwxrwx 1 root root 28 Mar 20 08:14 log ->
/run/systemd/journal/dev-log
brw-rw---- 1 root disk 7, 0 Mar 20 08:14 loop0
brw-rw---- 1 root disk 7, 1 Mar 20 08:14 loop1
brw-rw---- 1 root disk 7, 2 Mar 20 08:14 loop2
brw-rw---- 1 root disk 7, 3 Mar 20 08:14 loop3
brw-rw---- 1 root disk 7, 4 Mar 20 08:14 loop4
brw-rw---- 1 root disk 7, 5 Mar 20 08:14 loop5
brw-rw---- 1 root disk 7, 6 Mar 20 08:14 loop6
brw-rw---- 1 root disk 7, 7 Mar 20 08:14 loop7
crw-rw---- 1 root disk 10, 237 Mar 20 08:14 loop-control
drwxr-xr-x 2 root root 60 Mar 20 08:14 mapper
crw------- 1 root root 244, 0 Mar 20 08:14 mei0
crw-r----- 1 root kmem 1, 1 Mar 20 08:14 mem
drwxrwxrwt 2 root root 40 Mar 20 08:14 mqueue
drwxr-xr-x 2 root root 60 Mar 20 08:14 net
crw-rw-rw- 1 root root 1, 3 Mar 20 08:14 null
crw------- 1 root root 246, 0 Mar 20 08:14 nvme0
brw-rw---- 1 root disk 259, 0 Mar 20 15:13 nvme0n1
crw------- 1 root root 10, 144 Mar 20 08:14 nvram
crw-r----- 1 root kmem 1, 4 Mar 20 08:14 port
crw------- 1 root root 108, 0 Mar 20 08:14 ppp
crw------- 1 root root 10, 1 Mar 20 08:14 psaux
crw-rw-rw- 1 root tty 5, 2 Mar 20 17:52 ptmx
crw------- 1 root root 249, 0 Mar 20 08:14 ptp0
drwxr-xr-x 2 root root 0 Mar 20 08:14 pts
crw-rw-rw- 1 root root 1, 8 Mar 20 08:14 random
crw-rw-r--+ 1 root netdev 10, 242 Mar 20 08:14 rfkill
lrwxrwxrwx 1 root root 4 Mar 20 08:14 rtc -> rtc0
crw------- 1 root root 252, 0 Mar 20 08:14 rtc0
brw-rw---- 1 root disk 8, 0 Mar 20 17:15 sda
brw-rw---- 1 root disk 8, 1 Mar 20 17:15 sda1
brw-rw---- 1 root disk 8, 2 Mar 20 17:15 sda2
brw-rw---- 1 root disk 8, 3 Mar 20 17:15 sda3
brw-rw---- 1 root disk 8, 16 Mar 20 17:26 sdb
brw-rw---- 1 root disk 8, 17 Mar 20 17:26 sdb1
brw-rw---- 1 root disk 8, 18 Mar 20 17:26 sdb2
brw-rw---- 1 root disk 8, 32 Mar 20 17:22 sdc
brw-rw---- 1 root disk 8, 33 Mar 20 17:22 sdc1
crw-rw---- 1 root disk 21, 0 Mar 20 08:14 sg0
crw-rw----+ 1 root cdrom 21, 1 Mar 20 08:14 sg1
crw-rw---- 1 root disk 21, 2 Mar 20 08:14 sg2
crw-rw---- 1 root disk 21, 3 Mar 20 08:14 sg3
drwxrwxrwt 2 root root 40 Mar 20 08:14 shm
crw------- 1 root root 10, 231 Mar 20 08:14 snapshot
drwxr-xr-x 3 root root 280 Mar 20 08:14 snd
brw-rw----+ 1 root cdrom 11, 0 Mar 20 08:14 sr0
lrwxrwxrwx 1 root root 15 Mar 20 08:14 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Mar 20 08:14 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Mar 20 08:14 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Mar 20 08:14 tty
crw--w---- 1 root tty 4, 0 Mar 20 08:14 tty0
crw--w---- 1 root tty 4, 1 Mar 20 08:14 tty1
crw--w---- 1 root tty 4, 10 Mar 20 08:14 tty10
crw--w---- 1 root tty 4, 11 Mar 20 08:14 tty11
crw--w---- 1 root tty 4, 12 Mar 20 08:14 tty12
crw--w---- 1 root tty 4, 13 Mar 20 08:14 tty13
crw--w---- 1 root tty 4, 14 Mar 20 08:14 tty14
crw--w---- 1 root tty 4, 15 Mar 20 08:14 tty15
crw--w---- 1 root tty 4, 16 Mar 20 08:14 tty16
crw--w---- 1 root tty 4, 17 Mar 20 08:14 tty17
crw--w---- 1 root tty 4, 18 Mar 20 08:14 tty18
crw--w---- 1 root tty 4, 19 Mar 20 08:14 tty19
crw--w---- 1 user tty 4, 2 Mar 20 08:16 tty2
crw--w---- 1 root tty 4, 20 Mar 20 08:14 tty20
crw--w---- 1 root tty 4, 21 Mar 20 08:14 tty21
crw--w---- 1 root tty 4, 22 Mar 20 08:14 tty22
crw--w---- 1 root tty 4, 23 Mar 20 08:14 tty23
crw--w---- 1 root tty 4, 24 Mar 20 08:14 tty24
crw--w---- 1 root tty 4, 25 Mar 20 08:14 tty25
crw--w---- 1 root tty 4, 26 Mar 20 08:14 tty26
crw--w---- 1 root tty 4, 27 Mar 20 08:14 tty27
crw--w---- 1 root tty 4, 28 Mar 20 08:14 tty28
crw--w---- 1 root tty 4, 29 Mar 20 08:14 tty29
crw--w---- 1 root tty 4, 3 Mar 20 08:14 tty3
crw--w---- 1 root tty 4, 30 Mar 20 08:14 tty30
crw--w---- 1 root tty 4, 31 Mar 20 08:14 tty31
crw--w---- 1 root tty 4, 32 Mar 20 08:14 tty32
crw--w---- 1 root tty 4, 33 Mar 20 08:14 tty33
crw--w---- 1 root tty 4, 34 Mar 20 08:14 tty34
crw--w---- 1 root tty 4, 35 Mar 20 08:14 tty35
crw--w---- 1 root tty 4, 36 Mar 20 08:14 tty36
crw--w---- 1 root tty 4, 37 Mar 20 08:14 tty37
crw--w---- 1 root tty 4, 38 Mar 20 08:14 tty38
crw--w---- 1 root tty 4, 39 Mar 20 08:14 tty39
crw--w---- 1 root tty 4, 4 Mar 20 08:14 tty4
crw--w---- 1 root tty 4, 40 Mar 20 08:14 tty40
crw--w---- 1 root tty 4, 41 Mar 20 08:14 tty41
crw--w---- 1 root tty 4, 42 Mar 20 08:14 tty42
crw--w---- 1 root tty 4, 43 Mar 20 08:14 tty43
crw--w---- 1 root tty 4, 44 Mar 20 08:14 tty44
crw--w---- 1 root tty 4, 45 Mar 20 08:14 tty45
crw--w---- 1 root tty 4, 46 Mar 20 08:14 tty46
crw--w---- 1 root tty 4, 47 Mar 20 08:14 tty47
crw--w---- 1 root tty 4, 48 Mar 20 08:14 tty48
crw--w---- 1 root tty 4, 49 Mar 20 08:14 tty49
crw--w---- 1 root tty 4, 5 Mar 20 08:14 tty5
crw--w---- 1 root tty 4, 50 Mar 20 08:14 tty50
crw--w---- 1 root tty 4, 51 Mar 20 08:14 tty51
crw--w---- 1 root tty 4, 52 Mar 20 08:14 tty52
crw--w---- 1 root tty 4, 53 Mar 20 08:14 tty53
crw--w---- 1 root tty 4, 54 Mar 20 08:14 tty54
crw--w---- 1 root tty 4, 55 Mar 20 08:14 tty55
crw--w---- 1 root tty 4, 56 Mar 20 08:14 tty56
crw--w---- 1 root tty 4, 57 Mar 20 08:14 tty57
crw--w---- 1 root tty 4, 58 Mar 20 08:14 tty58
crw--w---- 1 root tty 4, 59 Mar 20 08:14 tty59
crw--w---- 1 root tty 4, 6 Mar 20 08:14 tty6
crw--w---- 1 root tty 4, 60 Mar 20 08:14 tty60
crw--w---- 1 root tty 4, 61 Mar 20 08:14 tty61
crw--w---- 1 root tty 4, 62 Mar 20 08:14 tty62
crw--w---- 1 root tty 4, 63 Mar 20 08:14 tty63
crw--w---- 1 root tty 4, 7 Mar 20 08:14 tty7
crw--w---- 1 root tty 4, 8 Mar 20 08:14 tty8
crw--w---- 1 root tty 4, 9 Mar 20 08:14 tty9
crw-rw---- 1 root dialout 4, 64 Mar 20 08:14 ttyS0
crw-rw---- 1 root dialout 4, 65 Mar 20 08:14 ttyS1
crw-rw---- 1 root dialout 4, 66 Mar 20 08:14 ttyS2
crw-rw---- 1 root dialout 4, 67 Mar 20 08:14 ttyS3
crw------- 1 root root 10, 239 Mar 20 08:14 uhid
crw------- 1 root root 10, 223 Mar 20 08:14 uinput
crw-rw-rw- 1 root root 1, 9 Mar 20 08:14 urandom
crw-rw---- 1 root tty 7, 0 Mar 20 08:14 vcs
crw-rw---- 1 root tty 7, 1 Mar 20 08:14 vcs1
crw-rw---- 1 root tty 7, 2 Mar 20 08:14 vcs2
crw-rw---- 1 root tty 7, 3 Mar 20 08:14 vcs3
crw-rw---- 1 root tty 7, 4 Mar 20 08:14 vcs4
crw-rw---- 1 root tty 7, 5 Mar 20 08:14 vcs5
crw-rw---- 1 root tty 7, 6 Mar 20 08:14 vcs6
crw-rw---- 1 root tty 7, 128 Mar 20 08:14 vcsa
crw-rw---- 1 root tty 7, 129 Mar 20 08:14 vcsa1
crw-rw---- 1 root tty 7, 130 Mar 20 08:14 vcsa2
crw-rw---- 1 root tty 7, 131 Mar 20 08:14 vcsa3
crw-rw---- 1 root tty 7, 132 Mar 20 08:14 vcsa4
crw-rw---- 1 root tty 7, 133 Mar 20 08:14 vcsa5
crw-rw---- 1 root tty 7, 134 Mar 20 08:14 vcsa6
crw-rw---- 1 root tty 7, 64 Mar 20 08:14 vcsu
crw-rw---- 1 root tty 7, 65 Mar 20 08:14 vcsu1
crw-rw---- 1 root tty 7, 66 Mar 20 08:14 vcsu2
crw-rw---- 1 root tty 7, 67 Mar 20 08:14 vcsu3
crw-rw---- 1 root tty 7, 68 Mar 20 08:14 vcsu4
crw-rw---- 1 root tty 7, 69 Mar 20 08:14 vcsu5
crw-rw---- 1 root tty 7, 70 Mar 20 08:14 vcsu6
drwxr-xr-x 2 root root 60 Mar 20 08:14 vfio
crw------- 1 root root 10, 63 Mar 20 08:14 vga_arbiter
crw------- 1 root root 10, 137 Mar 20 08:14 vhci
crw------- 1 root root 10, 238 Mar 20 08:14 vhost-net
crw------- 1 root root 10, 241 Mar 20 08:14 vhost-vsock
crw------- 1 root root 10, 130 Mar 20 08:14 watchdog
crw------- 1 root root 243, 0 Mar 20 08:14 watchdog0
crw-rw-rw- 1 root root 1, 5 Mar 20 08:14 zero
user@debian:/dev$
...
* * *
* * *
==> sfdisk -T --label dos, gpt
...
user@debian:~$ sudo sfdisk -T --label gpt
Id Name
C12A7328-F81F-11D2-BA4B-00A0C93EC93B EFI System
024DEE41-33E7-11D3-9D69-0008C781F39F MBR partition scheme
D3BFE2DE-3DAF-11DF-BA40-E3A556D89593 Intel Fast Flash
21686148-6449-6E6F-744E-656564454649 BIOS boot
F4019732-066E-4E12-8273-346C5641494F Sony boot partition
BFBFAFE7-A34F-448A-9A5B-6213EB736C22 Lenovo boot partition
9E1A2D38-C612-4316-AA26-8B49521E5A8B PowerPC PReP boot
7412F7D5-A156-4B13-81DC-867174929325 ONIE boot
D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149 ONIE config
E3C9E316-0B5C-4DB8-817D-F92DF00215AE Microsoft reserved
EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Microsoft basic data
5808C8AA-7E8F-42E0-85D2-E1E90434CFB3 Microsoft LDM metadata
AF9B60A0-1431-4F62-BC68-3311714A69AD Microsoft LDM data
DE94BBA4-06D1-4D40-A16A-BFD50179D6AC Windows recovery environment
37AFFC90-EF7D-4E96-91C3-2D7AE055B174 IBM General Parallel Fs
E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D Microsoft Storage Spaces
75894C1E-3AEB-11D3-B7C1-7B03A0000000 HP-UX data
E2A1E728-32E3-11D6-A682-7B03A0000000 HP-UX service
0657FD6D-A4AB-43C4-84E5-0933C84B4F4F Linux swap
0FC63DAF-8483-4772-8E79-3D69D8477DE4 Linux filesystem
3B8F8425-20E0-4F3B-907F-1A25A76F98E8 Linux server data
44479540-F297-41B2-9AF7-D131D5F0458A Linux root (x86)
4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 Linux root (x86-64)
69DAD710-2CE4-4E3C-B16C-21A1D49ABED3 Linux root (ARM)
B921B045-1DF0-41C3-AF44-4C6F280D3FAE Linux root (ARM-64)
993D8D3D-F80E-4225-855A-9DAF8ED7EA97 Linux root (IA-64)
8DA63339-0007-60C0-C436-083AC8230908 Linux reserved
933AC7E1-2EB4-4F13-B844-0E14E2AEF915 Linux home
A19D880F-05FC-4D3B-A006-743F0F84911E Linux RAID
E6D6D379-F507-44C2-A23C-238F2A3DF928 Linux LVM
4D21B016-B534-45C2-A9FB-5C16E091FD2D Linux variable data
7EC6F557-3BC5-4ACA-B293-16EF5DF639D1 Linux temporary data
75250D76-8CC6-458E-BD66-BD47CC81A812 Linux /usr (x86)
8484680C-9521-48C6-9C11-B0720656F69E Linux /usr (x86-64)
7D0359A3-02B3-4F0A-865C-654403E70625 Linux /usr (ARM)
B0E01050-EE5F-4390-949A-9101B17104E9 Linux /usr (ARM-64)
4301D2A6-4E3B-4B2A-BB94-9E0B2C4225EA Linux /usr (IA-64)
D13C5D3B-B5D1-422A-B29F-9454FDC89D76 Linux root verity (x86)
2C7357ED-EBD2-46D9-AEC1-23D437EC2BF5 Linux root verity (x86-64)
7386CDF2-203C-47A9-A498-F2ECCE45A2D6 Linux root verity (ARM)
DF3300CE-D69F-4C92-978C-9BFB0F38D820 Linux root verity (ARM-64)
86ED10D5-B607-45BB-8957-D350F23D0571 Linux root verity (IA-64)
8F461B0D-14EE-4E81-9AA9-049B6FB97ABD Linux /usr verity (x86)
77FF5F63-E7B6-4633-ACF4-1565B864C0E6 Linux /usr verity (x86-64)
C215D751-7BCD-4649-BE90-6627490A4C05 Linux /usr verity (ARM)
6E11A4E7-FBCA-4DED-B9E9-E1A512BB664E Linux /usr verity (ARM-64)
6A491E03-3BE7-4545-8E38-83320E0EA880 Linux /usr verity (IA-64)
BC13C2FF-59E6-4262-A352-B275FD6F7172 Linux extended boot
773f91ef-66d4-49b5-bd83-d683bf40ad16 Linux user's home
516E7CB4-6ECF-11D6-8FF8-00022D09712B FreeBSD data
83BD6B9D-7F41-11DC-BE0B-001560B84F0F FreeBSD boot
516E7CB5-6ECF-11D6-8FF8-00022D09712B FreeBSD swap
516E7CB6-6ECF-11D6-8FF8-00022D09712B FreeBSD UFS
516E7CBA-6ECF-11D6-8FF8-00022D09712B FreeBSD ZFS
516E7CB8-6ECF-11D6-8FF8-00022D09712B FreeBSD Vinum
48465300-0000-11AA-AA11-00306543ECAC Apple HFS/HFS+
7C3457EF-0000-11AA-AA11-00306543ECAC Apple APFS
55465300-0000-11AA-AA11-00306543ECAC Apple UFS
52414944-0000-11AA-AA11-00306543ECAC Apple RAID
52414944-5F4F-11AA-AA11-00306543ECAC Apple RAID offline
426F6F74-0000-11AA-AA11-00306543ECAC Apple boot
4C616265-6C00-11AA-AA11-00306543ECAC Apple label
5265636F-7665-11AA-AA11-00306543ECAC Apple TV recovery
53746F72-6167-11AA-AA11-00306543ECAC Apple Core storage
6A82CB45-1DD2-11B2-99A6-080020736631 Solaris boot
6A85CF4D-1DD2-11B2-99A6-080020736631 Solaris root
6A898CC3-1DD2-11B2-99A6-080020736631 Solaris /usr & Apple ZFS
6A87C46F-1DD2-11B2-99A6-080020736631 Solaris swap
6A8B642B-1DD2-11B2-99A6-080020736631 Solaris backup
6A8EF2E9-1DD2-11B2-99A6-080020736631 Solaris /var
6A90BA39-1DD2-11B2-99A6-080020736631 Solaris /home
6A9283A5-1DD2-11B2-99A6-080020736631 Solaris alternate sector
6A945A3B-1DD2-11B2-99A6-080020736631 Solaris reserved 1
6A9630D1-1DD2-11B2-99A6-080020736631 Solaris reserved 2
6A980767-1DD2-11B2-99A6-080020736631 Solaris reserved 3
6A96237F-1DD2-11B2-99A6-080020736631 Solaris reserved 4
6A8D2AC7-1DD2-11B2-99A6-080020736631 Solaris reserved 5
49F48D32-B10E-11DC-B99B-0019D1879648 NetBSD swap
49F48D5A-B10E-11DC-B99B-0019D1879648 NetBSD FFS
49F48D82-B10E-11DC-B99B-0019D1879648 NetBSD LFS
2DB519C4-B10E-11DC-B99B-0019D1879648 NetBSD concatenated
2DB519EC-B10E-11DC-B99B-0019D1879648 NetBSD encrypted
49F48DAA-B10E-11DC-B99B-0019D1879648 NetBSD RAID
FE3A2A5D-4F32-41A7-B725-ACCC3285A309 ChromeOS kernel
3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC ChromeOS root fs
2E0A753D-9E48-43B0-8337-B15192CB1B5E ChromeOS reserved
85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7 MidnightBSD data
85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7 MidnightBSD boot
85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7 MidnightBSD swap
0394EF8B-237E-11E1-B4B3-E89A8F7FC3A7 MidnightBSD UFS
85D5E45D-237C-11E1-B4B3-E89A8F7FC3A7 MidnightBSD ZFS
85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7 MidnightBSD Vinum
45B0969E-9B03-4F30-B4C6-B4B80CEFF106 Ceph Journal
45B0969E-9B03-4F30-B4C6-5EC00CEFF106 Ceph Encrypted Journal
4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D Ceph OSD
4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D Ceph crypt OSD
89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE Ceph disk in creation
89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE Ceph crypt disk in creation
AA31E02A-400F-11DB-9590-000C2911D1B8 VMware VMFS
9D275380-40AD-11DB-BF97-000C2911D1B8 VMware Diagnostic
381CFCCC-7288-11E0-92EE-000C2911D0B2 VMware Virtual SAN
77719A0C-A4A0-11E3-A47E-000C29745A24 VMware Virsto
9198EFFC-31C0-11DB-8F78-000C2911D1B8 VMware Reserved
824CC7A0-36A8-11E3-890A-952519AD3F61 OpenBSD data
CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1 QNX6 file system
C91818F9-8025-47AF-89D2-F030D7000C2C Plan 9 partition
5B193300-FC78-40CD-8002-E86C45580B47 HiFive Unleashed FSBL
2E54B353-1271-4842-806F-E436D6AF6985 HiFive Unleashed BBL
...
user@debian:~$ sudo sfdisk -T --label dos
Id Name
0 Empty
1 FAT12
2 XENIX root
3 XENIX usr
4 FAT16 <32M
5 Extended
6 FAT16
7 HPFS/NTFS/exFAT
8 AIX
9 AIX bootable
a OS/2 Boot Manager
b W95 FAT32
c W95 FAT32 (LBA)
e W95 FAT16 (LBA)
f W95 Ext'd (LBA)
10 OPUS
11 Hidden FAT12
12 Compaq diagnostics
14 Hidden FAT16 <32M
16 Hidden FAT16
17 Hidden HPFS/NTFS
18 AST SmartSleep
1b Hidden W95 FAT32
1c Hidden W95 FAT32 (LBA)
1e Hidden W95 FAT16 (LBA)
24 NEC DOS
27 Hidden NTFS WinRE
39 Plan 9
3c PartitionMagic recovery
40 Venix 80286
41 PPC PReP Boot
42 SFS
4d QNX4.x
4e QNX4.x 2nd part
4f QNX4.x 3rd part
50 OnTrack DM
51 OnTrack DM6 Aux1
52 CP/M
53 OnTrack DM6 Aux3
54 OnTrackDM6
55 EZ-Drive
56 Golden Bow
5c Priam Edisk
61 SpeedStor
63 GNU HURD or SysV
64 Novell Netware 286
65 Novell Netware 386
70 DiskSecure Multi-Boot
75 PC/IX
80 Old Minix
81 Minix / old Linux
82 Linux swap / Solaris
83 Linux
84 OS/2 hidden or Intel hibernation
85 Linux extended
86 NTFS volume set
87 NTFS volume set
88 Linux plaintext
8e Linux LVM
93 Amoeba
94 Amoeba BBT
9f BSD/OS
a0 IBM Thinkpad hibernation
a5 FreeBSD
a6 OpenBSD
a7 NeXTSTEP
a8 Darwin UFS
a9 NetBSD
ab Darwin boot
af HFS / HFS+
b7 BSDI fs
b8 BSDI swap
bb Boot Wizard hidden
bc Acronis FAT32 LBA
be Solaris boot
bf Solaris
c1 DRDOS/sec (FAT-12)
c4 DRDOS/sec (FAT-16 < 32M)
c6 DRDOS/sec (FAT-16)
c7 Syrinx
da Non-FS data
db CP/M / CTOS / ...
de Dell Utility
df BootIt
e1 DOS access
e3 DOS R/O
e4 SpeedStor
ea Linux extended boot
eb BeOS fs
ee GPT
ef EFI (FAT-12/16/32)
f0 Linux/PA-RISC boot
f1 SpeedStor
f4 SpeedStor
f2 DOS secondary
fb VMware VMFS
fc VMware VMKCORE
fd Linux raid autodetect
fe LANstep
ff BBT
user@debian:~$ sudo sfdisk -T --label gpt
...
* * *
* * *
==> sgdisk
...
user@debian:~$ sudo sgdisk -L
0700 Microsoft basic data 0c01 Microsoft reserved
2700 Windows RE 3000 ONIE boot
3001 ONIE config 3900 Plan 9
4100 PowerPC PReP boot 4200 Windows LDM data
4201 Windows LDM metadata 4202 Windows Storage Spaces
7501 IBM GPFS 7f00 ChromeOS kernel
7f01 ChromeOS root 7f02 ChromeOS reserved
8200 Linux swap 8300 Linux filesystem
8301 Linux reserved 8302 Linux /home
8303 Linux x86 root (/) 8304 Linux x86-64 root (/)
8305 Linux ARM64 root (/) 8306 Linux /srv
8307 Linux ARM32 root (/) 8308 Linux dm-crypt
8309 Linux LUKS 830a Linux IA-64 root (/)
830b Linux x86 root verity 830c Linux x86-64 root verity
830d Linux ARM32 root verity 830e Linux ARM64 root verity
830f Linux IA-64 root verity 8310 Linux /var
8311 Linux /var/tmp 8312 Linux user's home
8313 Linux x86 /usr 8314 Linux x86-64 /usr
8315 Linux ARM32 /usr 8316 Linux ARM64 /usr
8317 Linux IA-64 /usr 8318 Linux x86 /usr verity
8319 Linux x86-64 /usr verity 831a Linux ARM32 /usr verity
831b Linux ARM64 /usr verity 831c Linux IA-64 /usr verity
8400 Intel Rapid Start 8500 Container Linux /usr
8501 Container Linux resizable rootfs 8502 Container Linux /OEM customization
8503 Container Linux root on RAID 8e00 Linux LVM
a000 Android bootloader a001 Android bootloader 2
a002 Android boot 1 a003 Android recovery 1
a004 Android misc a005 Android metadata
a006 Android system 1 a007 Android cache
a008 Android data a009 Android persistent
a00a Android factory a00b Android fastboot/tertiary
a00c Android OEM a00d Android vendor
a00e Android config a00f Android factory (alt)
a010 Android meta a011 Android EXT
a012 Android SBL1 a013 Android SBL2
a014 Android SBL3 a015 Android APPSBL
a016 Android QSEE/tz a017 Android QHEE/hyp
a018 Android RPM a019 Android WDOG debug/sdi
a01a Android DDR a01b Android CDT
a01c Android RAM dump a01d Android SEC
a01e Android PMIC a01f Android misc 1
a020 Android misc 2 a021 Android device info
a022 Android APDP a023 Android MSADP
a024 Android DPO a025 Android recovery 2
a026 Android persist a027 Android modem ST1
a028 Android modem ST2 a029 Android FSC
a02a Android FSG 1 a02b Android FSG 2
a02c Android SSD a02d Android keystore
a02e Android encrypt a02f Android EKSST
a030 Android RCT a031 Android spare1
a032 Android spare2 a033 Android spare3
a034 Android spare4 a035 Android raw resources
a036 Android boot 2 a037 Android FOTA
a038 Android system 2 a039 Android cache
a03a Android user data a03b LG (Android) advanced flasher
a03c Android PG1FS a03d Android PG2FS
a03e Android board info a03f Android MFG
a040 Android limits a200 Atari TOS basic data
a500 FreeBSD disklabel a501 FreeBSD boot
a502 FreeBSD swap a503 FreeBSD UFS
a504 FreeBSD ZFS a505 FreeBSD Vinum/RAID
a580 Midnight BSD data a581 Midnight BSD boot
a582 Midnight BSD swap a583 Midnight BSD UFS
a584 Midnight BSD ZFS a585 Midnight BSD Vinum
a600 OpenBSD disklabel a800 Apple UFS
a901 NetBSD swap a902 NetBSD FFS
a903 NetBSD LFS a904 NetBSD concatenated
a905 NetBSD encrypted a906 NetBSD RAID
ab00 Recovery HD af00 Apple HFS/HFS+
af01 Apple RAID af02 Apple RAID offline
af03 Apple label af04 AppleTV recovery
af05 Apple Core Storage af06 Apple SoftRAID Status
af07 Apple SoftRAID Scratch af08 Apple SoftRAID Volume
af09 Apple SoftRAID Cache af0a Apple APFS
b300 QNX6 Power-Safe bc00 Acronis Secure Zone
be00 Solaris boot bf00 Solaris root
bf01 Solaris /usr & Mac ZFS bf02 Solaris swap
bf03 Solaris backup bf04 Solaris /var
bf05 Solaris /home bf06 Solaris alternate sector
bf07 Solaris Reserved 1 bf08 Solaris Reserved 2
bf09 Solaris Reserved 3 bf0a Solaris Reserved 4
bf0b Solaris Reserved 5 c001 HP-UX data
c002 HP-UX service e100 ONIE boot
e101 ONIE config e900 Veracrypt data
ea00 XBOOTLDR partition eb00 Haiku BFS
ed00 Sony system partition ed01 Lenovo system partition
ef00 EFI system partition ef01 MBR partition scheme
ef02 BIOS boot partition f800 Ceph OSD
f801 Ceph dm-crypt OSD f802 Ceph journal
f803 Ceph dm-crypt journal f804 Ceph disk in creation
f805 Ceph dm-crypt disk in creation f806 Ceph block
f807 Ceph block DB f808 Ceph block write-ahead log
f809 Ceph lockbox for dm-crypt keys f80a Ceph multipath OSD
f80b Ceph multipath journal f80c Ceph multipath block 1
f80d Ceph multipath block 2 f80e Ceph multipath block DB
f80f Ceph multipath block write-ahead l f810 Ceph dm-crypt block
f811 Ceph dm-crypt block DB f812 Ceph dm-crypt block write-ahead lo
f813 Ceph dm-crypt LUKS journal f814 Ceph dm-crypt LUKS block
f815 Ceph dm-crypt LUKS block DB f816 Ceph dm-crypt LUKS block write-ahe
f817 Ceph dm-crypt LUKS OSD fb00 VMWare VMFS
fb01 VMWare reserved fc00 VMWare kcore crash protection
fd00 Linux RAID
user@debian:~$
...
*** End of Dlcument ***
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk