LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-12-2004, 02:27 AM   #1
sleeves
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 7.2
Posts: 5

Rep: Reputation: 0
Reclaiming Linux drive space for windows


After doing some experimenting with Linux over a few months and using quite a few references to help I've determined that it's beyond me. However, since I gave about half of my hard drive to linux (and its drive format which is incompatible with windows) my computer thinks I only have half of the hard drive space that I really do have. Is there anybody out there that can help this linux traitor? Thanks.
 
Old 11-12-2004, 02:57 AM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
boot up to a windows command prompt and use fdisk to delete the linux partition(s) then create a new windows partition
where it was, and you should be able to see it as a new drive in My Computer, choose format and format it, now its a windows drive again.

cya,
linux_terror
 
Old 11-12-2004, 04:01 AM   #3
sleeves
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
I deleted the partition and fdisk shows my total hard drive space as 9531mb (the correct total). It lists my primary dos partition at 5522 mb and an extended dos partition at 251 mb (with the linux partition making up the difference, I'm guessing). However, when I try to add a partition after doing that it won't let me create a new primary or extended dos partition (I get the message "primary/secondary DOS partition already exists"). Can anyone figure out what I'm doing wrong?

Thanks!
 
Old 11-12-2004, 04:40 AM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
can you delete the extended partition? Im trying to remember but I think theres a way in fdisk to create a new partition inside the extended partitrion.

linux_terror
 
Old 11-12-2004, 05:07 AM   #5
sleeves
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
When I try to delete the extended partition I get the message "cannot delete extended DOS partition while logical drives exist." But then it tells me that there are no logical drives defined in the extended partition when I try to delete logical drives. Grr!
 
Old 11-13-2004, 03:32 PM   #6
sleeves
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
Since I can't get this method to work, is there a way that I can have linux installed and access the free space on the linux part of the hard drive through windows? I just don't want to have 1/2 my hard drive space sitting there doing nothing.
 
Old 11-13-2004, 03:46 PM   #7
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
you might try this, I have run into that problem before and its fdisk's fault. Try running through a linux install until you get to the formatting part and delete the extended partition with whatever linux partitioning software you are using, have it commit the partioning scheme to disk and exit the install. then make a new partition with fdisk.

linux_terror
 
Old 11-13-2004, 03:48 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
DOS fdisk has a delete non-dos partition option in the delete menu.

You can boot the Redhat CD and select rescue mode. Then use the linux fdisk to delete the offending partition.
 
Old 11-14-2004, 01:20 AM   #9
sleeves
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
I'll try those last 2 suggestions, hopefully they work. Thanks a lot, everybody!
 
Old 11-14-2004, 01:52 AM   #10
Banyon
Member
 
Registered: Nov 2004
Distribution: Ubuntu/Xubuntu
Posts: 37

Rep: Reputation: 15
Try boot magic maybe? It says it can alter ext2/ext3 partitions. Seems like one of the best windows partitioning programs I've ever used.
 
Old 11-14-2004, 02:16 AM   #11
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
instead of making a new partition, just resize the current windows one.
 
Old 11-14-2004, 06:21 AM   #12
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
2 words:

Knoppix
qtparted
 
Old 11-14-2004, 04:04 PM   #13
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Scuzz, i was going to sleep last night and for some reason i thought of this thread and bling! knoppix popped into my mind, just came on to post that knoppix would do the job....great minds lol. Get knoppix and follow scuzz's suggestion, it should work out beautifully for ya.

linux_terror
 
  


Reply


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
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Reclaiming a logical Windows partition Punjab Linux - Newbie 1 03-16-2004 02:44 PM
Reclaiming a hard drive Scottystr Linux - Newbie 10 11-05-2003 11:17 PM
How to use space on a windows drive for linux!!! Farem Linux - Newbie 13 06-23-2003 06:01 PM
reclaiming free space zhenwu Linux - General 3 11-17-2001 08:29 PM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration