[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: fdisk problems



On Thu, Aug 05, 1999 at 08:40:44AM +0530, Vinay BV wrote:
> Hi Arun,
> 
> The problem is that I did not get the extended partition option when I
> used "n" to create a new partition. I had to create a primary partition,
> then change the type to linux-extended and then create lofical drives in
> it. 
> But the total number of primary partitions (as I have mentioned before) is
> 4 (hda1,hda2,hda3,hda4), I've exhausted all of these as below:-
> hda1 - dos primary
> hda2 - dos extended
> hda3 - linux-native primary
> hda4 - linux-swap
> Now the total number of primary partitions that linux fdisk allows is 4,
> which I've finished. So I can't create one more primary partition and then
> change it to extended. 
> What I actually want to know is how to change the ID of the partitions
> (like I want to change the id of swap partition from hda4 to hda5 or
> hda6.)
> 

You can't change the id. However, you can do this: note down the start
and end cylinders of hda4. Delete hda4. Create an extended partition
hda4. Then create hda5 within hda4 and specify start and end cylinders
to be the same as the ones you noted down earlier.

	-Arun

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------