View Full Version : Hard drive partitioning
quelquechose
08-22-2003, 02:08 PM
I have one hard drive partitioned into C and D. How can I unpartition (That is, only have C listed)?
Q.E.D.
08-22-2003, 02:18 PM
How attached to your data are you? If you intend to keep it, you'll need a product like Partition Magic which can add and remove drive partitions while saving your data. It costs about $50. If you don't care about your data, or have it backed up and don't mind reinstalling your OS, you can use FDISK from a boot diskette to repartition your drive.
quelquechose
08-22-2003, 02:25 PM
How attached to your data are you?
I wouldn't mind losing data on the D partition. Would unpartitioning essentially format the disc?
I will probably be formatting it at some point in the future, so data loss isn't a huge problem.
quelquechose
08-22-2003, 02:32 PM
If you don't care about your data, or have it backed up and don't mind reinstalling your OS, you can use FDISK from a boot diskette to repartition your drive.
How exactly would I do this? Step-by Step instructions would be helpful.
Q.E.D.
08-22-2003, 02:37 PM
What OS are you using? I can't be too specific without knowing, but basically you make a boot diskette and copy FDISK.COM to it. Shut down your PC and restart it with the boot disk in the A: drive, then follow these instructions (http://www.newlogic.co.uk/kbase/fdisk/page2.htm). This is assumming a Windows-based OS. Macs, I can't help with.
quelquechose
08-22-2003, 02:47 PM
I'm using Windows 98 right now. How do I create a boot disk? (I assume I can't just copy the file to the disk.)
badmana
08-22-2003, 03:01 PM
You will lose data on both partitions as you have to delete all partition information and then recombine the drive into 1 large one.
Fdisk is fairly simple to use, delete partitions (from logical, extended etc) then make a new partition using 100% of the available space.
Maybe Q.E.D. will post specifics, I'm too lazy and haven't touched fdisk in ages.
badmana
08-22-2003, 03:04 PM
The quick way to make a boot disk is simply go to your command prompt and type "format a: /s" without the quotes.
Win98 also has a "book disk" maker somewhere in it.
Copy fdisk.com and then book on the disk.
You will get only your command prompt, then from there start up fdisk and start deleting your partitions. After, you will need to format the C: partition and then start reloading the OS.
Jake4
08-22-2003, 03:11 PM
Haven't used Win98 in a while, but this should help:
Open an MSDOS Prompt window.
Type: format /?
Should give you the format options. I believe "format a: /s" may be the command to format the floppy and copy the system files needed to make it bootable.
Fdisk is a program w/lots of potential for loss of data, though, so read up. You should back up your important data whenever you mess with partitions. I recommend buying Partition Magic. It's listed as $70 but you can find it for probably half that.
gazpacho
08-22-2003, 03:24 PM
You should also make sure you really have the stuff to reinstall the operating system. A lot of computers do not come with the windows installation CD they come with recovery disks. These may or may not allow you to install the operating system. It behooves you to find out before you format the drive not after.
quelquechose
08-22-2003, 03:26 PM
Where can I get fdisk.com? Is there a place I can download it?
Q.E.D.
08-22-2003, 03:32 PM
FDISK.COM should be on your drive. It's been a while since I've used Win98, but if I recall, it's in the C:\windows\command folder. If not, just use Start menu > Find to search it out.
quelquechose
08-22-2003, 03:37 PM
You should also make sure you really have the stuff to reinstall the operating system.
I've done it once before, so it shouldn't be a problem.
Also, I cannot find fdisk.com. I checked c:\windows\command\ and tried find. However, I did find fdisk.exe, will that work?
Q.E.D.
08-22-2003, 03:42 PM
Yes. I was probably thinking of FORMAT.COM, and confused the extension. Or maybe Microsoft changed to a .exe extension for it. In any case, that's the thing you want.
Belrix
08-22-2003, 04:32 PM
To emphasize, using fdisk to repartition your drive will make both partitions unusable. You'll to reinstall everything from both your C: & D: "drives".
fdisk is used to manage partions, format is used to make those partions usable.
Use fdisk to delete the partitions, then create a new primary parition that covers the entire disk. This is not a user-friendly experience.
Once that partition has been created, format it, then reinstall Windows & all your stuff. IIRC, if you can boot to your CD, then booting to your Windows 98 CD and letting it setup your C drive will let you skip the formatting step.
Partition magic will let you delete the D: partion and expand the the C: partition to the whole disk and retain your existing data. There's Linux tools that do this, too, if you have a Geek friend. Those tools are free.
handy
08-22-2003, 05:08 PM
When you make a startup disk, it has all you need on it, fdisk, format, etc. Frankly you'd be better off using an old version of Partition magic or one that fits your OS.
fdisk is pretty risky if you don't know what youre doing. Try searching for 'partition' at download. com & see what you get.
Q.E.D.
08-22-2003, 05:34 PM
Originally posted by handy
When you make a startup disk, it has all you need on it, fdisk, format, etc. This is wrong. A system disk made with an OS up to and including Win98 has exactly 3 files on it: IO.SYS, MSDOS.SYS and COMMAND.COM. Anything else you want on it, you need to copy yourself.
engineer_comp_geek
08-22-2003, 06:19 PM
I think he's talking about making a startup disk, using the Windows utility to do so, not just the sys command which only puts the 3 files (plus the boot sector) on it.
I never liked the boot disks that windows makes. I always start off with just the sys command, which leaves you with a disk just as QED described. Then I put the following files on it:
Directory of A:\
05/11/1998 07:01p 93,880 COMMAND.COM
05/11/1998 07:01p 69,902 EDIT.COM
05/11/1998 07:01p 10,790 EDIT.HLP
05/11/1998 07:01p 63,900 FDISK.EXE
02/26/1997 01:55a 16,547 MTMCDAI.SYS
02/23/1995 01:20a 5,449 MTMCDAI.386
07/11/1995 09:50a 25,473 MSCDEX.EXE
11/18/2000 01:05p 28 AUTOEXEC.BAT
05/11/1998 07:01p 49,575 FORMAT.COM
05/11/1998 07:01p 18,967 SYS.COM
11/18/2000 01:01p <DIR> cd
05/11/1998 07:01p 3,878 XCOPY.EXE
11/17/2001 01:10p 51 CONFIG.SYS
05/11/1998 07:01p 3,878 XCOPY32.EXE
05/11/1998 07:01p 41,472 XCOPY32.MOD
14 File(s) 403,790 bytes
1 Dir(s) 620,544 bytes free
This is basically just a boot disk with FDISK, FORMAT, SYS, EDIT, XCOPY, and a fairly generic IDE CD ROM driver on it. If you don't set the disk up with a dos mode CD rom driver, then you have to have a computer capable of booting from CD and also you have to have a bootable CD to install your OS from. There are many versions of windows which do not ship with a bootable CD.
Whenever I install 98, I use XCOPY to copy the install files (everything in the win98 directory and all of its subdirectories) over to the hard drive, then remove the CD and run the setup from there. The advantage of this is that when you install new hardware or change things around, windows looks on the hard drive instead of asking you for the CD, which by then I've shoved into a stack with about a million other CDs and can't remember exactly which version of 98 went with which computer, etc. The disadvantage of course is that you use up a bunch of hard drive space to hold all of the files from the CD.
Q.E.D.
08-22-2003, 06:33 PM
Originally posted by engineer_comp_geek
I think he's talking about making a startup disk, using the Windows utility to do so, not just the sys command which only puts the 3 files (plus the boot sector) on it. Ah, that could be. I hardly ever used that either. I have a batch file that I can run to make my boot disks, which I vastly prefer.
Jake4
08-22-2003, 07:34 PM
Care to share, Q.E.D.?
Q.E.D.
08-22-2003, 07:48 PM
Sure thing:
%echo off
echo "Insert diskette in Drive A: and press <enter>"
pause
sys a:
copy c:\AUTOEXEC.BAT a:
copy c:\CONFIG.SYS a:
copy c:\windows\command\FDISK.EXE a:
copy c:\windows\command\FORMAT.COM a:
copy c:\windows\command\EDIT.COM a:
copy c:\windows\command\EDIT.HLP a:
copy c:\windows\command\MTMCDAI.SYS a:
copy c:\windows\command\MTMCDAI.386 a:
copy c:\windows\command\MSCDEX.EXE a:
copy c:\windows\command\SYS.COM a:
copy c:\windows\command\XCOPY.EXE a:
copy c:\windows\command\XCOPY32.EXE a:
copy c:\windows\command\XCOPY32.MOD a:
Copy and paste this into a text file and save it as SYSDISK.BAT. If these files reside in a different folder on your drive, you'll need to modify the batch file appropriately. If you are missing a file, simply delete the line that calls for it, or try to locate the file online with Google.
Duckster
08-22-2003, 08:27 PM
Bootdisk.com (http://www.bootdisk.com/) is an excellent site for finding/making boot disks for various O/Ss. It also has quite a few utilities, and self-help guides.
Caveat! - In reading your OP, the various responses from others, followed by your additional posts, you would do well to proceed slowly and do your homework before you attempt anything in your OP. The failure to have all the necessary original software, additional tools and utilities, a correct boot disk, and a thorough understanding of what you are about to do, may cause you to permanently lose data, as well as the ability to rebuild your computer's operating system and applications.
In short, expand upon the old carpenter's rule - measure twice and cut once.
commasense
08-22-2003, 09:25 PM
IMO, you would be a lot better off to use Partition Magic. It's a truly painless experience, unlike reinstalling your OS and all your apps. Don't forget that even if your WP docs and other obvious data are on the D: drive, your e-mail and other important data may be on the C: drive. Have you customized Word with styles, macros, a custom dictionary? That's all in normal.dot, probably on the C: drive. Your IE favorites list? C:\Documents and Settings. You could lose a lot more data than you expect.
Reformatting your primary partition and reinstalling your OS and apps is a major undertaking. You'll have to track down and reinstall device drivers, update your apps. etc. etc. etc. It could take a couple of 8-hour days, or more, if you have a lot of apps.
On the other hand, backing up your data from D:, installing Partition Magic, repartitioning, and restoring your data to the resized C: drive can easily be done in a couple of hours.
The advice these guys have been giving you is technically fine, but it may not be your best option if you just want to combine the partitions and get back to work.
A good free utility for partition changes is Presizer (http://zeleps.com/) ("Partition Resizer".) I have used it many times over the years and it seems stable. (I have seen real problems using the MS-Windows version of the Linux-origin fips utility.)
The simple method is this:
1. Copy everything you want from D: to C:
2. Use Presizer (or even fdisk) to remove the D: partition.
3. Use Presizer to expand the C: partition to fill the whole disk.
(By the way: there is an important step 0: back up everything. But you already know that and so I'm wasting my time mentioning this. Right? I said, right? Good.)
If there isn't enough room for all the stuff on D: you want to copy, then you have to cycle. Copy some to C: until it gets fullish, shrink D:, grow C:, lather rinse repeat until D: is all empty. At this point you start thinking: "Hey, copying all this stuff to CD-Rs starts looking easier." Good.
Partition Magic has an option to make all of D: a subdirectory on C: while combining partitions. That makes things a bit simpler but for a few $.
A big note: If an application lives on D:, then there are links all over the place to it and it's files for D:. Once copied to C: those links are now invalid. Partition Magic can help fix those up but it is very much not perfect in this regard. (I actually find it easier to to do by hand: editing the registry. You may now groan.)
I go around changing partition stuff all the time. Fun stuff. Novices might not enjoy the process in the least.
Now let me tell you about the time I bin-edited a partition table that fips had messed up...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.