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

Re: can not access my disk with cfdisk



LeVA wrote:

2004. május 31. 14:31 dátummal Bernd Schubert ezt írta:
Kent West wrote:
LeVA wrote:
Hi!

I have a hard drive with two partitions. I can mount them, and can
read/write them. But when I type:
# cfdisk /dev/hde
FATAL ERROR: Bad primary partition 2: Partition begins after
end-of-disk Press any key to exit cfdisk

I get the above error message. How can fix the partition table?

Thanks!

Daniel
You might give 'fdisk' a try.
If that doesn't work, you will have to use sfdisk, it usually always
works, but is much more difficult to use than cfdisk or fdisk.

But what should I do with fdisk or sfdisk? I don't have any idea about howto fix this. I don't even know what is the problem. Anyone could help me out please?

Thanks!

Daniel


First, backup your drives if you want to keep the data.

I'm unfamiliar with sfdisk, but "man sfdisk" and "man fdisk" might be a good place to start.

For fdisk, start it with "fdisk /dev/hde", then press "p" to "print" (to the screen) the current partition table setup. "m" will give you the list of available commands. Beyond that, I'm not sure what it'll take to fix the issue.

--
Kent



Reply to: