LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reclaiming Linux drive space for windows (https://www.linuxquestions.org/questions/linux-newbie-8/reclaiming-linux-drive-space-for-windows-253923/)

sleeves 11-12-2004 02:27 AM

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.

linux_terror 11-12-2004 02:57 AM

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

sleeves 11-12-2004 04:01 AM

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!

linux_terror 11-12-2004 04:40 AM

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

sleeves 11-12-2004 05:07 AM

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!

sleeves 11-13-2004 03:32 PM

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.

linux_terror 11-13-2004 03:46 PM

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

michaelk 11-13-2004 03:48 PM

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.

sleeves 11-14-2004 01:20 AM

I'll try those last 2 suggestions, hopefully they work. Thanks a lot, everybody!

Banyon 11-14-2004 01:52 AM

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.

nuka_t 11-14-2004 02:16 AM

instead of making a new partition, just resize the current windows one.

scuzzman 11-14-2004 06:21 AM

2 words:

Knoppix
qtparted

linux_terror 11-14-2004 04:04 PM

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


All times are GMT -5. The time now is 05:41 AM.