Re: can not access my disk with cfdisk

2004-06-01 Thread Silvan
On Monday 31 May 2004 11:52 am, LeVA wrote:

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

I don't know what your problem is either, but if you post the output of

sfdisk -d /dev/[whatever]

we'll look at it and see if we can suggest anything.

-- 
Michael McIntyre     Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can not access my disk with cfdisk

2004-05-31 Thread Kent West
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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can not access my disk with cfdisk

2004-05-31 Thread LeVA
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


-- 
LeVA



pgpVOEfHvWvvq.pgp
Description: signature


Re: can not access my disk with cfdisk

2004-05-31 Thread Pigeon
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

-- 
Pigeon

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


pgpOKyjqdbauQ.pgp
Description: PGP signature


Re: can not access my disk with cfdisk

2004-05-31 Thread Bernd Schubert
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.

Cheers,
Bernd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can not access my disk with cfdisk

2004-05-31 Thread Kent West
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.
--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



can not access my disk with cfdisk

2004-05-31 Thread LeVA
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


-- 
LeVA



pgpkzo8nsJL1Q.pgp
Description: signature