[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ONLY lsblk worked Re: How to _display_ disk partition info?



On 8/11/25 8:42 AM, Ming Kuang wrote:
On Mon, Aug 11, 2025 at 08:30:09AM -0500, Richard Owlett wrote:
I run Debian 12.8 with MATE.
I'm prepping to to do needed housekeeping prior to Trixie install.
Current disk partitioning is *UGLY*!

GParted displays desired information.
*HOWEVER* I need something that facilitates doing a copy-n-paste of the
information to a straight text document.

What is the recommended procedure?

I plead the 5th on what I tried.

TIA

I would recommend using fdisk -l and lsblk.


ONLY lsblk worked at all. I'll want a tweaked -o option.

The others gave

richard@debian12:~$ parted
bash: parted: command not found
richard@debian12:~$ sfdisk
bash: sfdisk: command not found
richard@debian12:~$ fdisk -l
bash: fdisk: command not found
richard@debian12:~$ su
Password: root@debian12:/home/richard# parted
bash: parted: command not found
root@debian12:/home/richard# sfdisk
bash: sfdisk: command not found
root@debian12:/home/richard# fdisk -l
bash: fdisk: command not found
root@debian12:/home/richard#


Reply to: