LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove Windows Partition (https://www.linuxquestions.org/questions/linux-newbie-8/remove-windows-partition-85225/)

TekniDude 08-24-2003 03:10 PM

Remove Windows Partition
 
hey everybody,

I got a question and am not totally sure of how to do this correctly... :study:

I originally had a 40 gig drive with Windows2k on it,
I turned it into a dual boot with Red Hat 9.
Everything is working perfectly,
but the only thing is that I dont use windows on this computer anymore and want to totally remove the windows partitions and give the space to linux.

I'm using grub for the boot loading.

this is from fdisk:
Quote:

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 3442 7164990 7 HPFS/NTFS
/dev/hda3 3443 3455 104422+ 83 Linux
/dev/hda4 3456 4865 11325825 f Win95 Ext'd (LBA)
/dev/hda5 3456 4841 11133013+ 83 Linux
/dev/hda6 4842 4865 192748+ 82 Linux swap
and this is from df -aT:
Quote:

Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/hda5 ext3 10958172 3728140 6673384 36% /
none proc 0 0 0 - /proc
usbdevfs usbdevfs 0 0 0 - /proc/bus/usb
/dev/hda3 ext3 101107 34230 61656 36% /boot
none devpts 0 0 0 - /dev/pts
none tmpfs 46852 0 46852 0% /dev/shm
I just dont want to delete the windows partitions and not have it boot up.

If anybody could lend me a hand that would be great.

Thanks,
-Jason

david_ross 08-24-2003 03:13 PM

Welcome to LQ.

You don't ned to remove the partition. Just use "mkfs" to create a linux filesystem on it.

For more info:
man mkfs

If you have any problems don't hesitate to ask.


All times are GMT -5. The time now is 08:50 AM.