10.10: fdisk

Asked by peter

Hi

I would get the data of the Partition table and used fdisk.

In a terminal I entered "fdisk -l /dev/sda1". I got the message "Cannot open /dev/sda1". In the system monitor I have the file system /dev/sda1.

What do I have to do? Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnu-fdisk Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

try:

sudo fdisk -l /dev/sda

You use fdisk on disks, not partitions

Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) said :
#2

Hi peter,

sda1 is just the first partition of the disk

you have to run

fdisk -l /dev/sda

Also you might have to be root to run that:

sudo fdisk -l /dev/sda

HTH

Revision history for this message
peter (peter-neuweiler) said :
#3

Thanks, this solved the prblem.

But: man fdisk means: fdisk - Partition table manipulator for Linux.

Thanks.
Peter

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Yes, and where is the partition table held? On the disk.

Revision history for this message
peter (peter-neuweiler) said :
#5

Sure *l. Thanks.

Revision history for this message
Ganesh Yadav (yadavganeshd) said :
#6

Hi,

I have installed Ubuntu 10.10 on my desktop. It has worked fine for last 45 day but when today i want to boot my PC I was not able to start. It show the recovery mode, memory test etc etc. I tried all but it doesn't work. I am having some important data in it, how can i recover this data?? If i re-install will my data will be erased. Can somebody help please!!

Thanks & regards,
Ganesh