November 24, 2024, 02:19:57 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: partitioning hard disk  (Read 11172 times)

Offline shiva_godav_iiitm

  • New Member
  • Posts: 2
partitioning hard disk
« on: October 24, 2004, 04:47:45 AM »
hi  everyone
                     i deleted 10gb of ext dos partition usiing fdisk of win 98 ..........................................................now iam unable to format it again ..........................................................kindly guide me.........................................................................................

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
partitioning hard disk
« Reply #1 on: October 25, 2004, 05:31:20 AM »
To format ur harddisk, pop in the linux bootables cd of our choice. I will be giving u quite a standard method very for linux users.

WARNING: This will destroy ur whole harddisk's data. Make sure u have a backup of all ur works.

1. When u r in ur bootable cd mode and reach the shell,
    type "fdisk /dev/hda" and press enter into ur shell. "/dev/hda" is
    the primary harddisk of ur pc ( Assume hda is ur first harddisk.

U will see "/dev/hda1" and so on. the "1" means partition 1.

2. The next thing u will do is type "p" and press enter on the
    "Command (m for help):"

3. U will see all the partitions u have on ur disk.

4. To delete the partitions, type "d" and select the partition number u
    wanted.

5. To add a new partition, just type "n" and press enter.

6. To change partition type ( ext3/ fat32/....), type "t" and press enter and
     enter the partition id number.

7. To finalize and apply changes on ur partition, just type "w".

8. To make a dos file system. Type the following command in u shell:
     mkdosfs    

That's all. I assume u are a newbie with linux.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
partitioning hard disk
« Reply #2 on: October 25, 2004, 09:25:35 AM »
that's cool dragoncity..

but i have another advice..
If you have deleted extended dos partition then u must have primary dos partitoin remaining.. you can still create more partitions using fdisk of DOS.. to do so ..
Run.. fdisk from win 98. ..

or instead of formating it or if you are going to install linux on it then simply boot from linux installation cd and do installation and choose unallocated space for installation ! :)

hope that will also help u!
then create extended dos partition , then create logical partition in it.
then reboot..
and then format the newly created partitions.