LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2020, 01:57 PM   #1
ddann
LQ Newbie
 
Registered: Jan 2020
Posts: 7

Rep: Reputation: Disabled
/sbin/fdisk not fully functional


I'm using Debian LXDE and having trouble with fdisk command.

The only option that seems to work is -v. fdisk -l returns blank. (note: I am using "l", pronounced "el", not 1 - "one") BTW, the version is 2.17.2

option -b returns the same as -h. "-b -l" also returns help.

If I can't find the sectors this way, can I glean them from the file manager description?: /media/70A0E115A0E0E298
 
Old 01-30-2020, 03:44 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You mean partitions, not sectors, right? You can see partitions with the command lsblk, or ls /sys/class/block.

I don't know Debian too well; perhaps that is the normal behaviour of Debian fdisk. Or try reinstalling fdisk.
 
Old 01-30-2020, 03:50 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
I don't do Debian, but on Fedora you need sudo to use fdisk.
 
Old 01-30-2020, 04:00 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,494
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Quote:
Originally Posted by syg00 View Post
I don't do Debian, but on Fedora you need sudo to use fdisk.
I think that's a general rule.
 
Old 01-30-2020, 05:07 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Never used to be - I got quite pissed off when Fedora changed. Was a while ago tho'.
 
Old 01-31-2020, 04:16 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,494
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
I just tried it in Slackware. Permission refused. /dev/sda belongs to root:disk and I'm not a member of the disk group.
 
Old 01-31-2020, 06:56 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,439

Rep: Reputation: Disabled
Use sudo, it is stored in /sbin, therefore a root user command.

(man fdisk)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub bootloader not fully functional atozread Linux - Newbie 3 12-07-2012 11:35 AM
Network drives of my office laptop not fully functional from my home salmanmanekia Linux - Newbie 1 01-24-2011 06:08 AM
new sound card not fully functional ? glenn69 Linux - Newbie 1 12-18-2007 08:20 PM
Fully functional, but does not connect. Cyran Linux - Wireless Networking 5 09-18-2006 07:08 AM
Terminal is not fully functional Jerry Only Ubuntu 1 02-02-2006 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration