LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2003, 02:04 PM   #1
lucyharley
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
Partition problem


In preparation for a class in SCO openserver, I installed a red hat linux program from a former class I took in Linux (the CD came with a Thompson Learning book by Dent & Gaddis). I installed this on a Windows machine, and deleted all partitions on the hd. Now I want to get rid of red hat and reinstall windows only on one large partition. The red hat program has many errors and will not boot up correctly, and I'm not interested in fixing it. Fdisk will not allow me to remove any of the partitions. I have two partitions, one small primary DOS partition that is using 1% of disk space. The other is an extended DOS partition using 99%. The active partition is the small one. I assume that these were created by the red hat install, since I deleted all partitions prior to installation. When I tried to delete the extended DOS partition, Fdisk refused to saying that it can't while logical drives exist. When I try to delete logical disks it says that they don't exist! When I try to show logical disks Fdisk says they are not named. When I try to delete the primary DOS partition, it says I have to delete the extended DOS partition first. Now is this being sucked into a worm hole, or what? The only remedy that I can think of is to use Partition Magic or something. Any suggestions short of PM or any ideas about whether PM might work or some sort of shareware? Thanks so much!
 
Old 02-17-2003, 02:13 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
I had this problem before. The fdisk Microsoft uses doesn't handle linux partitions at all....its a pain.

What you need to do is get a linux boot disk (or a rescue disk...either/or) and make sure something like diskdruid or cfdisk is on it...

Use that instead of microsoft's fdisk to delete the linux partitions and once that's done you can use microsoft's fdisk to re-allocate anyway you want.

(Although Partition Magic will do the job nicely IF you have it hehe).

Last edited by tcaptain; 02-17-2003 at 02:15 PM.
 
Old 02-17-2003, 02:17 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Quote:
Fdisk will not allow me to remove any of the partitions. I have two partitions, one small primary DOS partition that is using 1% of disk space. The other is an extended DOS partition using 99%. The active partition is the small one. I assume that these were created by the red hat install, since I deleted all partitions prior to installation.
Who's fdisk are you using? If it is Linux's fdisk the first thing I would do would be to just boot up with the Windows installation disk and when it installs, it will be only too happy to erase the old Linux installation and take over the whole disk. If you are already trying to use the MSDOS fdisk, then that would be strange and I'm not sure how you handle confront this problem. Especially since Windows uses its own fdisk in the automatic installation process.
 
Old 02-17-2003, 02:19 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
non dos partition

A few suggestions:
The later versions of the DOS fdisk have an option where you can delete non-dos partitions that might work.

If your installation CD disk has a rescue mode you can use the linux fdisk to delete the linux partitions.

Use this bootdisk http://www.toms.net/rb/ to boot and use linux fdisk delete the linux partitions.
 
Old 02-18-2003, 03:10 PM   #5
lucyharley
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you all for your help. I finally found a nice person who used Partition Magic to get rid of the partitions and now I have one large partition to install Win. It would not work to install Windows (but perhaps Win XP could since it does some partitioning). Using Linux's own fdisk might have worked, but I couldn't boot up with the CD because CMOS only allowed a C,A or A,C sequence. My linux rescue disk wouldn't work either-maybe because this was only a training program and it didn't have all of the usual utilities.
 
Old 02-18-2003, 03:18 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
How to Remove Linux and Install Windows

Ranish Partition Manager

Last edited by fancypiper; 02-18-2003 at 03:20 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 07:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 06:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
partition problem!! maseby Red Hat 3 06-10-2004 09:43 PM
What the... ??? (RH 7.3 Partition Problem) zeky Linux - General 7 07-24-2002 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:34 PM.

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