You will want to use the delpart.exe util from a MS bootdisk to delete your linux partitions. Go here: http://www.russelltexas.com/delpart.htm for information on this utility. After deleteing the Linux partitions, boot again from the MS bootdisk and run the dos command fdisk /mbr to fix your master boot record. Reboot again without the MS bootdisk and you should just have Windows on your machine with alot of empty space for a new partition. As always, please back up any important data before running delpart.exe Make sure you know exactly which partition(s) are your Linux partions, maybe run the Linux fdisk to see which ones are ext2,3 or swap, etc before running delpart.
But then again, if your Linux install is still running do this: 1. make a MS Windows bootdisk 2. reboot into Linxu and run the linux fdisk 3. delete the partitions right our from under the running install of Linux (you have to be root to do this). 4. Reboot from the MS Windows bootdisk and run the dos command fdisk /mbr to erase the Linux boot loader and repair the master boot record. Please save your data, I've last data before and it is a real drag! Thane On Mon, 2003-11-17 at 19:02, Jeffrey B Brinkerhoff wrote: > Hello everyone, > > A year ago, I partitioned my computer and put Red Hat on my laptop along with > the Windows 98 that was already on it. Well, I didn't know that Red Hat needed a > lot of RAM and hard drive space to operate normally. I have a Pentium (yes, > that's right, a PI) and I only have 128 RAM with a 6 gig hard drive which is > currently partitioned with Windows using 3 gigs and Red Hat using 3 gigs). > > I use Windows because Red Hat is so slow on my wimpy machine. With having said > all of that, is there a way to unpartition my hard drive and take Red Hat off? > > Thanks. > > ~Jeff~ > > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list > ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
