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

Re: can not access my disk with cfdisk

On Mon, May 31, 2004 at 10:45:51AM +0200, 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?

If you're trying to repartition it, and don't care about losing what's
already on it:

dd if=/dev/zero of=/dev/hde bs=512 count=1


Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpZHFPMCB1Hd.pgp
Description: PGP signature

Reply to: