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

RE: fdisk problems



> Hi Arun,
Hi all, i just want to give my point of vue here...
>
> 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.
Your problem is:
There can be only ONE extended partition on the same drive.
What you need to do is:
1/ delete all the linux stuff you just made.
2/ make your dos extended partition take the whole drive
3/ inthis extended partition, create a first logical drive for dos (same   
size as before, leave some room for linux)
4/ create you linux partitions in the dos extended one.

If you decide to delete and recreate the dos extended partition to make   
it bigger, then i advise you to go for this setup:
hda1 -dos primary
hda2 -linux root filesystem (lets say 150Mo)
hda3 -linux swap
hda4 -extended partition
hda5 -dos logical drive
hda6 -linux /usr filesystem
hda7 -linux /home filesystem
...

for this, you will need to delete your dos extended partition, start   
installing linux (create all the other partitions with linux fdisk).
Boot in linux, erase the first sectors of the dos partition (dd   
if=/dev/zero of=/dev/hdaXXX) (see fdisk man for the reason of this)
Then go back to dos and format your logical drive.


Hope this helps
pascal  
- --------------------------------------------------------------------
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.

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