Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-24-2003, 03:10 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: red hat 9
Posts: 3

Rep: Reputation: 0
Question Remove Windows Partition

hey everybody,

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

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:
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:
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.

Old 08-24-2003, 03:13 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove GRUB from windows partition boot record Krun Linux - Newbie 3 09-13-2007 04:51 PM
how to remove extended windows partition using cfdisk? Maidros Debian 4 08-08-2004 07:44 AM
Remove Windows XP partition onda2 Linux - Software 2 07-06-2004 01:34 PM
How to remove windows partition and incorporate the free space into linux? Ragnaar Mandriva 7 02-17-2004 06:57 PM
remove just the windows partition? badger13 Linux - Newbie 2 10-16-2002 01:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration