Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to install Fedora 20 along already installed Windows 8.1 on my notebook. I found a good how-to on Techotopia, however, the installer for Fedora 20 looks completely different, is simpler (cough more cough stupid cough), and doesn't offer the partition shrink. So I'm looking for a best way how to do it without destroying my Windows (since they came with the notebook and I can't re-install).

I think that once I manage to shrink the partition and create enough empty space on the disk, the Fedora installer will be happy, but I don't know how to do it.

share|improve this question
add comment

3 Answers 3

up vote 2 down vote accepted

I advise you boot to Windows. From within windows, first back up your data.

Next defragment the hard drive.

Then, from within windows, resize you windows partition. Leave free space uppartitioned.

enter image description here

Boot Fedora and run the installer, install into the free space.

From the Ubuntu Forums post:

  1. disable pagefile: Control Panel -> System and Security -> System -> Advanced system settings -> Advanced tab -> [Performance] Settings... -> Advanced tab -> [Virtual memory] Change... -> uncheck Automatically manage paging file size for all drives -> select No paging file -> Set -> Yes -> OK...

  2. disable hibernation file (hiberfil.sys): lower left corner rt click -> Command Prompt (Admin) -> powercfg /h off ["powercfg /h on" to turn it back on]

  3. disable system restore: Control Panel -> System and Security -> System -> System protection -> select Local Disk (C:)(System) -> Configure... -> Disable system protection

  4. disable writing debugging information: Control Panel -> System and Security -> System -> Advanced system settings -> Advanced tab -> [Startup and Recovery] Settings -> change Write debugging information from Automatic memory dump to none

  5. disk cleanup: Control Panel -> System and Security -> Free up disk space [at bottom] -> check everything -> OK

  6. reboot

  7. defragment: Control Panel -> System and Security -> Defragment and optimize your drives [under Administrative Tools]

  8. reboot

  9. shrink Windows partition to ~100GB with Disk Management

  10. reenable pagefile, hibernation file, system restore, and debugging info

share|improve this answer
1  
Can windows resize the partition it is currently running from? –  terdon Dec 27 '13 at 17:21
1  
Yes, see tweakhound.com/2013/01/02/… IMO this method is much less error prone. –  bodhi.zazen Dec 27 '13 at 18:29
    
Cool! Could you add some info to your answer explaining how it can be done? –  terdon Dec 27 '13 at 18:32
    
Managed to use it. However, I had to use a how-to on ubuntuforums by parminides about disabling all unmovable stuff on the disk, to allow significant shrink. –  tohecz Dec 27 '13 at 19:36
add comment

I find it very hard to believe that the Fedora installer does not offer this option. In fact, according to this it does. It is probably hidden in an "Advanced" tab somewhere, look around for "Manual partitioning" or similar.

Another option would be to resize your partition using something like PartedMagic which will allow you to boot into a live session and resize your Windows partition there. Once you have shrunk your Windows partition, reboot and load the Fedora installer again.

I have done this and similar things many times and have never had a problem, nevertheless, whenever you resize partitions you should always make sure you have a recent backup of your important data.

share|improve this answer
    
The fedora installer does not give the option to resize partitions, you have to resize prior to running the installer. –  bodhi.zazen Dec 27 '13 at 17:19
    
@bodhi.zazen are you sure? That seems extremely strange and according to this it does. –  terdon Dec 27 '13 at 17:20
    
According to the fedora 20 install guide it does not docs.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/… I would resize the windows partition from within windows. –  bodhi.zazen Dec 27 '13 at 18:23
    
@bodhi.zazen I ask again, can Windows actually do that? How can it resize a mounted partition that the system is currently using? Anyway the docs are misleading, the OP found the same option as in the link I gave in my previous comment so the installer can resize partitions. –  terdon Dec 27 '13 at 18:25
2  
@tohecz glad you could get it to work, don't apologize, you should accept whichever answer best solves your problem! –  terdon Dec 27 '13 at 23:34
show 3 more comments

After I shrunk the volume in Windows by a disappointing amount, the option to shrink the volume in the Fedora 20 installer became available allowing me to shrink it down by much more.

Shrink the volume in Windows
1. Boot into Windows
2. Go to "Disk Management"
    a. Right click "Computer" from the desktop or Start Menu
    b. Click on "Manage"
    c. On the left pane, click on "Disk Management"
3. Shrink your Windows volume
    a. Right click on the volume "OS (C:)" in the top or bottom pane
    b. Click on "Shrink Volume..."
    c. Enter the amount you want to shrink the volume by
        i. If you are allowed to shrink it by the desired amount, congratulations, you're almost done
        ii. If not, leave the value alone and we will shrink it down further later
    d. Click the "Shrink" button

Shrink the volume again in the Fedora installer
By shrinking the volume first in Windows, this seems to allow the Fedora installer to shrink the volume, too. If you weren't able to shrink the Windows volume down enough, you should be able to shrink it further here.

On my 256 GB hard drive, Windows' Disk Management allowed me to shrink the Windows volume down to 125 GB. Afterwards, the Fedora installer allowed me to take it down to as low as 25 GB if I wanted to. I decided on leaving Windows with 80 GB.

After I booted into Windows again, it performed a disk check and then everything was fine. Funnily enough, at this point Windows' Disk Management also allowed me to shrink the volume down to 25 GB if I wanted to.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Ramesh Jul 4 at 1:39
    
Sorry, I was trying to be succinct. –  Mario Lopez Jul 4 at 16:26
    
+1 . Welcome to U & L SE :) Thanks for providing more details to your answer. :) This will definitely help someone in the future. –  Ramesh Jul 4 at 16:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.