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

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



On Mon, Aug 11, 2025 at 09:26:31AM -0500, Richard Owlett wrote:
> 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
You should use `su -` to switch to the root user to automatically load
the root user's profile.

If it still prompts command not found, you may need to install these
command first.

> > 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#
> > 
> 

Attachment: signature.asc
Description: PGP signature


Reply to: